From: Dave Mertens <dave@redbull.zyprexia.com>
To: Hannu Krosing <hannu@tm.ee>
Cc: Dmitry Morozovsky <marck@rinet.ru>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Schmidt, Peter <peter.schmidt@prismedia.com>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
Date: Fri, 23 Feb 2001 12:21:32 +0000
Message-ID: <20010223122132.A1924@redbull.zyprexia.com> (raw)
In-Reply-To: <3A9644F1.9000303@tm.ee>
References: <Pine.BSF.4.21.0102182347290.16523-100000@woozle.rinet.ru>
<3A9644F1.9000303@tm.ee>
On Fri, Feb 23, 2001 at 01:09:37PM +0200, Hannu Krosing wrote:
> Dmitry Morozovsky wrote:
>
> > DM> I just done the experiment with increasing HZ to 1000 on my own machine
> > DM> (PII 374). Your test program reports 2 ms instead of 20. The other side
> > DM> of increasing HZ is surely more overhead to scheduler system. Anyway, it's
> > DM> a bit of data to dig into, I suppose ;-)
> > DM>
> > DM> Results for pgbench with 7.1b4: (BTW, machine is FreeBSD 4-stable on IBM
> > DM> DTLA IDE in ATA66 mode with tag queueing and soft updates turned on)
>
> Is this unmodified pgbench or has it Hiroshi tweaked behaviour of
> connecting each client to its own database, so that locking and such
> does not shade the possible benefits (was it about 15% ?) of delay>1
>
> also, IIRC Tom suggested running with at least -B 1024 if you can.
Just try this:
explain select * from <tablename> where <fieldname>=<any_value>
(Use for fieldname an indexed field).
If postgres is using an sequential scan in stead of an index scan. You have
to vacuum your database. This will REALLY remove deleted data from your indexes.
Hope it will work,
Dave Mertens
System Administrator ISM, Netherlands
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-admin@postgresql.org
Cc: dave@redbull.zyprexia.com, hannu@tm.ee, marck@rinet.ru, tgl@sss.pgh.pa.us, peter.schmidt@prismedia.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
In-Reply-To: <20010223122132.A1924@redbull.zyprexia.com>
References: <Pine.BSF.4.21.0102182347290.16523-100000@woozle.rinet.ru> <3A9644F1.9000303@tm.ee> <20010223122132.A1924@redbull.zyprexia.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