IBM Support

Determining need for running vacuum

Question & Answer


Question

How do I predict when it is worthwhile to perform a manual_vacuum on NPS?

Answer

Use the following equation to determine whether performing a manual vacuum process will be beneficial:

If the (size of the /nz/data directory)– (size of cache) –  (size of core files) is greater than or equal to  4 GB, then you should perform a manual vacuum.

To get the size of the /nz/data directory,  run the nz_catalog_size command.
To get the size of cache, run the following command: du -sh /nz/data.1.0/cache/  
To get the size of core files, look at the output of the nz_catalog_size command.

The following is sample output for the nz_catalog_size command:
[nz@Test ~]$ /nz/support-TwinFin-5.0-100129-1546/bin/nz_catalog_size | more
/nz/data     ( total directory size: 15G     inclusive of 0 MB of CORE Files)
...
...
The nz_catalog_size command is located in the /nz/support/contrib/<version>/bin directory, where <version> is NPS Release 4.5 or later.

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ689408

Document Information

Modified date:
17 October 2019

UID

swg21568679