Difference between revisions of "SQWareProduction:mssql"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{SQWareProductionPresSgbd|mssql| | + | {{SQWareProductionPresSgbd|mssql|Msq|msq}} |
== bin == | == bin == | ||
=== sqwmsq_BackupAllDatabases.ksh === | === sqwmsq_BackupAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_BackupAllDatabases.ksh:<br> |
{{SQWareProduction_sqwmsq_BackupAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwmsq_BackupAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_BackupAllDatabases.ksh|See the detailed help for sqwmsq_BackupAllDatabases.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_BackupAllDatabases.ksh|See the detailed help for sqwmsq_BackupAllDatabases.ksh]]<br><br> | ||
=== sqwmsq_BackupDatabase.ksh === | === sqwmsq_BackupDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_BackupDatabase.ksh:<br> |
{{SQWareProduction_sqwmsq_BackupDatabase.ksh_presentation}} | {{SQWareProduction_sqwmsq_BackupDatabase.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_BackupDatabase.ksh|See the detailed help for sqwmsq_BackupDatabase.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_BackupDatabase.ksh|See the detailed help for sqwmsq_BackupDatabase.ksh]]<br><br> | ||
=== sqwmsq_CheckdbAllDatabases.ksh === | === sqwmsq_CheckdbAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_CheckdbAllDatabases.ksh:<br> |
{{SQWareProduction_sqwmsq_CheckdbAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwmsq_CheckdbAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_CheckdbAllDatabases.ksh|See the detailed help for sqwmsq_CheckdbAllDatabases.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_CheckdbAllDatabases.ksh|See the detailed help for sqwmsq_CheckdbAllDatabases.ksh]]<br><br> | ||
=== sqwmsq_CheckdbDatabase.ksh === | === sqwmsq_CheckdbDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_CheckdbDatabase.ksh:<br> |
{{SQWareProduction_sqwmsq_CheckdbDatabase.ksh_presentation}} | {{SQWareProduction_sqwmsq_CheckdbDatabase.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_CheckdbDatabase.ksh|See the detailed help for sqwmsq_CheckdbDatabase.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_CheckdbDatabase.ksh|See the detailed help for sqwmsq_CheckdbDatabase.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_ExecSQL.ksh === | ||
+ | Script $gvsqw_MsqBin/bin/sqwmsq_ExecSQL.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_ExecSQL.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:bin:sqwmsq_ExecSQL.ksh|See the detailed help for sqwmsq_ExecSQL.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_FailWithoutMail.ksh === | ||
+ | Script $gvsqw_MsqBin/bin/sqwmsq_FailWithoutMail.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_FailWithoutMail.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:bin:sqwmsq_FailWithoutMail.ksh|See the detailed help for sqwmsq_FailWithoutMail.ksh]]<br><br> | ||
=== sqwmsq_GatherIndicators.ksh === | === sqwmsq_GatherIndicators.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_GatherIndicators.ksh:<br> |
{{SQWareProduction_sqwmsq_GatherIndicators.ksh_presentation}} | {{SQWareProduction_sqwmsq_GatherIndicators.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_GatherIndicators.ksh|See the detailed help for sqwmsq_GatherIndicators.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_GatherIndicators.ksh|See the detailed help for sqwmsq_GatherIndicators.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_GatherStructure.ksh === | ||
+ | Script $gvsqw_MsqBin/bin/sqwmsq_GatherStructure.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_GatherStructure.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:bin:sqwmsq_GatherStructure.ksh|See the detailed help for sqwmsq_GatherStructure.ksh]]<br><br> | ||
=== sqwmsq_NetBackup.ksh === | === sqwmsq_NetBackup.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_NetBackup.ksh:<br> |
{{SQWareProduction_sqwmsq_NetBackup.ksh_presentation}} | {{SQWareProduction_sqwmsq_NetBackup.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_NetBackup.ksh|See the detailed help for sqwmsq_NetBackup.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_NetBackup.ksh|See the detailed help for sqwmsq_NetBackup.ksh]]<br><br> | ||
=== sqwmsq_ParallelRun.ksh === | === sqwmsq_ParallelRun.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_ParallelRun.ksh:<br> |
{{SQWareProduction_sqwmsq_ParallelRun.ksh_presentation}} | {{SQWareProduction_sqwmsq_ParallelRun.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_ParallelRun.ksh|See the detailed help for sqwmsq_ParallelRun.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_ParallelRun.ksh|See the detailed help for sqwmsq_ParallelRun.ksh]]<br><br> | ||
=== sqwmsq_RebuildIndexAllDatabases.ksh === | === sqwmsq_RebuildIndexAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_RebuildIndexAllDatabases.ksh:<br> |
{{SQWareProduction_sqwmsq_RebuildIndexAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwmsq_RebuildIndexAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_RebuildIndexAllDatabases.ksh|See the detailed help for sqwmsq_RebuildIndexAllDatabases.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_RebuildIndexAllDatabases.ksh|See the detailed help for sqwmsq_RebuildIndexAllDatabases.ksh]]<br><br> | ||
=== sqwmsq_RebuildIndexDatabase.ksh === | === sqwmsq_RebuildIndexDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_RebuildIndexDatabase.ksh:<br> |
{{SQWareProduction_sqwmsq_RebuildIndexDatabase.ksh_presentation}} | {{SQWareProduction_sqwmsq_RebuildIndexDatabase.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_RebuildIndexDatabase.ksh|See the detailed help for sqwmsq_RebuildIndexDatabase.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_RebuildIndexDatabase.ksh|See the detailed help for sqwmsq_RebuildIndexDatabase.ksh]]<br><br> | ||
=== sqwmsq_RestoreAllDatabases.ksh === | === sqwmsq_RestoreAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_RestoreAllDatabases.ksh:<br> |
{{SQWareProduction_sqwmsq_RestoreAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwmsq_RestoreAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_RestoreAllDatabases.ksh|See the detailed help for sqwmsq_RestoreAllDatabases.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_RestoreAllDatabases.ksh|See the detailed help for sqwmsq_RestoreAllDatabases.ksh]]<br><br> | ||
=== sqwmsq_RestoreDatabase.ksh === | === sqwmsq_RestoreDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_RestoreDatabase.ksh:<br> |
{{SQWareProduction_sqwmsq_RestoreDatabase.ksh_presentation}} | {{SQWareProduction_sqwmsq_RestoreDatabase.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_RestoreDatabase.ksh|See the detailed help for sqwmsq_RestoreDatabase.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_RestoreDatabase.ksh|See the detailed help for sqwmsq_RestoreDatabase.ksh]]<br><br> | ||
=== sqwmsq_RotateErrorLog.ksh === | === sqwmsq_RotateErrorLog.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_RotateErrorLog.ksh:<br> |
{{SQWareProduction_sqwmsq_RotateErrorLog.ksh_presentation}} | {{SQWareProduction_sqwmsq_RotateErrorLog.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_RotateErrorLog.ksh|See the detailed help for sqwmsq_RotateErrorLog.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_RotateErrorLog.ksh|See the detailed help for sqwmsq_RotateErrorLog.ksh]]<br><br> | ||
=== sqwmsq_RunJob.ksh === | === sqwmsq_RunJob.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_RunJob.ksh:<br> |
{{SQWareProduction_sqwmsq_RunJob.ksh_presentation}} | {{SQWareProduction_sqwmsq_RunJob.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_RunJob.ksh|See the detailed help for sqwmsq_RunJob.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_RunJob.ksh|See the detailed help for sqwmsq_RunJob.ksh]]<br><br> | ||
=== sqwmsq_StatisticsAllDatabases.ksh === | === sqwmsq_StatisticsAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_StatisticsAllDatabases.ksh:<br> |
{{SQWareProduction_sqwmsq_StatisticsAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwmsq_StatisticsAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_StatisticsAllDatabases.ksh|See the detailed help for sqwmsq_StatisticsAllDatabases.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_StatisticsAllDatabases.ksh|See the detailed help for sqwmsq_StatisticsAllDatabases.ksh]]<br><br> | ||
=== sqwmsq_StatisticsDatabase.ksh === | === sqwmsq_StatisticsDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/bin/sqwmsq_StatisticsDatabase.ksh:<br> |
{{SQWareProduction_sqwmsq_StatisticsDatabase.ksh_presentation}} | {{SQWareProduction_sqwmsq_StatisticsDatabase.ksh_presentation}} | ||
[[SQWareProduction:mssql:bin:sqwmsq_StatisticsDatabase.ksh|See the detailed help for sqwmsq_StatisticsDatabase.ksh]]<br><br> | [[SQWareProduction:mssql:bin:sqwmsq_StatisticsDatabase.ksh|See the detailed help for sqwmsq_StatisticsDatabase.ksh]]<br><br> | ||
Line 81: | Line 96: | ||
== etc == | == etc == | ||
=== sqwmsq_ConfInst_CrontabRef.cfg === | === sqwmsq_ConfInst_CrontabRef.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_MsqBin/../etc/sqwmsq_ConfInst_CrontabRef.cfg:<br> |
{{SQWareProduction_sqwmsq_ConfInst_CrontabRef.cfg_presentation}} | {{SQWareProduction_sqwmsq_ConfInst_CrontabRef.cfg_presentation}} | ||
<br> | <br> | ||
Line 87: | Line 102: | ||
=== sqwmsq_ConfInst_Jobs.cfg === | === sqwmsq_ConfInst_Jobs.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_MsqBin/../etc/sqwmsq_ConfInst_Jobs.cfg:<br> |
{{SQWareProduction_sqwmsq_ConfInst_Jobs.cfg_presentation}} | {{SQWareProduction_sqwmsq_ConfInst_Jobs.cfg_presentation}} | ||
<br> | <br> | ||
Line 93: | Line 108: | ||
=== sqwmsq_GlobalVar.cfg === | === sqwmsq_GlobalVar.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_MsqBin/../etc/sqwmsq_GlobalVar.cfg:<br> |
{{SQWareProduction_sqwmsq_GlobalVar.cfg_presentation}} | {{SQWareProduction_sqwmsq_GlobalVar.cfg_presentation}} | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeVar|mssql| | + | {{SQWareProductionSurchargeVar|mssql|Msq|sqwmsq_GlobalVar.cfg}} |
[[SQWareProduction:mssql:etc:sqwmsq_GlobalVar.cfg|See the detailed help for sqwmsq_GlobalVar.cfg]]<br><br> | [[SQWareProduction:mssql:etc:sqwmsq_GlobalVar.cfg|See the detailed help for sqwmsq_GlobalVar.cfg]]<br><br> | ||
=== .profile === | === .profile === | ||
− | Sample file for .profile $ | + | Sample file for .profile $gvsqw_MsqBin/../etc/.profile:<br> |
Sample of lines to add to .profile of mssql users.<br> | Sample of lines to add to .profile of mssql users.<br> | ||
[[SQWareProduction:mssql:etc:.profile|See the detailed help for .profile]]<br> | [[SQWareProduction:mssql:etc:.profile|See the detailed help for .profile]]<br> | ||
=== .profile_confort === | === .profile_confort === | ||
− | File to put aliases $ | + | File to put aliases $gvsqw_MsqBin/../etc/.profile_confort:<br> |
− | Contains confort aliases of SQWareProduction for | + | Contains confort aliases of SQWareProduction for mssql.<br> |
− | {{SQWareProductionSurchargeConfort|mssql| | + | {{SQWareProductionSurchargeConfort|mssql|Msq}} |
<br> | <br> | ||
[[SQWareProduction:mssql:etc:.profile_confort|See the detailed help for .profile_confort]]<br><br> | [[SQWareProduction:mssql:etc:.profile_confort|See the detailed help for .profile_confort]]<br><br> | ||
Line 114: | Line 129: | ||
== lib == | == lib == | ||
+ | === sqwmsq_BackupAllDatabases.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_BackupAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_BackupAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_BackupAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_BackupAllDatabases.lib|See the detailed help for sqwmsq_BackupAllDatabases.lib]]<br><br> | ||
+ | |||
=== sqwmsq_BackupDatabase.lib === | === sqwmsq_BackupDatabase.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_BackupDatabase.lib:<br> |
{{SQWareProduction_sqwmsq_BackupDatabase.lib_presentation}} | {{SQWareProduction_sqwmsq_BackupDatabase.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_BackupDatabase.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_BackupDatabase.lib|See the detailed help for sqwmsq_BackupDatabase.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_BackupDatabase.lib|See the detailed help for sqwmsq_BackupDatabase.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_CheckdbAllDatabases.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_CheckdbAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_CheckdbAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_CheckdbAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_CheckdbAllDatabases.lib|See the detailed help for sqwmsq_CheckdbAllDatabases.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_CheckdbDatabase.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_CheckdbDatabase.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_CheckdbDatabase.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_CheckdbDatabase.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_CheckdbDatabase.lib|See the detailed help for sqwmsq_CheckdbDatabase.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_ExecSQL.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_ExecSQL.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_ExecSQL.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_ExecSQL.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_ExecSQL.lib|See the detailed help for sqwmsq_ExecSQL.lib]]<br><br> | ||
=== sqwmsq_GatherIndicators.lib === | === sqwmsq_GatherIndicators.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GatherIndicators.lib:<br> |
{{SQWareProduction_sqwmsq_GatherIndicators.lib_presentation}} | {{SQWareProduction_sqwmsq_GatherIndicators.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_GatherIndicators.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_GatherIndicators.lib|See the detailed help for sqwmsq_GatherIndicators.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_GatherIndicators.lib|See the detailed help for sqwmsq_GatherIndicators.lib]]<br><br> | ||
=== sqwmsq_GatherIndicators_Overload.lib === | === sqwmsq_GatherIndicators_Overload.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GatherIndicators_Overload.lib:<br> |
{{SQWareProduction_sqwmsq_GatherIndicators_Overload.lib_presentation}} | {{SQWareProduction_sqwmsq_GatherIndicators_Overload.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_GatherIndicators_Overload.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_GatherIndicators_Overload.lib|See the detailed help for sqwmsq_GatherIndicators_Overload.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_GatherIndicators_Overload.lib|See the detailed help for sqwmsq_GatherIndicators_Overload.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_GatherStructure.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GatherStructure.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_GatherStructure.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_GatherStructure.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_GatherStructure.lib|See the detailed help for sqwmsq_GatherStructure.lib]]<br><br> | ||
=== sqwmsq_GenerateCreateInstance.lib === | === sqwmsq_GenerateCreateInstance.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GenerateCreateInstance.lib:<br> |
{{SQWareProduction_sqwmsq_GenerateCreateInstance.lib_presentation}} | {{SQWareProduction_sqwmsq_GenerateCreateInstance.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_GenerateCreateInstance.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_GenerateCreateInstance.lib|See the detailed help for sqwmsq_GenerateCreateInstance.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_GenerateCreateInstance.lib|See the detailed help for sqwmsq_GenerateCreateInstance.lib]]<br><br> | ||
=== sqwmsq_Global.lib === | === sqwmsq_Global.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_Global.lib:<br> |
{{SQWareProduction_sqwmsq_Global.lib_presentation}} | {{SQWareProduction_sqwmsq_Global.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_Global.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_Global.lib|See the detailed help for sqwmsq_Global.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_Global.lib|See the detailed help for sqwmsq_Global.lib]]<br><br> | ||
=== sqwmsq_NetBackup.lib === | === sqwmsq_NetBackup.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_NetBackup.lib:<br> |
{{SQWareProduction_sqwmsq_NetBackup.lib_presentation}} | {{SQWareProduction_sqwmsq_NetBackup.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_NetBackup.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_NetBackup.lib|See the detailed help for sqwmsq_NetBackup.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_NetBackup.lib|See the detailed help for sqwmsq_NetBackup.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_RebuildIndexAllDatabases.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RebuildIndexAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_RebuildIndexAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_RebuildIndexAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_RebuildIndexAllDatabases.lib|See the detailed help for sqwmsq_RebuildIndexAllDatabases.lib]]<br><br> | ||
=== sqwmsq_RebuildIndexDatabase.lib === | === sqwmsq_RebuildIndexDatabase.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RebuildIndexDatabase.lib:<br> |
{{SQWareProduction_sqwmsq_RebuildIndexDatabase.lib_presentation}} | {{SQWareProduction_sqwmsq_RebuildIndexDatabase.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_RebuildIndexDatabase.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_RebuildIndexDatabase.lib|See the detailed help for sqwmsq_RebuildIndexDatabase.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_RebuildIndexDatabase.lib|See the detailed help for sqwmsq_RebuildIndexDatabase.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_RestoreAllDatabases.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RestoreAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_RestoreAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_RestoreAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_RestoreAllDatabases.lib|See the detailed help for sqwmsq_RestoreAllDatabases.lib]]<br><br> | ||
=== sqwmsq_RestoreDatabase.lib === | === sqwmsq_RestoreDatabase.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RestoreDatabase.lib:<br> |
{{SQWareProduction_sqwmsq_RestoreDatabase.lib_presentation}} | {{SQWareProduction_sqwmsq_RestoreDatabase.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_RestoreDatabase.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_RestoreDatabase.lib|See the detailed help for sqwmsq_RestoreDatabase.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_RestoreDatabase.lib|See the detailed help for sqwmsq_RestoreDatabase.lib]]<br><br> | ||
=== sqwmsq_SetEnv.lib === | === sqwmsq_SetEnv.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_SetEnv.lib:<br> |
{{SQWareProduction_sqwmsq_SetEnv.lib_presentation}} | {{SQWareProduction_sqwmsq_SetEnv.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|mssql| | + | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_SetEnv.lib}} |
<br> | <br> | ||
[[SQWareProduction:mssql:lib:sqwmsq_SetEnv.lib|See the detailed help for sqwmsq_SetEnv.lib]]<br><br> | [[SQWareProduction:mssql:lib:sqwmsq_SetEnv.lib|See the detailed help for sqwmsq_SetEnv.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_StatisticsAllDatabases.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_StatisticsAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_StatisticsAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_StatisticsAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_StatisticsAllDatabases.lib|See the detailed help for sqwmsq_StatisticsAllDatabases.lib]]<br><br> | ||
+ | |||
+ | === sqwmsq_StatisticsDatabase.lib === | ||
+ | shell functions library $gvsqw_MsqBin/../lib/sqwmsq_StatisticsDatabase.lib:<br> | ||
+ | {{SQWareProduction_sqwmsq_StatisticsDatabase.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|mssql|Msq|sqwmsq_StatisticsDatabase.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:mssql:lib:sqwmsq_StatisticsDatabase.lib|See the detailed help for sqwmsq_StatisticsDatabase.lib]]<br><br> | ||
<br> | <br> | ||
Line 183: | Line 261: | ||
== tools == | == tools == | ||
+ | === sqwmsq_AlterDatabaseModifyLogGrowth.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_AlterDatabaseModifyLogGrowth.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_AlterDatabaseModifyLogGrowth.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_AlterDatabaseModifyLogGrowth.ksh|See the detailed help for sqwmsq_AlterDatabaseModifyLogGrowth.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_AlterDatabaseRecoverySimple.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_AlterDatabaseRecoverySimple.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_AlterDatabaseRecoverySimple.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_AlterDatabaseRecoverySimple.ksh|See the detailed help for sqwmsq_AlterDatabaseRecoverySimple.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_AlterDatabaseShrinkLogs.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_AlterDatabaseShrinkLogs.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_AlterDatabaseShrinkLogs.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_AlterDatabaseShrinkLogs.ksh|See the detailed help for sqwmsq_AlterDatabaseShrinkLogs.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_Crypt.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_Crypt.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_Crypt.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_Crypt.ksh|See the detailed help for sqwmsq_Crypt.ksh]]<br><br> | ||
+ | |||
=== sqwmsq_GenerateCreateInstance.ksh === | === sqwmsq_GenerateCreateInstance.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/../tools/sqwmsq_GenerateCreateInstance.ksh:<br> |
{{SQWareProduction_sqwmsq_GenerateCreateInstance.ksh_presentation}} | {{SQWareProduction_sqwmsq_GenerateCreateInstance.ksh_presentation}} | ||
[[SQWareProduction:mssql:tools:sqwmsq_GenerateCreateInstance.ksh|See the detailed help for sqwmsq_GenerateCreateInstance.ksh]]<br><br> | [[SQWareProduction:mssql:tools:sqwmsq_GenerateCreateInstance.ksh|See the detailed help for sqwmsq_GenerateCreateInstance.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_ListAsyncFilesGlobal.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_ListAsyncFilesGlobal.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_ListAsyncFilesGlobal.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_ListAsyncFilesGlobal.ksh|See the detailed help for sqwmsq_ListAsyncFilesGlobal.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_ListAsyncFiles.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_ListAsyncFiles.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_ListAsyncFiles.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_ListAsyncFiles.ksh|See the detailed help for sqwmsq_ListAsyncFiles.ksh]]<br><br> | ||
=== sqwmsq_SetEnv.ksh === | === sqwmsq_SetEnv.ksh === | ||
− | Script $ | + | Script $gvsqw_MsqBin/../tools/sqwmsq_SetEnv.ksh:<br> |
{{SQWareProduction_sqwmsq_SetEnv.ksh_presentation}} | {{SQWareProduction_sqwmsq_SetEnv.ksh_presentation}} | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeToo|mssql| | + | {{SQWareProductionSurchargeToo|mssql|Msq|sqwmsq_SetEnv.ksh}} |
[[SQWareProduction:mssql:tools:sqwmsq_SetEnv.ksh|See the detailed help for sqwmsq_SetEnv.ksh]]<br><br> | [[SQWareProduction:mssql:tools:sqwmsq_SetEnv.ksh|See the detailed help for sqwmsq_SetEnv.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_TestInstConnection.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_TestInstConnection.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_TestInstConnection.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_TestInstConnection.ksh|See the detailed help for sqwmsq_TestInstConnection.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_TestMySQL.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_TestMySQL.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_TestMySQL.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_TestMySQL.ksh|See the detailed help for sqwmsq_TestMySQL.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_TestSendmail.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_TestSendmail.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_TestSendmail.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_TestSendmail.ksh|See the detailed help for sqwmsq_TestSendmail.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_Tis.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_Tis.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_Tis.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_Tis.ksh|See the detailed help for sqwmsq_Tis.ksh]]<br><br> | ||
+ | |||
+ | === sqwmsq_Uncrypt.ksh === | ||
+ | Script $gvsqw_MsqBin/../tools/sqwmsq_Uncrypt.ksh:<br> | ||
+ | {{SQWareProduction_sqwmsq_Uncrypt.ksh_presentation}} | ||
+ | [[SQWareProduction:mssql:tools:sqwmsq_Uncrypt.ksh|See the detailed help for sqwmsq_Uncrypt.ksh]]<br><br> | ||
<br> | <br> | ||
== help == | == help == | ||
− | Contains help files for -s option of bin scripts.<br> | + | Contains help files for "-s" option of bin scripts.<br> |
<br><br> | <br><br> | ||
Latest revision as of 08:58, 18 December 2023
Contents
- 1 Presentation
- 2 bin
- 2.1 sqwmsq_BackupAllDatabases.ksh
- 2.2 sqwmsq_BackupDatabase.ksh
- 2.3 sqwmsq_CheckdbAllDatabases.ksh
- 2.4 sqwmsq_CheckdbDatabase.ksh
- 2.5 sqwmsq_ExecSQL.ksh
- 2.6 sqwmsq_FailWithoutMail.ksh
- 2.7 sqwmsq_GatherIndicators.ksh
- 2.8 sqwmsq_GatherStructure.ksh
- 2.9 sqwmsq_NetBackup.ksh
- 2.10 sqwmsq_ParallelRun.ksh
- 2.11 sqwmsq_RebuildIndexAllDatabases.ksh
- 2.12 sqwmsq_RebuildIndexDatabase.ksh
- 2.13 sqwmsq_RestoreAllDatabases.ksh
- 2.14 sqwmsq_RestoreDatabase.ksh
- 2.15 sqwmsq_RotateErrorLog.ksh
- 2.16 sqwmsq_RunJob.ksh
- 2.17 sqwmsq_StatisticsAllDatabases.ksh
- 2.18 sqwmsq_StatisticsDatabase.ksh
- 3 etc
- 4 lib
- 4.1 sqwmsq_BackupAllDatabases.lib
- 4.2 sqwmsq_BackupDatabase.lib
- 4.3 sqwmsq_CheckdbAllDatabases.lib
- 4.4 sqwmsq_CheckdbDatabase.lib
- 4.5 sqwmsq_ExecSQL.lib
- 4.6 sqwmsq_GatherIndicators.lib
- 4.7 sqwmsq_GatherIndicators_Overload.lib
- 4.8 sqwmsq_GatherStructure.lib
- 4.9 sqwmsq_GenerateCreateInstance.lib
- 4.10 sqwmsq_Global.lib
- 4.11 sqwmsq_NetBackup.lib
- 4.12 sqwmsq_RebuildIndexAllDatabases.lib
- 4.13 sqwmsq_RebuildIndexDatabase.lib
- 4.14 sqwmsq_RestoreAllDatabases.lib
- 4.15 sqwmsq_RestoreDatabase.lib
- 4.16 sqwmsq_SetEnv.lib
- 4.17 sqwmsq_StatisticsAllDatabases.lib
- 4.18 sqwmsq_StatisticsDatabase.lib
- 5 menu
- 6 tools
- 6.1 sqwmsq_AlterDatabaseModifyLogGrowth.ksh
- 6.2 sqwmsq_AlterDatabaseRecoverySimple.ksh
- 6.3 sqwmsq_AlterDatabaseShrinkLogs.ksh
- 6.4 sqwmsq_Crypt.ksh
- 6.5 sqwmsq_GenerateCreateInstance.ksh
- 6.6 sqwmsq_ListAsyncFilesGlobal.ksh
- 6.7 sqwmsq_ListAsyncFiles.ksh
- 6.8 sqwmsq_SetEnv.ksh
- 6.9 sqwmsq_TestInstConnection.ksh
- 6.10 sqwmsq_TestMySQL.ksh
- 6.11 sqwmsq_TestSendmail.ksh
- 6.12 sqwmsq_Tis.ksh
- 6.13 sqwmsq_Uncrypt.ksh
- 7 help
- 8 spm
Presentation
Usage
It's the module locally operating of mssql.
It is entirely written in ksh and sql.
It allows to manage the operation for mssql.
Example uses of the tool:
- Backup
- Recovery
- Compute statistics
- Indicators collection to store in referential database SQWareRepository
- Rotate logs
- ....
This module is deployed locally on the machine hosting the authorities to manage,
in order to avoid any points of weakness related to an NFS mount or whatever.
The deployment is done through a simple command SQWareCentral module using inventory located in SQWareRepository !
Installation guide for SQWareProduction for mssql
Explanation of directories
Directories located in $gvsqw_MsqBin:
- bin : Directory containing standard scripts
- bin_cust : Directory containing customs scripts for your environnement
- etc : Directory containing the standard files of configuration
- etc_cust : Directory containing the customs files of configuration for your environnement (overload standards)
- help : Directory containing the standard files of help
- help_cust : Directory containing the customs files of help for your environnement
- lib : Directory containing the generic shell function librairies
- lib_cust : Directory containing the generic shell function librairies (overload standards)
- spm : Contain sql query toolkit
- tools : Directory containing the standard scripts used on an ad hoc
- tools_cust : Directory containing the customs scripts used on an ad hoc for your environnement
- menu : Directory containing the standard menus
- menu_cust : Directory containing the custom menus for your environnement
Naming convention of files
The majority of files are named with suffixes:
- *.ksh : for scripts
- *.cfg : for configuration files
- *.lib : for function librairies
- *.hlp : for help files
Naming convention in scripts
In general, the following naming convention is used in all scripts of SQWareProduction:
- gvsqw_ {} : global variable initialized by the environment and / or generic library
- lvsqw_ {} : local variable initialized by the script and / or a specific library
- gfsqw_ {} : function defined by a generic library
- lfsqw_ {} : function defined by the script and / or a specific library
bin
sqwmsq_BackupAllDatabases.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_BackupAllDatabases.ksh:
Run of sqwmsq_BackupDatabase.ksh in parallel mode
You can choose:
- The parallel degree
- Aggressiveness of run (number of seconds between two runs)
- Aggressiveness of check end (number of seconds between two checks of end)
Filters to generate database list (you can mix all off them):
- Include list of database
- Exclude list of database
- Include like clause
- Exclude like clause
- Where clause
See the detailed help for sqwmsq_BackupAllDatabases.ksh
sqwmsq_BackupDatabase.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_BackupDatabase.ksh:
Generate backup database
You can choose type of backup (by default full):
- full
- log
- diff
Script automatically determine how many stripes
Makes purges of backup generations
You can change default values:
- change Path to put backup (by default: 'HKEY_LOCAL_MACHINE', 'BackupDirectory')
- force number of stripes
- size max of a stripe
- number of backup generations to keep online
See the detailed help for sqwmsq_BackupDatabase.ksh
sqwmsq_CheckdbAllDatabases.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_CheckdbAllDatabases.ksh:
Run of sqwmsq_CheckdbDatabase.ksh in parallel mode
You can choose:
- The parallel degree
- Aggressiveness of run (number of seconds between two runs)
- Aggressiveness of check end (number of seconds between two checks of end)
Filters to generate database list (you can mix all off them):
- Include list of database
- Exclude list of database
- Include like clause
- Exclude like clause
- Where clause
See the detailed help for sqwmsq_CheckdbAllDatabases.ksh
sqwmsq_CheckdbDatabase.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_CheckdbDatabase.ksh:
Generate checkdb commands on the database
See the detailed help for sqwmsq_CheckdbDatabase.ksh
sqwmsq_ExecSQL.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_ExecSQL.ksh:
execute SQL file on instance
See the detailed help for sqwmsq_ExecSQL.ksh
sqwmsq_FailWithoutMail.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_FailWithoutMail.ksh:
exit with error and display imput parameters
See the detailed help for sqwmsq_FailWithoutMail.ksh
sqwmsq_GatherIndicators.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_GatherIndicators.ksh:
Gather MsSql indicators and put them in SQWareRepository
Summary of collection:
- Volumetry (use, free) of instance
- Volumetry (use, free) of databases
- Volumetry (use, free) of files
- Version, options, configuration, ... of instance
See the detailed help for sqwmsq_GatherIndicators.ksh
sqwmsq_GatherStructure.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_GatherStructure.ksh:
Gather MsSql structure and put them in SQWareRepository
Summary of collection:
- Tables list and options
- Columns list, types and options
- Indexes list, types and options
See the detailed help for sqwmsq_GatherStructure.ksh
sqwmsq_NetBackup.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_NetBackup.ksh:
backup with NetBackup dump/backup files
See the detailed help for sqwmsq_NetBackup.ksh
sqwmsq_ParallelRun.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_ParallelRun.ksh:
Manages the execution of unix commands in parallel mode
Takes in parameter file with unix command to execute
You can choose:
- The parallel degree
- Aggressiveness of run (number of seconds between two runs)
- Aggressiveness of check end (number of seconds between two checks of end)
See the detailed help for sqwmsq_ParallelRun.ksh
sqwmsq_RebuildIndexAllDatabases.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_RebuildIndexAllDatabases.ksh:
Run of sqwmsq_RebuildIndexDatabase.ksh in parallel mode
You can choose:
- The parallel degree
- Aggressiveness of run (number of seconds between two runs)
- Aggressiveness of check end (number of seconds between two checks of end)
Filters to generate database list (you can mix all off them):
- Include list of database
- Exclude list of database
- Include like clause
- Exclude like clause
- Where clause
See the detailed help for sqwmsq_RebuildIndexAllDatabases.ksh
sqwmsq_RebuildIndexDatabase.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_RebuildIndexDatabase.ksh:
Rebuild indexes for all databases
version = 2000 -> Dbcc dbreindex (N'[$lvsqw_Owner].[$lvsqw_TableName]',,90)
version >= 2005 -> alter index all on [$lvsqw_Owner].[$lvsqw_TableName] Rebuild with (online = off)
See the detailed help for sqwmsq_RebuildIndexDatabase.ksh
sqwmsq_RestoreAllDatabases.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_RestoreAllDatabases.ksh:
Run of sqwmsq_RestoreDatabase.ksh in parallel mode
You can choose:
- The parallel degree
- Aggressiveness of run (number of seconds between two runs)
- Aggressiveness of check end (number of seconds between two checks of end)
Filters to generate database list (you can mix all off them):
- Include list of database
- Exclude list of database
- Include like clause
- Exclude like clause
- Where clause
See the detailed help for sqwmsq_RestoreAllDatabases.ksh
sqwmsq_RestoreDatabase.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_RestoreDatabase.ksh:
Standard database restore MsSql
script dynamically find backup files to restore
and makes a synchronisation of users/logins
The script can also:
- choose backup file
- change Path to find backup to restore (by default: 'HKEY_LOCAL_MACHINE', 'BackupDirectory')
- run shell script before restore
- run shell script after restore
See the detailed help for sqwmsq_RestoreDatabase.ksh
sqwmsq_RotateErrorLog.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_RotateErrorLog.ksh:
Rotate errorlog and put history configuration
See the detailed help for sqwmsq_RotateErrorLog.ksh
sqwmsq_RunJob.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_RunJob.ksh:
Run MsSql scripts and generate log and error file
based on $gvsqw_RootCfg/sqwmsq_Jobs.cfg configuration file
compress and purge oldest log files
See the detailed help for sqwmsq_RunJob.ksh
sqwmsq_StatisticsAllDatabases.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_StatisticsAllDatabases.ksh:
Run of sqwmsq_StatisticsDatabase.ksh in parallel mode
You can choose:
- The parallel degree
- Aggressiveness of run (number of seconds between two runs)
- Aggressiveness of check end (number of seconds between two checks of end)
Filters to generate database list (you can mix all off them):
- Include list of database
- Exclude list of database
- Include like clause
- Exclude like clause
- Where clause
See the detailed help for sqwmsq_StatisticsAllDatabases.ksh
sqwmsq_StatisticsDatabase.ksh
Script $gvsqw_MsqBin/bin/sqwmsq_StatisticsDatabase.ksh:
Update Statistics for all tables of the database
Use command: update statistics [$lvsqw_Owner].[$lvsqw_TableName] with fullscan, all
See the detailed help for sqwmsq_StatisticsDatabase.ksh
etc
sqwmsq_ConfInst_CrontabRef.cfg
Configuration file $gvsqw_MsqBin/../etc/sqwmsq_ConfInst_CrontabRef.cfg:
See the detailed help for sqwmsq_ConfInst_CrontabRef.cfg
sqwmsq_ConfInst_Jobs.cfg
Configuration file $gvsqw_MsqBin/../etc/sqwmsq_ConfInst_Jobs.cfg:
See the detailed help for sqwmsq_ConfInst_Jobs.cfg
sqwmsq_GlobalVar.cfg
Configuration file $gvsqw_MsqBin/../etc/sqwmsq_GlobalVar.cfg:
Global var for Mssql
It contains the operating variables of SQWareProduction.
See the detailed help for sqwmsq_GlobalVar.cfg
.profile
Sample file for .profile $gvsqw_MsqBin/../etc/.profile:
Sample of lines to add to .profile of mssql users.
See the detailed help for .profile
.profile_confort
File to put aliases $gvsqw_MsqBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for mssql.
See the detailed help for .profile_confort
lib
sqwmsq_BackupAllDatabases.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_BackupAllDatabases.lib:
lib for sqwmsq_BackupAllDatabases.ksh
See the detailed help for sqwmsq_BackupAllDatabases.lib
sqwmsq_BackupDatabase.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_BackupDatabase.lib:
lib for sqwmsq_BackupDatabase.ksh
See the detailed help for sqwmsq_BackupDatabase.lib
sqwmsq_CheckdbAllDatabases.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_CheckdbAllDatabases.lib:
lib for sqwmsq_CheckdbAllDatabases.ksh
See the detailed help for sqwmsq_CheckdbAllDatabases.lib
sqwmsq_CheckdbDatabase.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_CheckdbDatabase.lib:
lib for sqwmsq_CheckdbDatabase.ksh
See the detailed help for sqwmsq_CheckdbDatabase.lib
sqwmsq_ExecSQL.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_ExecSQL.lib:
lib for sqwmsq_ExecSQL.ksh
See the detailed help for sqwmsq_ExecSQL.lib
sqwmsq_GatherIndicators.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GatherIndicators.lib:
lib for sqwmsq_GatherIndicators.ksh
See the detailed help for sqwmsq_GatherIndicators.lib
sqwmsq_GatherIndicators_Overload.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GatherIndicators_Overload.lib:
lib for overLoad sqwmsq_GatherIndicators.ksh
See the detailed help for sqwmsq_GatherIndicators_Overload.lib
sqwmsq_GatherStructure.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GatherStructure.lib:
lib for sqwmsq_GatherStructure.ksh
See the detailed help for sqwmsq_GatherStructure.lib
sqwmsq_GenerateCreateInstance.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_GenerateCreateInstance.lib:
lib for generate configure instance
See the detailed help for sqwmsq_GenerateCreateInstance.lib
sqwmsq_Global.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_Global.lib:
central lib of generic fonctions for mssql
See the detailed help for sqwmsq_Global.lib
sqwmsq_NetBackup.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_NetBackup.lib:
lib for sqwgen_NetBackup.ksh
See the detailed help for sqwmsq_NetBackup.lib
sqwmsq_RebuildIndexAllDatabases.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RebuildIndexAllDatabases.lib:
lib for sqwmsq_RebuildIndexAllDatabases.ksh
See the detailed help for sqwmsq_RebuildIndexAllDatabases.lib
sqwmsq_RebuildIndexDatabase.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RebuildIndexDatabase.lib:
lib for sqwmsq_RebuildIndexDatabase.ksh
See the detailed help for sqwmsq_RebuildIndexDatabase.lib
sqwmsq_RestoreAllDatabases.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RestoreAllDatabases.lib:
lib for sqwmsq_RestoreAllDatabases.ksh
See the detailed help for sqwmsq_RestoreAllDatabases.lib
sqwmsq_RestoreDatabase.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_RestoreDatabase.lib:
lib for sqwmsq_RestoreDatabase.ksh
See the detailed help for sqwmsq_RestoreDatabase.lib
sqwmsq_SetEnv.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_SetEnv.lib:
fonction to set env for Mssql
See the detailed help for sqwmsq_SetEnv.lib
sqwmsq_StatisticsAllDatabases.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_StatisticsAllDatabases.lib:
lib for sqwmsq_StatisticsAllDatabases.ksh
See the detailed help for sqwmsq_StatisticsAllDatabases.lib
sqwmsq_StatisticsDatabase.lib
shell functions library $gvsqw_MsqBin/../lib/sqwmsq_StatisticsDatabase.lib:
lib for sqwmsq_StatisticsDatabase.ksh
See the detailed help for sqwmsq_StatisticsDatabase.lib
tools
sqwmsq_AlterDatabaseModifyLogGrowth.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_AlterDatabaseModifyLogGrowth.ksh:
Modify logs growth
See the detailed help for sqwmsq_AlterDatabaseModifyLogGrowth.ksh
sqwmsq_AlterDatabaseRecoverySimple.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_AlterDatabaseRecoverySimple.ksh:
Modify recovery to SIMPLE
See the detailed help for sqwmsq_AlterDatabaseRecoverySimple.ksh
sqwmsq_AlterDatabaseShrinkLogs.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_AlterDatabaseShrinkLogs.ksh:
Shrink logs
See the detailed help for sqwmsq_AlterDatabaseShrinkLogs.ksh
sqwmsq_Crypt.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_Crypt.ksh:
Generic script to crypt file with openssl
See the detailed help for sqwmsq_Crypt.ksh
sqwmsq_GenerateCreateInstance.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_GenerateCreateInstance.ksh:
Generate configure instance files
See the detailed help for sqwmsq_GenerateCreateInstance.ksh
sqwmsq_ListAsyncFilesGlobal.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_ListAsyncFilesGlobal.ksh:
List Async files (sql, log, mail) to upload in SQWareCentral (all in a directory)
See the detailed help for sqwmsq_ListAsyncFilesGlobal.ksh
sqwmsq_ListAsyncFiles.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_ListAsyncFiles.ksh:
List Async files (sql, log, mail) to upload in SQWareCentral
See the detailed help for sqwmsq_ListAsyncFiles.ksh
sqwmsq_SetEnv.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_SetEnv.ksh:
set env for AliasFreeTds
See the detailed help for sqwmsq_SetEnv.ksh
sqwmsq_TestInstConnection.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_TestInstConnection.ksh:
Test instance connection
See the detailed help for sqwmsq_TestInstConnection.ksh
sqwmsq_TestMySQL.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_TestMySQL.ksh:
Generic test MySQL connection script
See the detailed help for sqwmsq_TestMySQL.ksh
sqwmsq_TestSendmail.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_TestSendmail.ksh:
Generic test sendmail script
See the detailed help for sqwmsq_TestSendmail.ksh
sqwmsq_Tis.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_Tis.ksh:
tsql connection for $lvsqw_InstanceParam
See the detailed help for sqwmsq_Tis.ksh
sqwmsq_Uncrypt.ksh
Script $gvsqw_MsqBin/../tools/sqwmsq_Uncrypt.ksh:
Generic script to uncrypt file with openssl
See the detailed help for sqwmsq_Uncrypt.ksh
help
Contains help files for "-s" option of bin scripts.
spm
SQL query toolkit
See the detailed help for spm