In QB Pro 07, I ran a cleanup on my file as it goes back to 1994. I kept years 2004 to present. One would expect a reduction in file size after removal of 10 years of transactions, but it hasn't changed at all. Exact same number of bytes. Is this considered normal?
Thanks!
Didn't find your answer? Ask the community — no account required.
J
James Colbert
The same thing happens if I remove *all* transactions (keeping lists, of course). The resulting file is even a few bytes bigger.
K
Karl
Creating and using a Portable Company File after removing all transactions usually shrinks the file. Also backup and restore the file. This may shrink the tlg file.
H
HeyBub
If you carry out the trash, does your house get smaller?
Maybe it's the same principle.
J
James Colbert
Thanks, Karl.
J
James Colbert
Not really, since the data dictates the file size. Trash, on the other hand, doesn't determine the square footage of the house.
A
Allan Martin
Often deleteing a record(s) in a database program simply means that the record has been marked as deleted and future information can be recorded in the same physical space that the deleted record currently resides in. The same is true when a file gets deleted. The operating system is given permission to write over the disk area where the file resides. The old information does not get physically removed.
>
H
HeyBub
Same principle as deleting a file on the hard drive. The drive size doesn't shrink.
J
James Colbert
Now this makes sense, although not very efficient.
Thanks.
J
James Colbert
But not the same as taking out the trash...
A
Allan Martin
Not very efficient? I can't image a more efficient method.
H
HeyBub
Assume you delete record #2 out of 130,000 records in the file.
Do you suppose it would be more efficient to move 129,998 records up one slot to simply reduce the file size by 100 bytes?
J
James Colbert
Not for one record. For 10 years of transactions, yes. Since, during this operation, QB is removing thousands of transactions, it would seem not only more efficient, but prudent to change the file size to accomodate the new significantly lower number of files.
Starting a new file and exporting all my lists to the new file makes a new file size of 7 mb as opposed to the 'cleaned up' file size (with only 2 years of transactions) of 50 mb, which was the same file size of the account when it held 13 years of transactions. So, we are not discussing a "100 bytes", but rather 40 MB or more.
H
HeyBub
Ah, well you've just invoked the "reorganize database" function that's built-in to QB (although, obviously, by a different name). As you can now see, all is well.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.