Difference between revisions of "SQWareProduction:mysql:etc:sqwmys CreInst Jobs.cfg"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 23: Line 23:
 
#PurgeAlert: Rotate error log
 
#PurgeAlert: Rotate error log
 
PurgeAlert:$gvsqw_MysBin/sqwmys_PurgeAlert.ksh -I <MYSQL_SID>
 
PurgeAlert:$gvsqw_MysBin/sqwmys_PurgeAlert.ksh -I <MYSQL_SID>
 +
 +
#NetBackup: run user backup command
 +
NetBackup:$gvsqw_MysBin/sqwmys_NetBackup.ksh -I <MYSQL_SID> -Policy <Policy> -Schedule  <Schedule> -Exec
 
</pre>
 
</pre>
 
<br>
 
<br>

Revision as of 18:01, 5 October 2014

Configuration file $gvsqw_MysBin/../etc/sqwmys_CreInst_Jobs.cfg:



File content:


#IndicDba: Gather DBAs indicators
IndicDba:$gvsqw_MysBin/sqwmys_GatherIndicators.ksh -I <MYSQL_SID>

#Dump: backup all databases with mysqlDump
Dump:$gvsqw_MysBin/sqwmys_DumpAllDatabases.ksh -I <MYSQL_SID> -Exec

#Optimize : optimize tables for all databases
Optimize:$gvsqw_MysBin/sqwmys_OptimizeAllDatabases.ksh -I <MYSQL_SID> -Exec

#Analyse : analyze tables for all databases
Analyze:$gvsqw_MysBin/sqwmys_AnalyzeAllDatabases.ksh -I <MYSQL_SID> -Exec

#SlowQuery: Rotate log slow query
SlowQuery:$gvsqw_MysBin/sqwmys_RotateLogSlowQuery.ksh -I <MYSQL_SID>

#PurgeAlert: Rotate error log
PurgeAlert:$gvsqw_MysBin/sqwmys_PurgeAlert.ksh -I <MYSQL_SID>

#NetBackup: run user backup command
NetBackup:$gvsqw_MysBin/sqwmys_NetBackup.ksh -I <MYSQL_SID> -Policy <Policy> -Schedule  <Schedule> -Exec