Forums / Developer / Cleanup database? / Comment47358
Ekkehard Dörre
Wednesday 22 November 2006 5:57:59 am
Hi Sinisa,
under bin/php/ are a lot of helper scripts which you can access via php cli.
flatten.php inline comment:
$script =& eZScript::instance( array( 'description' => ( "Exponential database flattening.\n\n" . "Will remove data that is not considered currently in use to minimize the amount of database data it consumes\n" . "\n" . "Possible values for NAME is:\n" . "contentobject, contentclass, workflow, role or all (for all items)\n" . "flatten.php -s admin contentobject"), 'use-session' => false, 'use-modules' => true, 'use-extensions' => true ) );
Some documentation about the scripts:
http://ez.no/doc/ez_publish/upgrading/the_system_upgrade_scripts
Greetings, ekke
http://www.coolscreen.de - eZ Publish, Ibexa, SOLR, Elastic Search