Project

General

Profile

Actions

Refactor #10583

closed

Run .uniq in database instead of in memory when possible

Added by Tomer Brisker almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Many parts of the code select rows (or columns) from the database and then run uniq in memory.
In most places, uniq can be run in the database (using `SELECT DISTINCT`) thereby improving performance.

Actions

Also available in: Atom PDF