'Cleaning Up' File Size Remains Unchanged

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!

Reply to
James Colbert
Loading thread data ...

The same thing happens if I remove *all* transactions (keeping lists, of course). The resulting file is even a few bytes bigger.

Reply to
James Colbert

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.

Reply to
Karl

If you carry out the trash, does your house get smaller?

Maybe it's the same principle.

Reply to
HeyBub

Thanks, Karl.

Reply to
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.

Reply to
James Colbert

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.

>
Reply to
Allan Martin

Same principle as deleting a file on the hard drive. The drive size doesn't shrink.

Reply to
HeyBub

Now this makes sense, although not very efficient.

Thanks.

Reply to
James Colbert

But not the same as taking out the trash...

Reply to
James Colbert

Not very efficient? I can't image a more efficient method.

Reply to
Allan Martin

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?

Reply to
HeyBub

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.

Reply to
James Colbert

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.

Reply to
HeyBub

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.