Difference between revisions of "Template:SQWareProduction sqwsyb DbccAllDatabases.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwsyb_Global.lib | + | Sourcing sqwsyb_Global.lib v2020.01 SQWareProduction for Sybase (dbSQWare) ... |
− | Usage: sqwsyb_DbccAllDatabases.ksh [-h] | + | Usage: sqwsyb_DbccAllDatabases.ksh [-h] -I <dataserver> [+ options] |
DESCRIPTION | DESCRIPTION | ||
− | sqwsyb_DbccAllDatabases.ksh | + | sqwsyb_DbccAllDatabases.ksh dbcc all databases in parallel |
SUPPORT | SUPPORT | ||
Sybase supported versions: 12.0 <= v <= 16.0 | Sybase supported versions: 12.0 <= v <= 16.0 | ||
PARAMETERS | PARAMETERS | ||
− | + | -I dataserver : Target dataserver to Dbcc. | |
OPTIONS | OPTIONS | ||
− | -ID listdb : | + | -ID listdb : List of databases to run dbcc on (by default all). |
− | -ED listdb : | + | -ED listdb : List of databases to exclude. |
-IL likeclause : Like clause to generate databases list (example: 'db%'). | -IL likeclause : 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%'). | ||
Line 19: | Line 19: | ||
-FRT return_code : Force return code value on error. | -FRT return_code : Force return code value on error. | ||
-P Nb threads : Number of threads in parallel (by default 2). | -P Nb threads : Number of threads in parallel (by default 2). | ||
− | -AGR Nb sec : Nb of seconds between two | + | -AGR Nb sec : Nb of seconds between two runs (by default 10s). |
− | -AGE Nb sec : Nb of seconds between two | + | -AGE Nb sec : Nb of seconds between two checks of end (by default 30s). |
− | -NoMail : | + | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). |
-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 | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
-h help : Display the full usage. | -h help : Display the full usage. |
Revision as of 18:36, 8 March 2020
Sourcing sqwsyb_Global.lib v2020.01 SQWareProduction for Sybase (dbSQWare) ... Usage: sqwsyb_DbccAllDatabases.ksh [-h] -I <dataserver> [+ options] DESCRIPTION sqwsyb_DbccAllDatabases.ksh dbcc all databases in parallel SUPPORT Sybase supported versions: 12.0 <= v <= 16.0 PARAMETERS -I dataserver : Target dataserver to Dbcc. OPTIONS -ID listdb : List of databases to run dbcc on (by default all). -ED listdb : List of databases to exclude. -IL likeclause : Like clause to generate databases list (example: 'db%'). -EL likeclause : Like clause to exclude databases (example: 'nodb%'). -WCD whereclause : Where clause to generate databases list. -FRT return_code : Force return code value on error. -P Nb threads : Number of threads in parallel (by default 2). -AGR Nb sec : Nb of seconds between two runs (by default 10s). -AGE Nb sec : Nb of seconds between two checks of end (by default 30s). -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -Dist : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ). -AddMail email : Email address to add at 'pmexpdba@gmail.com'. -SendReport : Send execution log report. -h help : Display the full usage. -s : Display samples of usage. -Locale locale : Force Locale for help display (fr,en). -Exec : Execute commands (default, display generated commands)