Parent list trim command
The parent list trim (pltrim) command removes erroneous entries (orphans) in the parent list—those are entries that were not deleted when they should have been, as well as duplicate entries.
These erroneous entries may have been created in older versions of Contenta.
The program reads the parent_list relation and for every object, it makes certain that there is a path from the object to Global. Global is the top-most object or level in the database hierarchy; the parent to the sysadmin desktop. Any parent_list entry that is not, by some pathway, a child of Global is an orphan and is deleted from the parent_list.
The pltrim file is located in the Contenta bin/reap directory; the command must be executed from that directory
- No users can be accessing the database when pltrim is executed. Use the pcmsessions command before executing pltrim to ensure no users are accessing the database.
- Checkout sessions do not affect pltrim execution or results—that is, if the pcmsessions program output results in a display of CHECKOUT sessions, you can successfully execute pltrim.
- It is recommended that this command be executed before the verilk (Verify Locks Command) is executed.