From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Seth Robertson <pgsql-performance@sysd.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres 7.3.1 poor insert/update/search performance
Date: Tue, 21 Jan 2003 13:46:17 -0800 (PST)
Message-ID: <20030121134242.Q84028-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <200301212120.h0LLKn820463@winwood.sysdetect.com>
On Tue, 21 Jan 2003, Seth Robertson wrote:
> The postgresql.conf file is default (my sysadmin nuked all of my
> changes when he upgraded to 7.3.1--grr) and there are some shared
> memory configs: kernel.sem = 250 32000 100 128, kernel.shmmax =
> 2147483648, kernel.shmmni = 100, kernel.shmmax = 134217728 The
> WAL is not seperated (but see below).
You almost certainly want to raise shared_buffers from the default (64?)
to say 1k-10k. I'm not sure how much that'll help but it should help
some.
> A "vacuum analyze" is performed between the write phase and the read
> phase. However, for your analysis pleasure, here are the results
> of a full verbose analyze and some explain results (both before and after).
BTW: what does explain analyze (rather than plain explain) show?
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, pgsql-performance@sysd.com
Subject: Re: Postgres 7.3.1 poor insert/update/search performance
In-Reply-To: <20030121134242.Q84028-100000@megazone23.bigpanda.com>
References: <200301212120.h0LLKn820463@winwood.sysdetect.com> <20030121134242.Q84028-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