From: Oliver Crosby <ryusei@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Looking for tips
Date: Tue, 19 Jul 2005 15:11:15 -0400
Message-ID: <1efd553a05071912111f6a3121@mail.gmail.com> (raw)
In-Reply-To: <8446.1121799660@sss.pgh.pa.us>
References: <1efd553a05071910427b290203@mail.gmail.com>
<42DD3D55.9020508@commandprompt.com>
<1efd553a050719112126b8d981@mail.gmail.com>
<8446.1121799660@sss.pgh.pa.us>
> If you're running only a single query at a time (no multiple clients),
> then this is pretty much the definition of a MySQL-friendly workload;
> I'd have to say we are doing really well if we are only 50% slower.
> Postgres doesn't have any performance advantages until you get into
> complex queries or a significant amount of concurrency.
The original port was actually twice as slow. It improved quite a bit
after I added transactions and trimmed the schema a bit.
> You could possibly get some improvement if you can re-use prepared plans
> for the queries; but this will require some fooling with the client code
> (I'm not sure if DBD::Pg even has support for it at all).
Aye. We have prepared statements.
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: ryusei@gmail.com, tgl@sss.pgh.pa.us, jd@commandprompt.com
Subject: Re: Looking for tips
In-Reply-To: <1efd553a05071912111f6a3121@mail.gmail.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