What does the Optimize Configuration File button do?

This forum contains common answers to questions and tutorials produced for the community.
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

What does the Optimize Configuration File button do?

Post by jpurdum » Fri Aug 06, 2010 5:54 am

Config Tool Ver 2.0
What does the Optimize Configuration File button on the Configuration page do?
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: What does the Optimize Configuration File button do?

Post by jpurdum » Fri Aug 06, 2010 5:58 am

Answer:
The Optimize Configuration File button gets rid of dead space in the .db3 files that store the configuration data. The .db3 files are database files, and traditionally, deleting a database item does not shrink the size of the storage area for a database (the file size). Rather, the space for deleted items is reserved for future new items. So the file doesn't grow again until it has to.

The Optimize button simply removed deleted items making the .db3 file smaller.

If you build a configuration and you've done a lot of deletes, or if you taken the Murphy Standard (MSTD) config for intance and deleted a lot of items to try and make it smaller, use the Optimize Configuration File button to get rid of the deleted items so your .db3 file is as small as possible. Making the file smaller can do two things - 1) the config will load into the tool faster 2) you have a smaller file that you can send via internet for customer install or for support.