PetraPack

Top  Previous  Next

PetraPack.exe can be run at any time without having to kick anyone out of the project.  It will accept a command line full path to a Petra project .ini file (for scripting) or an open dialog will appear for .ini selection, if the command line is left blank.

PetraPack can be launched once for different Petra projects and the operating system will assign each process to separate cores and memory space.  This allows packing of more than one Petra project at a time, making use of the available cores and memory.  A report .txt file with the same name as the .ini file will be created in the folder with the .ini file containing information about the pack (before and after record counts or any exceptions during the process).

Notes:

1.

Backup (copy and zip) your Petra project folder before any repairs are undertaken.

2.

It is recommended but not required that you Verify, Repair and Reindex your tables before packing them with PetraPack. exe, since PetraPack.exe relies on a table and index that is not corrupt to correctly determine what records are orphaned and need to be deleted.  Otherwise, you might delete records that appear orphaned because of an error in the table or index when the records are really not orphaned, but rather their parent just cannot be properly located.

3.

Launching PetraPack simply opens a dialog for you to choose the project:

embim413

PetraPack then runs the Pack function on all that project’s tables as below

embim414