Re: optimizing query - Mailing list pgsql-general

From Stephan Szabo
Subject Re: optimizing query
Date
Msg-id 20030123070120.Y11731-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: optimizing query  (Chantal Ackermann <chantal.ackermann@biomax.de>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fw: configure error with krb5
Next
From: Björn Metzdorf
Date:
Subject: Re: tsearch comments