Simon Riggs <si...@2ndquadrant.com> writes: > Solutions can also include > * manual mechanism for setting ndistinct that doesn't keep getting > overwritten by subsequent ANALYZEs
Hmm, that might actually be the most practical answer for large, reasonably-static tables. Especially if we expose the "negative stadistinct" feature to let people specify it as a fraction of table size. 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