Re: Postgres performance comments from a MySQL user

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ernest E Vogelsinger <ernest(at)vogelsinger(dot)at>
Cc: Arjen van der Meijden <acm(at)tweakers(dot)net>, "'scott(dot)marlowe'" <scott(dot)marlowe(at)ihs(dot)com>, "'Justin Clift'" <justin(at)postgresql(dot)org>, "'Joseph Shraibman'" <jks(at)selectacast(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres performance comments from a MySQL user
Date: 2003-06-17 00:04:12
Message-ID: 7937.1055808252@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ernest E Vogelsinger <ernest(at)vogelsinger(dot)at> writes:
> But this wouldn't explain the huge differences I just posted (first query -
> 1500 msecs, follow-ups - 10 msec)

No, I was just responding to Arjen's wondering where 40 or so msec had
gone ... that's of the right order of magnitude to be cache load effects.

> Just now I had the server sit for approx 20 minutes, rerunning the same
> query resulted in 3155 msec, a followup again 10.85 msec.

It's really hard to believe that you could see that kind of ratio from
any sort of cache effects, even kernel disk buffer cache which is
normally pretty large. Are you sure you were getting the same plan each
time? I'd like to see EXPLAIN ANALYZE output from all three cases.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ernest E Vogelsinger 2003-06-17 00:17:09 Re: Postgres performance comments from a MySQL user
Previous Message Rory Campbell-Lange 2003-06-16 23:54:27 Re: Can I do <page> of <pages> in one call?