Talk About Network

Google





Software > Access General > Re: Compact & R...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 30 Topic 97384 of 98261
Post > Topic >>

Re: Compact & Repair/DB Size

by "Pete D." <pduffy211AT@[EMAIL PROTECTED] > Dec 1, 2008 at 06:04 PM

Just my uneducated reasoning. Most files I create are for small workgroups 
and to be honest they are never finished.  The fact that I am always
making 
changes to code, tables, queries to tweak something new is the reason I 
believe that I create bloat that decompile reduces.  And as Secret
Squirrel, 
from his history of posting, appears to do the same thing is the reason I 
suggested it.  Fact is my files are not huge but in a 100mb file I have
had 
reductions of up to 40mb with the decompile and if I leave it alone for 
months (no changes) it doesn't re-bloat (is that a real word).  Maybe if I

ever go pro I'll stop the bad habits of not cleaning up the files before 
putting them to use. In my current world of dealing with old flat file 
im****ts, sucking up excel files and trying to extract information and make

it pretty I don't see an end to it in the near future.  Many of my
projects 
are short lived. I can spend weeks pulling together spreadsheets, csv
files 
and old Fox Pro or Dbase files to produce statistical info in Access.  
Then 
I get a nod, a thankyou and don't hear about it again until the next end
of 
fiscal year or an audit.  Mine is a real world at the user level using all

of the Office Suite to get what I need. Might be why I know a little about

everything but not a lot of anything.  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.  ; )


"Arvin Meyer [MVP]" <arvinm@[EMAIL PROTECTED]
> wrote in message 
news:eUgOBV7UJHA.1164@[EMAIL PROTECTED]
> "David W. Fenton" <XXXusenet@[EMAIL PROTECTED]
> wrote in message 
> news:Xns9B66BF659E401f99a49ed1d0c49c5bbb2@[EMAIL PROTECTED]
>
>> Actually, MS does use the phrase "compiled query plan" in its
>> do***entation, if I'm not mistaken.
>>
>> But I agree that we should reserve "decompile" as advice for
>> reducing bloat to removing compiled VBA p-code.
>
> 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.
>
> In SQL-Server, Stored Procedures are compiled similar to Access queries,

> Views are not compiled (or at least in earlier versions aren't and I 
> haven't noticed a change in that). So a View plan is discarded at the
end 
> of a session, while a Stored Proc is not. If you've ever seen the 
> terminology "DROP Procedure ... " that is the reason, the developer
wants 
> it to recompile, so that a new plan will be created. In Access, queries 
> stay compiled until a compact.
>
> I agree that compiling a query may add only a few hundred bytes (or more

> depending upon the complexity), so each query would not add much to
bloat, 
> but a 1000 of them certainly would. In addition, a SQL statement builds
a 
> tem****ary query, also compiled, which is stored until a compact, so that

> adds even more that is cleaned with a compact.
>
> To answer the question about why to do it for queries. 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.
> -- 
> Arvin Meyer, MCP, MVP
> http://www.datastrat.com
> http://www.mvps.org/access
> http://www.accessmvp.com
>
 




 30 Posts in Topic:
Compact & Repair/DB Size
=?Utf-8?B?U2VjcmV0IFNxdWl  2008-11-28 17:25:00 
RE: Compact & Repair/DB Size
=?Utf-8?B?Q2xpZmZvcmQgQmF  2008-11-28 18:15:01 
RE: Compact & Repair/DB Size
=?Utf-8?B?U2VjcmV0IFNxdWl  2008-11-28 18:23:01 
Re: Compact & Repair/DB Size
John W. Vinson <jvinso  2008-11-28 19:40:29 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-11-29 00:54:25 
Re: Compact & Repair/DB Size
"David W. Fenton&quo  2008-11-29 23:28:56 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-11-29 19:04:31 
Re: Compact & Repair/DB Size
"Pete D." <p  2008-11-29 21:19:13 
Re: Compact & Repair/DB Size
"Tony Toews [MVP]&qu  2008-11-29 19:35:15 
Re: Compact & Repair/DB Size
"David W. Fenton&quo  2008-11-30 23:48:53 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-12-01 08:03:44 
Re: Compact & Repair/DB Size
"Pete D." <p  2008-12-01 18:04:01 
Re: Compact & Repair/DB Size
=?Utf-8?B?Q2xpZmZvcmQgQmF  2008-12-01 16:11:01 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-12-01 23:24:51 
Re: Compact & Repair/DB Size
"David W. Fenton&quo  2008-12-03 04:46:18 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-12-03 11:08:08 
Re: Compact & Repair/DB Size
"David W. Fenton&quo  2008-12-04 00:18:29 
Re: Compact & Repair/DB Size
"David W. Fenton&quo  2008-11-30 23:45:14 
Re: Compact & Repair/DB Size
=?Utf-8?B?U2VjcmV0IFNxdWl  2008-11-30 15:31:08 
Re: Compact & Repair/DB Size
"David W. Fenton&quo  2008-11-30 23:50:36 
Re: Compact & Repair/DB Size
John W. Vinson <jvinso  2008-11-30 17:36:38 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-12-01 07:44:50 
Re: Compact & Repair/DB Size
"Pete D." <p  2008-11-29 13:45:22 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-11-29 19:06:39 
Re: Compact & Repair/DB Size
"a a r o n . k e m p  2008-12-01 05:49:06 
Re: Compact & Repair/DB Size
"a a r o n . k e m p  2008-12-09 07:39:33 
Re: Compact & Repair/DB Size
"Arvin Meyer [MVP]&q  2008-12-10 08:59:03 
Re: Compact & Repair/DB Size
"David W. Fenton&quo  2008-12-11 02:30:31 
Re: Compact & Repair/DB Size
"a a r o n . k e m p  2008-12-16 06:57:54 
Re: Compact & Repair/DB Size
"a a r o n . k e m p  2008-12-16 06:59:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 12:29:56 PST 2009.