"Vladimir Sitnikov" <sitnikov.vladi...@gmail.com> writes: > One more direction could be implementing "MCV" for range of values (group > values and interpolate in between). Consider statistics on timestamp column > that says that for "2008-December" there are as many X rows, for > "2008-November" as many as Y, etc. That could be used for rather accurate > cardinality estimation of "between" cases, while keeping number of entries > in "MCV" list small.
I think that would likely be redundant with the histogram. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers