Delete events and performance other maintenance tasks on the events
database.
|
|
|
|
|
executeStatements(self,
statements)
Executes a list of statements within a transaction. |
source code
|
|
|
deleteHistory(self)
Deletes events more than X days old where X is the number specified
by the "numDays" command line argument. |
source code
|
|
|
|
|
|
|
optimizeTables(self)
Manually optimizing tables after large amounts of rows have been
deleted can improve their performance and reclaim unused space. |
source code
|
|
|
analyzeTables(self)
Manually analyzing tables is recommended after large deletions so that
the optimizer can plan queries properly. |
source code
|
|
Inherited from ZenScriptBase.ZenScriptBase :
__init__ ,
closeAll ,
closedb ,
connect ,
findDevice ,
getConnection ,
getDataRoot ,
getDmdObj ,
login ,
logout ,
opendb ,
syncdb
Inherited from CmdBase.CmdBase :
buildParser ,
checkLogpath ,
generate_configs ,
generate_xml_configs ,
generate_xml_table ,
getConfigFileDefaults ,
parseOptions ,
pretty_print_config_comment ,
setupLogging
|