Re: decompile in Access 2002?
I've tried this several times, starting with two different shortcuts to initiate
the decompile (one that includes the target database to be decompiled, the other
that simply starts access with the decompile switch, then I open the target
database.
Started with a 57MB file.
Decompiled.
Ran repair and compact (from Access 2002 menus).
Database grows in size. In fact, it grows with every iteration of the above.
This particular database grows by about 6-8 MB everytime. Now up to 118 mb. Good
thing I'm working with a copy.
I read the articles you posted. Why would the database just grow and grow with
every decompile?
"Michael (michka) Kaplan [MS]" wrote:
[color=blue]
> "bebelino" <a.b@c.d> wrote...
>[color=green]
> > Well then, could you please tell what the right steps are?[/color]
>
> Well, if you look at http://trigeminal.com/usenet/usenet004.asp and think
> about what it is saying and then also look at
> http://trigeminal.com/usenet/usenet023.asp and do the same, then you will
> see that for the smallest possible file, you must:
>
> 1) decompile the db
> 2) Compact it through the ACCESS, not DAO/JRO/Jet.
>
> to get the SMALLEST possible db. If you compile any other way then you will
> not get a clean defragmented project. And if you "compile all/save all" then
> you are causing there to be two complete sets of streams (the canonical text
> and the binary compiled information) and you will have the largest possible
> "valid" information. What you get rid of is any bogus streams that are
> hanging around (see the article point #2 talking about project size).
>
> Now, if you look at an average Access db that you have not recently
> decompiled, it is probably:
>
> A) Not entirely compiled (see the article which mentions there are 11
> compliation states!)
> B) Some invalid streams that are just hanging around in the database in
> dirty objects
> C) A fragmented project
>
> and then if you do the original steps given here that involve doing a
> compile all/save all, it is possible that the number of items you save by
> fixing (B) and (C) will be less than the space taken in the fix for (A). So
> you end up with a technically "bigger" file. But that is expected and has
> nothing to do with the sort of issue that causes people to recommend
> /decompile to save space.
>
> In fact, if you compare a completely decompiled db (no compiled binary
> project) and an MDE (no canonical text), you will see that the MDE is
> bigger. Compiled code takes up SPACE, more space than the text upon which it
> is based, in VBA.
>
> Does this mean you should not compile? Of course not! Compiling is important
> for good performance.
>
> INSTEAD, it is better to think of /decompile as it is described at
> http://trigeminal.com/usenet/usenet004.asp and realize that you will
> eliminate all of the WASTED space for dead information that is just haning
> around, building upon a database like barnacles on an old ship's hull. If
> you end up with a file that is bigger then that means that you were not
> entirely compiled and possibly you did not have much in the way of wasted
> space anyway.
>
> --
> MichKa [MS]
> NLS Collation/Locale/Keyboard Development
> Globalization Infrastructure and Font Technologies
>
> This posting is provided "AS IS" with
> no warranties, and confers no rights.[/color]
I've tried this several times, starting with two different shortcuts to initiate
the decompile (one that includes the target database to be decompiled, the other
that simply starts access with the decompile switch, then I open the target
database.
Started with a 57MB file.
Decompiled.
Ran repair and compact (from Access 2002 menus).
Database grows in size. In fact, it grows with every iteration of the above.
This particular database grows by about 6-8 MB everytime. Now up to 118 mb. Good
thing I'm working with a copy.
I read the articles you posted. Why would the database just grow and grow with
every decompile?
"Michael (michka) Kaplan [MS]" wrote:
[color=blue]
> "bebelino" <a.b@c.d> wrote...
>[color=green]
> > Well then, could you please tell what the right steps are?[/color]
>
> Well, if you look at http://trigeminal.com/usenet/usenet004.asp and think
> about what it is saying and then also look at
> http://trigeminal.com/usenet/usenet023.asp and do the same, then you will
> see that for the smallest possible file, you must:
>
> 1) decompile the db
> 2) Compact it through the ACCESS, not DAO/JRO/Jet.
>
> to get the SMALLEST possible db. If you compile any other way then you will
> not get a clean defragmented project. And if you "compile all/save all" then
> you are causing there to be two complete sets of streams (the canonical text
> and the binary compiled information) and you will have the largest possible
> "valid" information. What you get rid of is any bogus streams that are
> hanging around (see the article point #2 talking about project size).
>
> Now, if you look at an average Access db that you have not recently
> decompiled, it is probably:
>
> A) Not entirely compiled (see the article which mentions there are 11
> compliation states!)
> B) Some invalid streams that are just hanging around in the database in
> dirty objects
> C) A fragmented project
>
> and then if you do the original steps given here that involve doing a
> compile all/save all, it is possible that the number of items you save by
> fixing (B) and (C) will be less than the space taken in the fix for (A). So
> you end up with a technically "bigger" file. But that is expected and has
> nothing to do with the sort of issue that causes people to recommend
> /decompile to save space.
>
> In fact, if you compare a completely decompiled db (no compiled binary
> project) and an MDE (no canonical text), you will see that the MDE is
> bigger. Compiled code takes up SPACE, more space than the text upon which it
> is based, in VBA.
>
> Does this mean you should not compile? Of course not! Compiling is important
> for good performance.
>
> INSTEAD, it is better to think of /decompile as it is described at
> http://trigeminal.com/usenet/usenet004.asp and realize that you will
> eliminate all of the WASTED space for dead information that is just haning
> around, building upon a database like barnacles on an old ship's hull. If
> you end up with a file that is bigger then that means that you were not
> entirely compiled and possibly you did not have much in the way of wasted
> space anyway.
>
> --
> MichKa [MS]
> NLS Collation/Locale/Keyboard Development
> Globalization Infrastructure and Font Technologies
>
> This posting is provided "AS IS" with
> no warranties, and confers no rights.[/color]
Comment