Re: Embedded SQL inherently faster than others? - Mailing list pgsql-general

From Jim C. Nasby
Subject Re: Embedded SQL inherently faster than others?
Date
Msg-id 20040506142833.GB41429@nasby.net
Whole thread Raw
In response to Re: Embedded SQL inherently faster than others?  (<lnd@hnit.is>)
List pgsql-general
On Wed, May 05, 2004 at 04:35:33PM -0000, lnd@hnit.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@nasby.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?"

pgsql-general by date:

Previous
From: Eric Ridge
Date:
Subject: Changing the size of a varchar field
Next
From: Jan Wieck
Date:
Subject: Re: XID Data Types