Difference between revisions of "Template:SQWareProduction sqwsyb RebuildAllDatabases.ksh help"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
− | Sourcing sqwsyb_Global.lib | + | Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ... |
Usage: sqwsyb_RebuildAllDatabases.ksh [-h] -I <dataserver> [+ options] | Usage: sqwsyb_RebuildAllDatabases.ksh [-h] -I <dataserver> [+ options] | ||
Line 10: | Line 10: | ||
PARAMETERS | PARAMETERS | ||
− | -I dataserver : Target dataserver | + | -I dataserver : Target dataserver. |
OPTIONS | OPTIONS | ||
− | -P | + | -P Nb threads : Number of threads in parallel (by default ). |
-ID listdb : List of databases holding tables to rebuild (by default all). | -ID listdb : List of databases holding tables to rebuild (by default all). | ||
-ED listdb : List of databases to exclude. | -ED listdb : List of databases to exclude. | ||
Line 18: | Line 18: | ||
-EL likeclause : Like clause to exclude databases (example: 'nodb%'). | -EL likeclause : Like clause to exclude databases (example: 'nodb%'). | ||
-WCD whereclause : Where clause to generate databases list. | -WCD whereclause : Where clause to generate databases list. | ||
− | -FRT | + | -FRT code : Force return code value 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 ). | ||
-SizeMaxTable Size : Take into account tables <= $lvsqw_SizeMaxTable Mb (by default, 10000 Mb). | -SizeMaxTable Size : Take into account tables <= $lvsqw_SizeMaxTable Mb (by default, 10000 Mb). | ||
-SizeMinTable Size : Take into account tables >= $lvsqw_SizeMinTable Mb (by default, 1 Mb). | -SizeMinTable Size : Take into account tables >= $lvsqw_SizeMinTable Mb (by default, 1 Mb). | ||
− | -CLT RatioMinTable : Min cluster ratio for table (default 80 %). | + | -CLT RatioMinTable : Min cluster ratio for table (by default 80 %). |
− | -CLI RatioMinIndex : Min cluster ratio for index (default 80 %). | + | -CLI RatioMinIndex : Min cluster ratio for index (by default 80 %). |
-AGR Nb sec : Nb of seconds between two runs (by default 10s). | -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 | + | -AGE Nb sec : Nb of seconds between two checks of end (by default 30s). |
-Online : Add 'with online' when ASE version >= 15.7 ESD#2 or SP50 and Enterprise edition. | -Online : Add 'with online' when ASE version >= 15.7 ESD#2 or SP50 and Enterprise edition. | ||
-NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). | ||
− | -AddMail email | + | -AddMail email : Email address to add at 'pmexpdba@gmail.com'. |
-SendReport : Send execution log report. | -SendReport : Send execution log report. | ||
− | -h | + | -h : Display the full usage. |
-s : Display samples of usage. | -s : Display samples of usage. | ||
− | -Locale | + | -Locale locale : Force Locale for help display (fr,en). |
− | -Exec : Execute commands (default, display generated commands) | + | -Exec : Execute commands (by default, display generated commands). |
</pre> | </pre> |
Latest revision as of 15:56, 31 October 2024
Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ... Usage: sqwsyb_RebuildAllDatabases.ksh [-h] -I <dataserver> [+ options] DESCRIPTION sqwsyb_RebuildAllDatabases.ksh Rebuild tables all databases in parallel SUPPORT Sybase supported versions: 12.0 <= v <= 16.0 PARAMETERS -I dataserver : Target dataserver. OPTIONS -P Nb threads : Number of threads in parallel (by default ). -ID listdb : List of databases holding tables to rebuild (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 code : Force return code value on error. -Dist : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ). -SizeMaxTable Size : Take into account tables <= $lvsqw_SizeMaxTable Mb (by default, 10000 Mb). -SizeMinTable Size : Take into account tables >= $lvsqw_SizeMinTable Mb (by default, 1 Mb). -CLT RatioMinTable : Min cluster ratio for table (by default 80 %). -CLI RatioMinIndex : Min cluster ratio for index (by default 80 %). -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). -Online : Add 'with online' when ASE version >= 15.7 ESD#2 or SP50 and Enterprise edition. -NoMail : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error). -AddMail email : Email address to add at 'pmexpdba@gmail.com'. -SendReport : Send execution log report. -h : Display the full usage. -s : Display samples of usage. -Locale locale : Force Locale for help display (fr,en). -Exec : Execute commands (by default, display generated commands).