Search Postgresql Archives

Re: How to inject knowledge into a Postgres database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



han.holl@xxxxxxxxxxxxxxxxxxxx writes:
> Is there a way to tell the planner to always prefer the dateofbirth index ?
> Alternatively, to inform it about the wildly uneven distribution of surnames 
> (this must be even worse in China).

Increase the statistics target for that column, and re-ANALYZE the
table.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux