Re: Precompiled statement?
- From: "joeNOSPAM@xxxxxxx" <joe.weinstein@xxxxxxxxx>
- Date: Tue, 22 Apr 2008 12:26:07 -0700 (PDT)
On Apr 22, 9:13 am, Taras_96 <taras...@xxxxxxxxx> wrote:
Hi all,
I've read a bit about precompiled SQL statements. However, I haven't
been able to find anything which explains what the compilation process
entails. What exactly is done in order to change a normal inline SQL
statement into a precompiled one?
Thanks
Taras
The major benefit possible by re-using Prepared/CallableStatements
is that when you create them, you supply the SQL, which can be
sent to the DBMS for parsing and compilation. The resultant query
plan is retained by the DBMS, and re-used as long as the statement
remains open. The saving is that a plain statement would have to
as the DBMS to parse and compile it's SQL for every execution.
Joe Weinstein at BEA Systems
.
- Follow-Ups:
- Re: Precompiled statement?
- From: Martin Gregorie
- Re: Precompiled statement?
- From: David Harper
- Re: Precompiled statement?
- References:
- Precompiled statement?
- From: Taras_96
- Precompiled statement?
- Prev by Date: large queries
- Next by Date: Re: Precompiled statement?
- Previous by thread: Re: Precompiled statement?
- Next by thread: Re: Precompiled statement?
- Index(es):
Relevant Pages
|
|