From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Chantal Ackermann <chantal.ackermann@biomax.de>
Cc: pgsql-general@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: optimizing query
Date: Thu, 23 Jan 2003 07:05:28 -0800 (PST)
Message-ID: <20030123070120.Y11731-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3E2FB2D1.9020904@biomax.de>
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; ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, chantal.ackermann@biomax.de, pgsql-general@postgresql.org
Subject: Re: optimizing query
In-Reply-To: <20030123070120.Y11731-100000@megazone23.bigpanda.com>
References: <3E2FB2D1.9020904@biomax.de> <20030123070120.Y11731-100000@megazone23.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox