Re: SELECT constant; takes 15x longer on 9.0?

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SELECT constant; takes 15x longer on 9.0?
Date: 2010-04-06 17:00:30
Message-ID: 922B93A7-6783-4859-A881-5ADBF0850F3E@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Apr 6, 2010, at 7:28 AM, Tom Lane wrote:

> There's something wrong with your test setup. Or, if you'd like me to
> think that there isn't, provide a self-contained test case. I ran a
> small program that does
>
> for (i = 0; i < 10000; i++)
> {
> res = PQexec(conn, "SELECT 'DBD::Pg ping test'");
> PQclear(res);
> }
>
> and I only see a few percent difference between HEAD and 8.4.3,
> on two different machines. (It does appear that HEAD is a bit slower
> for this, which might or might not be something to worry about.)

I'm going to see if I can replicate it on a second box today.

Best,

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-04-06 17:04:41 Re: Proposal: Add JSON support
Previous Message Tom Lane 2010-04-06 16:54:04 Re: Remaining Streaming Replication Open Items