eZPublish  4.7
eZDBGrbageCollector Class Reference

Handles garbage collection in the database. More...

Detailed Description

Handles garbage collection in the database.

Cleans up garbage (leaks) in the database which can be left behind by bugs or crashes in the system.

Garbage collection is divided into several static functions which performs cleanup of one or more tables. What is common for all functions are the $maxTime and $sleepTime parameters which controls how long a GC operation can go on and how long it should sleep between batch operations.

// or
// Perform GC for 5 minutes with 2 second sleep intervals

The documentation for this class was generated from the following file: