Re: optimizing query
От | Stephan Szabo |
---|---|
Тема | Re: optimizing query |
Дата | |
Msg-id | 20030123070120.Y11731-100000@megazone23.bigpanda.com обсуждение исходный текст |
Ответ на | Re: optimizing query (Chantal Ackermann <chantal.ackermann@biomax.de>) |
Список | pgsql-general |
On Thu, 23 Jan 2003, Chantal Ackermann wrote: > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Postgres Version: 7.3.1 > CPU: 1666.767 MHz > RAM: 2070492 kB > shmmax/shmall: 1048576000 > > postgresql.conf: > shared_buffers: 121600 > max_connections: 64 > max_fsm_relations = 200 > max_fsm_pages = 40000 > effective_cache_size = 8000 > > ******************************************************************** Hmm, how about how many pages are in the various tables, (do a vacuum verbose <table> for the various tables and what is sort_mem set to? It's picking the index scan to get the tables in sorted order, but I wonder if that's really the best plan given it's getting a large portion of the tables. Hmm, what does it do if you set enable_indexscan=off; ?
В списке pgsql-general по дате отправления: