Re: Embedded SQL inherently faster than others?

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: lnd(at)hnit(dot)is
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Embedded SQL inherently faster than others?
Date: 2004-05-06 14:28:33
Message-ID: 20040506142833.GB41429@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, May 05, 2004 at 04:35:33PM -0000, lnd(at)hnit(dot)is wrote:
> DB2, as far as I know, uses some precompiled SQL files which may make a
> difference if used or not used.

Unless it's changed in version 8, the 'precompiled SQL files' are just
generated C code that's turned into C stored procedures. These C stored
procedures talk to the database through their normal C interface, so the
only benefit you get is that the stored procs are run in the same
process as the database.
--
Jim C. Nasby, Database Consultant jim(at)nasby(dot)net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2004-05-06 14:31:22 Re: XID Data Types
Previous Message Eric Ridge 2004-05-06 14:08:44 Changing the size of a varchar field