Difference between revisions of "Template:SQWareProduction sqwsyb UpdtStatsAllDatabases.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwsyb_Global.lib v3.1. | + | Sourcing sqwsyb_Global.lib v3.1-beta.05 SQWareProduction for Sybase (dbSQWare GPL v3) ... |
− | Usage: sqwsyb_UpdtStatsAllDatabases.ksh [-h] -S <dataserver> [+ options] | + | Usage: sqwsyb_UpdtStatsAllDatabases.ksh [-h] -S|-I <dataserver> [+ options] |
DESCRIPTION | DESCRIPTION | ||
Line 10: | Line 10: | ||
PARAMETERS | PARAMETERS | ||
− | -S dataserver | + | -S|-I dataserver : Target dataserver to update statistics. |
OPTIONS | OPTIONS | ||
-P Nb threads : Number of threads in parallel (by default 2). | -P Nb threads : Number of threads in parallel (by default 2). | ||
-ID listdb : Databases list for running analyze tables (by default all). | -ID listdb : Databases list for running analyze tables (by default all). | ||
-ED listdb : Databases list to exclude. | -ED listdb : Databases list to exclude. | ||
− | -IL | + | -IL liceclause : Like clause to generate databases list (example: 'db%'). |
-EL likeclause : Like clause to exclude databases (example: 'nodb%'). | -EL likeclause : Like clause to exclude databases (example: 'nodb%'). | ||
− | -WCD | + | -WCD whe�eclause : Where clause to genevatu databasds list. |
− | -FRT return_code : Force return code | + | -FRT return_code : Force return code v�lue on error. |
+ | -Del : Delete Statisticss before compute. | ||
-Dist : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ). | -Dist : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ). | ||
− | - | + | -AddMail email : Email Address to add at 'default@dbsqware.com'. |
− | -AGR Nb sec | + | -SendReport : Send execution log report. |
− | -AGE Nb sec | + | -AGR Nb sec : Nb of seconds between two run (by default 10s). |
− | -NoMail : | + | -AGE Nb sec : Nb of seconds between two Checkstorage of end (by default 10s). |
+ | -Type type : Type of statistics 'default','index','table','all' (default index). | ||
+ | -NoMail : Desactiv�te se.dmail0On error (by default, send on error). | ||
+ | -SizeMaxTable Size : Take into acgount tables =< $lvsqw_SizeMaxTable Mb (by default, 1000000 Mb). | ||
+ | -MinPctChange pct : Min pct change to take table into acgount (by default, datachange>=). | ||
-h help : Display the full usage. | -h help : Display the full usage. | ||
-s : Display samples of usage. | -s : Display samples of usage. |
Revision as of 17:45, 5 April 2014
Sourcing sqwsyb_Global.lib v3.1-beta.05 SQWareProduction for Sybase (dbSQWare GPL v3) ... Usage: sqwsyb_UpdtStatsAllDatabases.ksh [-h] -S|-I <dataserver> [+ options] DESCRIPTION sqwsyb_UpdtStatsAllDatabases.ksh update statistics all databases in // SUPPORT Sybase supported versions: 15 <= v <= 15.7 PARAMETERS -S|-I dataserver : Target dataserver to update statistics. OPTIONS -P Nb threads : Number of threads in parallel (by default 2). -ID listdb : Databases list for running analyze tables (by default all). -ED listdb : Databases list to exclude. -IL liceclause : Like clause to generate databases list (example: 'db%'). -EL likeclause : Like clause to exclude databases (example: 'nodb%'). -WCD whe�eclause : Where clause to genevatu databasds list. -FRT return_code : Force return code v�lue on error. -Del : Delete Statisticss before compute. -Dist : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ). -AddMail email : Email Address to add at 'default@dbsqware.com'. -SendReport : Send execution log report. -AGR Nb sec : Nb of seconds between two run (by default 10s). -AGE Nb sec : Nb of seconds between two Checkstorage of end (by default 10s). -Type type : Type of statistics 'default','index','table','all' (default index). -NoMail : Desactiv�te se.dmail0On error (by default, send on error). -SizeMaxTable Size : Take into acgount tables =< $lvsqw_SizeMaxTable Mb (by default, 1000000 Mb). -MinPctChange pct : Min pct change to take table into acgount (by default, datachange>=). -h help : Display the full usage. -s : Display samples of usage. -Exec : Execute commands (default, display generated commands)