C
Clifford Bass
<tongue-in-cheek>Wrong forum for that!</tongue-in-cheek>
But seriously, you could try http://forums.thunderbirdforum.com/
Clifford Bass
But seriously, you could try http://forums.thunderbirdforum.com/
Clifford Bass
Pete D. said:Now if you could help get my 94 Tbird computer to stop kicking off the
active seatbelt warning when I take a left turn you would all be my
hero's. ; )
Compile is the correct terminology.
SQL must be compiled to run. That said,
the overwhelming bloat is caused by VBA p-code. The fact that an
MDE/ADE/ACCDE still bloats with p-code removed, and after being
fully compiled, is evidence that there are other causes of bloat.
The query plan is
designed to be efficient with the number of records it is dealing
with, so if a significantly different number of records are run,
it pays, in performance, to regularly compact the database.
David W. Fenton said:True. But "decompile" is another matter. The queries are not
decompiled -- it's just that the data pages storing the compilation
are discarded in a compact operation.
For what it's worth, I've never seen the compiled query performance
improvement to be worth it to make me transfer SQL in code into
saved querydefs, or to regularly compact front ends (in order to
recompile with recent table stats). It just doesn't seem like that
much of an issue in an app when most of the time is taken up waiting
for the user to take the next action in the UI.
Not to be pedantic, but but if the stored compilation were
discarded wouldn't that decompile the query?
Compilation is so fast, that I'll agree, the extra second at most
is negligible. But I disagree that recompilation doesn't
measurable improve query performance. Most queries won't benefit
very much, but the difference in performance in queries that use
large tables, particularly tables that deal with thousands of
deletes and appends can be improved by 10 to 20%.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.