From c58eb2dd7bbcd69da3093918780a00038319e75b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 2 Sep 2004 01:18:46 +0000 Subject: [PATCH] Add: > * Consider using hash buckets to do DISTINCT, rather than sorting > > This would be beneficial when there are few distinct values. --- doc/TODO | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/TODO b/doc/TODO index 60f0886f8a..11fab88c16 100644 --- a/doc/TODO +++ b/doc/TODO @@ -5,7 +5,7 @@ TODO list for PostgreSQL Bracketed items "[]" have more detail. Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) -Last updated: Mon Aug 30 12:08:12 EDT 2004 +Last updated: Wed Sep 1 21:18:44 EDT 2004 The most recent version of this document can be viewed at the PostgreSQL web site, http://www.PostgreSQL.org. @@ -802,6 +802,9 @@ Optimizer / Executor CHECK constraints contain information about the distribution of values within the table. This is also useful for implementing subtables where a tables content is distributed across several subtables. +* Consider using hash buckets to do DISTINCT, rather than sorting + + This would be beneficial when there are few distinct values. Miscellaneous