Warning

This document hasn't been checked for compatibility with current versions of Plone. Use at your own risk.

How do I pack the ZODB?

How do I pack the Zope Object Database? Also, why should I pack the zodb?

« Back to Table of Contents

This FAQ assumes you have manager role and proper permissions to work in the ZODB.

  • Packing the ZODB removes old copies of objects, so once it is done, you can no longer undo them.
  • There may be a little performance benefit.
  • There is a disk space benefit.

 

Note: for automatic packing information please see Plone Developer Documentation page.

 

Go Direct

On your local machine, click

http://localhost:8080/Control_Panel/Database/main/manage_main (you might have different port number)

  1. choose how many days of undo-data you wish to leave in the system in the box provided
  2. click pack

 

On your Server

go to yourSite/Control_Panel/Database/main/manage_main)

  1. choose how many days of undo-data you wish to leave in the system in the box provided
  2. click pack

 

Plone 3.0.x from the controlpanel

  1. click 'site setup' (or go to yourSite/plone_control_panel)
  2. click maintenance (or go to yourSite/@@maintenance-controlpanel
  3. choose how many days of undo-data you wish to leave in the system in the box provided
  4. click 'Pack database now' (wait for it to finish the pack as it may take a little while)

 

From The Top

Starting from the Plone UI (user interface):

  1. sign in with your 'admin' role
  2. click 'site setup' (or go to yourSite/plone_control_panel)
  3. click 'Zope Management Interface' (or go to yourSite/manage_main)
  4. click on the '/' at the top left where it says 'Plone Site at'
  5. click 'Control_Panel' (or go to yourSite/Control_Panel/manage_main)
  6. click 'Database Management' (or go to yourSite/Control_Panel/Database/manage_main)
  7. click 'main' (or go to yourSite/Control_Panel/Database/main/manage_main)
  8. choose how many days of undo-data you wish to leave in the system in the box provided
  9. click 'pack' (wait for it to finish the pack as it may take a little while)