Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: select max(field) from table much faster with a group by clause?





--On torsdag, november 01, 2007 11.06.57 -0400 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

Palle Girgensohn <girgen(at)pingpong(dot)net> writes:
Unfortunately, altering statistics doesn't help. I see no difference
when  altering the value from 10 (default) to 100, 1000 or 100000. :-(

Um, you did re-ANALYZE the table after changing the setting?

alter table login alter userid SET statistics 1000;
vacuum analyze login;




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group