Difference between revisions of "SQWareProduction:postgres"
Expdbtools (talk | contribs) |
m (Updated by BatchUser) |
||
Line 3: | Line 3: | ||
== bin == | == bin == | ||
=== sqwpg_AnalyzeAllDatabases.ksh === | === sqwpg_AnalyzeAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_AnalyzeAllDatabases.ksh:<br> |
{{SQWareProduction_sqwpg_AnalyzeAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwpg_AnalyzeAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_AnalyzeAllDatabases.ksh|See the detailed help for sqwpg_AnalyzeAllDatabases.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_AnalyzeAllDatabases.ksh|See the detailed help for sqwpg_AnalyzeAllDatabases.ksh]]<br><br> | ||
=== sqwpg_AnalyzeDatabase.ksh === | === sqwpg_AnalyzeDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_AnalyzeDatabase.ksh:<br> |
{{SQWareProduction_sqwpg_AnalyzeDatabase.ksh_presentation}} | {{SQWareProduction_sqwpg_AnalyzeDatabase.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_AnalyzeDatabase.ksh|See the detailed help for sqwpg_AnalyzeDatabase.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_AnalyzeDatabase.ksh|See the detailed help for sqwpg_AnalyzeDatabase.ksh]]<br><br> | ||
=== sqwpg_CheckIndicators.ksh === | === sqwpg_CheckIndicators.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_CheckIndicators.ksh:<br> |
{{SQWareProduction_sqwpg_CheckIndicators.ksh_presentation}} | {{SQWareProduction_sqwpg_CheckIndicators.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_CheckIndicators.ksh|See the detailed help for sqwpg_CheckIndicators.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_CheckIndicators.ksh|See the detailed help for sqwpg_CheckIndicators.ksh]]<br><br> | ||
=== sqwpg_DumpAllDatabases.ksh === | === sqwpg_DumpAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_DumpAllDatabases.ksh:<br> |
{{SQWareProduction_sqwpg_DumpAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwpg_DumpAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_DumpAllDatabases.ksh|See the detailed help for sqwpg_DumpAllDatabases.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_DumpAllDatabases.ksh|See the detailed help for sqwpg_DumpAllDatabases.ksh]]<br><br> | ||
=== sqwpg_DumpDatabase.ksh === | === sqwpg_DumpDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_DumpDatabase.ksh:<br> |
{{SQWareProduction_sqwpg_DumpDatabase.ksh_presentation}} | {{SQWareProduction_sqwpg_DumpDatabase.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_DumpDatabase.ksh|See the detailed help for sqwpg_DumpDatabase.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_DumpDatabase.ksh|See the detailed help for sqwpg_DumpDatabase.ksh]]<br><br> | ||
=== sqwpg_DumpGlobalsOnly.ksh === | === sqwpg_DumpGlobalsOnly.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_DumpGlobalsOnly.ksh:<br> |
{{SQWareProduction_sqwpg_DumpGlobalsOnly.ksh_presentation}} | {{SQWareProduction_sqwpg_DumpGlobalsOnly.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_DumpGlobalsOnly.ksh|See the detailed help for sqwpg_DumpGlobalsOnly.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_DumpGlobalsOnly.ksh|See the detailed help for sqwpg_DumpGlobalsOnly.ksh]]<br><br> | ||
=== sqwpg_GatherIndicators.ksh === | === sqwpg_GatherIndicators.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_GatherIndicators.ksh:<br> |
{{SQWareProduction_sqwpg_GatherIndicators.ksh_presentation}} | {{SQWareProduction_sqwpg_GatherIndicators.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_GatherIndicators.ksh|See the detailed help for sqwpg_GatherIndicators.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_GatherIndicators.ksh|See the detailed help for sqwpg_GatherIndicators.ksh]]<br><br> | ||
=== sqwpg_ParallelRun.ksh === | === sqwpg_ParallelRun.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_ParallelRun.ksh:<br> |
{{SQWareProduction_sqwpg_ParallelRun.ksh_presentation}} | {{SQWareProduction_sqwpg_ParallelRun.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_ParallelRun.ksh|See the detailed help for sqwpg_ParallelRun.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_ParallelRun.ksh|See the detailed help for sqwpg_ParallelRun.ksh]]<br><br> | ||
=== sqwpg_ReindexAllDatabases.ksh === | === sqwpg_ReindexAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_ReindexAllDatabases.ksh:<br> |
{{SQWareProduction_sqwpg_ReindexAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwpg_ReindexAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_ReindexAllDatabases.ksh|See the detailed help for sqwpg_ReindexAllDatabases.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_ReindexAllDatabases.ksh|See the detailed help for sqwpg_ReindexAllDatabases.ksh]]<br><br> | ||
=== sqwpg_ReindexDatabase.ksh === | === sqwpg_ReindexDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_ReindexDatabase.ksh:<br> |
{{SQWareProduction_sqwpg_ReindexDatabase.ksh_presentation}} | {{SQWareProduction_sqwpg_ReindexDatabase.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_ReindexDatabase.ksh|See the detailed help for sqwpg_ReindexDatabase.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_ReindexDatabase.ksh|See the detailed help for sqwpg_ReindexDatabase.ksh]]<br><br> | ||
=== sqwpg_RunJob.ksh === | === sqwpg_RunJob.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_RunJob.ksh:<br> |
{{SQWareProduction_sqwpg_RunJob.ksh_presentation}} | {{SQWareProduction_sqwpg_RunJob.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_RunJob.ksh|See the detailed help for sqwpg_RunJob.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_RunJob.ksh|See the detailed help for sqwpg_RunJob.ksh]]<br><br> | ||
=== sqwpg_VacuumAllDatabases.ksh === | === sqwpg_VacuumAllDatabases.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_VacuumAllDatabases.ksh:<br> |
{{SQWareProduction_sqwpg_VacuumAllDatabases.ksh_presentation}} | {{SQWareProduction_sqwpg_VacuumAllDatabases.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_VacuumAllDatabases.ksh|See the detailed help for sqwpg_VacuumAllDatabases.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_VacuumAllDatabases.ksh|See the detailed help for sqwpg_VacuumAllDatabases.ksh]]<br><br> | ||
=== sqwpg_VacuumDatabase.ksh === | === sqwpg_VacuumDatabase.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/bin/sqwpg_VacuumDatabase.ksh:<br> |
{{SQWareProduction_sqwpg_VacuumDatabase.ksh_presentation}} | {{SQWareProduction_sqwpg_VacuumDatabase.ksh_presentation}} | ||
[[SQWareProduction:postgres:bin:sqwpg_VacuumDatabase.ksh|See the detailed help for sqwpg_VacuumDatabase.ksh]]<br><br> | [[SQWareProduction:postgres:bin:sqwpg_VacuumDatabase.ksh|See the detailed help for sqwpg_VacuumDatabase.ksh]]<br><br> | ||
Line 71: | Line 71: | ||
== etc == | == etc == | ||
=== sqwpg_CreInst_CrontabRef.cfg === | === sqwpg_CreInst_CrontabRef.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_CrontabRef.cfg:<br> |
{{SQWareProduction_sqwpg_CreInst_CrontabRef.cfg_presentation}} | {{SQWareProduction_sqwpg_CreInst_CrontabRef.cfg_presentation}} | ||
<br> | <br> | ||
Line 77: | Line 77: | ||
=== sqwpg_CreInst_Jobs.cfg === | === sqwpg_CreInst_Jobs.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Jobs.cfg:<br> |
{{SQWareProduction_sqwpg_CreInst_Jobs.cfg_presentation}} | {{SQWareProduction_sqwpg_CreInst_Jobs.cfg_presentation}} | ||
<br> | <br> | ||
Line 83: | Line 83: | ||
=== sqwpg_DbRefVar.cfg === | === sqwpg_DbRefVar.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_PgBin/../etc/sqwpg_DbRefVar.cfg:<br> |
{{SQWareProduction_sqwpg_DbRefVar.cfg_presentation}} | {{SQWareProduction_sqwpg_DbRefVar.cfg_presentation}} | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeVar|postgres| | + | {{SQWareProductionSurchargeVar|postgres|Pg|sqwpg_DbRefVar.cfg}} |
[[SQWareProduction:postgres:etc:sqwpg_DbRefVar.cfg|See the detailed help for sqwpg_DbRefVar.cfg]]<br><br> | [[SQWareProduction:postgres:etc:sqwpg_DbRefVar.cfg|See the detailed help for sqwpg_DbRefVar.cfg]]<br><br> | ||
=== sqwpg_GlobalVar.cfg === | === sqwpg_GlobalVar.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_PgBin/../etc/sqwpg_GlobalVar.cfg:<br> |
{{SQWareProduction_sqwpg_GlobalVar.cfg_presentation}} | {{SQWareProduction_sqwpg_GlobalVar.cfg_presentation}} | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeVar|postgres| | + | {{SQWareProductionSurchargeVar|postgres|Pg|sqwpg_GlobalVar.cfg}} |
[[SQWareProduction:postgres:etc:sqwpg_GlobalVar.cfg|See the detailed help for sqwpg_GlobalVar.cfg]]<br><br> | [[SQWareProduction:postgres:etc:sqwpg_GlobalVar.cfg|See the detailed help for sqwpg_GlobalVar.cfg]]<br><br> | ||
=== sqwpg_IndicatorsVar.cfg === | === sqwpg_IndicatorsVar.cfg === | ||
− | Configuration file $ | + | Configuration file $gvsqw_PgBin/../etc/sqwpg_IndicatorsVar.cfg:<br> |
{{SQWareProduction_sqwpg_IndicatorsVar.cfg_presentation}} | {{SQWareProduction_sqwpg_IndicatorsVar.cfg_presentation}} | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeVar|postgres| | + | {{SQWareProductionSurchargeVar|postgres|Pg|sqwpg_IndicatorsVar.cfg}} |
[[SQWareProduction:postgres:etc:sqwpg_IndicatorsVar.cfg|See the detailed help for sqwpg_IndicatorsVar.cfg]]<br><br> | [[SQWareProduction:postgres:etc:sqwpg_IndicatorsVar.cfg|See the detailed help for sqwpg_IndicatorsVar.cfg]]<br><br> | ||
=== .profile === | === .profile === | ||
− | Sample file for .profile $ | + | Sample file for .profile $gvsqw_PgBin/../etc/.profile:<br> |
Sample of lines to add to .profile of postgres users.<br> | Sample of lines to add to .profile of postgres users.<br> | ||
[[SQWareProduction:postgres:etc:.profile|See the detailed help for .profile]]<br> | [[SQWareProduction:postgres:etc:.profile|See the detailed help for .profile]]<br> | ||
=== .profile_confort === | === .profile_confort === | ||
− | File to put aliases $ | + | File to put aliases $gvsqw_PgBin/../etc/.profile_confort:<br> |
Contains confort aliases of SQWareProduction for RDBMS postgres.<br> | Contains confort aliases of SQWareProduction for RDBMS postgres.<br> | ||
− | {{SQWareProductionSurchargeConfort|postgres| | + | {{SQWareProductionSurchargeConfort|postgres|Pg}} |
<br> | <br> | ||
[[SQWareProduction:postgres:etc:.profile_confort|See the detailed help for .profile_confort]]<br><br> | [[SQWareProduction:postgres:etc:.profile_confort|See the detailed help for .profile_confort]]<br><br> | ||
Line 119: | Line 119: | ||
== lib == | == lib == | ||
=== sqwpg_CheckIndicators.lib === | === sqwpg_CheckIndicators.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_CheckIndicators.lib:<br> |
{{SQWareProduction_sqwpg_CheckIndicators.lib_presentation}} | {{SQWareProduction_sqwpg_CheckIndicators.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_CheckIndicators.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_CheckIndicators.lib|See the detailed help for sqwpg_CheckIndicators.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_CheckIndicators.lib|See the detailed help for sqwpg_CheckIndicators.lib]]<br><br> | ||
=== sqwpg_CheckIndicators_Overload.lib === | === sqwpg_CheckIndicators_Overload.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_CheckIndicators_Overload.lib:<br> |
{{SQWareProduction_sqwpg_CheckIndicators_Overload.lib_presentation}} | {{SQWareProduction_sqwpg_CheckIndicators_Overload.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_CheckIndicators_Overload.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_CheckIndicators_Overload.lib|See the detailed help for sqwpg_CheckIndicators_Overload.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_CheckIndicators_Overload.lib|See the detailed help for sqwpg_CheckIndicators_Overload.lib]]<br><br> | ||
=== sqwpg_DumpDatabase.lib === | === sqwpg_DumpDatabase.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_DumpDatabase.lib:<br> |
{{SQWareProduction_sqwpg_DumpDatabase.lib_presentation}} | {{SQWareProduction_sqwpg_DumpDatabase.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_DumpDatabase.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_DumpDatabase.lib|See the detailed help for sqwpg_DumpDatabase.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_DumpDatabase.lib|See the detailed help for sqwpg_DumpDatabase.lib]]<br><br> | ||
=== sqwpg_DumpGlobalsOnly.lib === | === sqwpg_DumpGlobalsOnly.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_DumpGlobalsOnly.lib:<br> |
{{SQWareProduction_sqwpg_DumpGlobalsOnly.lib_presentation}} | {{SQWareProduction_sqwpg_DumpGlobalsOnly.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_DumpGlobalsOnly.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_DumpGlobalsOnly.lib|See the detailed help for sqwpg_DumpGlobalsOnly.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_DumpGlobalsOnly.lib|See the detailed help for sqwpg_DumpGlobalsOnly.lib]]<br><br> | ||
=== sqwpg_GatherIndicators.lib === | === sqwpg_GatherIndicators.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_GatherIndicators.lib:<br> |
{{SQWareProduction_sqwpg_GatherIndicators.lib_presentation}} | {{SQWareProduction_sqwpg_GatherIndicators.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_GatherIndicators.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_GatherIndicators.lib|See the detailed help for sqwpg_GatherIndicators.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_GatherIndicators.lib|See the detailed help for sqwpg_GatherIndicators.lib]]<br><br> | ||
=== sqwpg_GatherIndicators_Overload.lib === | === sqwpg_GatherIndicators_Overload.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_GatherIndicators_Overload.lib:<br> |
{{SQWareProduction_sqwpg_GatherIndicators_Overload.lib_presentation}} | {{SQWareProduction_sqwpg_GatherIndicators_Overload.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_GatherIndicators_Overload.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_GatherIndicators_Overload.lib|See the detailed help for sqwpg_GatherIndicators_Overload.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_GatherIndicators_Overload.lib|See the detailed help for sqwpg_GatherIndicators_Overload.lib]]<br><br> | ||
=== sqwpg_GenerateCreateInstance.lib === | === sqwpg_GenerateCreateInstance.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_GenerateCreateInstance.lib:<br> |
{{SQWareProduction_sqwpg_GenerateCreateInstance.lib_presentation}} | {{SQWareProduction_sqwpg_GenerateCreateInstance.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_GenerateCreateInstance.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_GenerateCreateInstance.lib|See the detailed help for sqwpg_GenerateCreateInstance.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_GenerateCreateInstance.lib|See the detailed help for sqwpg_GenerateCreateInstance.lib]]<br><br> | ||
=== sqwpg_Global.lib === | === sqwpg_Global.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_Global.lib:<br> |
{{SQWareProduction_sqwpg_Global.lib_presentation}} | {{SQWareProduction_sqwpg_Global.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_Global.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_Global.lib|See the detailed help for sqwpg_Global.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_Global.lib|See the detailed help for sqwpg_Global.lib]]<br><br> | ||
=== sqwpg_InsertIndicators.lib === | === sqwpg_InsertIndicators.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_InsertIndicators.lib:<br> |
{{SQWareProduction_sqwpg_InsertIndicators.lib_presentation}} | {{SQWareProduction_sqwpg_InsertIndicators.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_InsertIndicators.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_InsertIndicators.lib|See the detailed help for sqwpg_InsertIndicators.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_InsertIndicators.lib|See the detailed help for sqwpg_InsertIndicators.lib]]<br><br> | ||
=== sqwpg_SetEnv.lib === | === sqwpg_SetEnv.lib === | ||
− | shell functions library $ | + | shell functions library $gvsqw_PgBin/../lib/sqwpg_SetEnv.lib:<br> |
{{SQWareProduction_sqwpg_SetEnv.lib_presentation}} | {{SQWareProduction_sqwpg_SetEnv.lib_presentation}} | ||
− | {{SQWareProductionSurchargeLib|postgres| | + | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_SetEnv.lib}} |
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_SetEnv.lib|See the detailed help for sqwpg_SetEnv.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_SetEnv.lib|See the detailed help for sqwpg_SetEnv.lib]]<br><br> | ||
Line 195: | Line 195: | ||
== tools == | == tools == | ||
=== sqwpg_GenerateCreateInstance.ksh === | === sqwpg_GenerateCreateInstance.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/../tools/sqwpg_GenerateCreateInstance.ksh:<br> |
{{SQWareProduction_sqwpg_GenerateCreateInstance.ksh_presentation}} | {{SQWareProduction_sqwpg_GenerateCreateInstance.ksh_presentation}} | ||
[[SQWareProduction:postgres:tools:sqwpg_GenerateCreateInstance.ksh|See the detailed help for sqwpg_GenerateCreateInstance.ksh]]<br><br> | [[SQWareProduction:postgres:tools:sqwpg_GenerateCreateInstance.ksh|See the detailed help for sqwpg_GenerateCreateInstance.ksh]]<br><br> | ||
=== sqwpg_SetEnv.ksh === | === sqwpg_SetEnv.ksh === | ||
− | Script $ | + | Script $gvsqw_PgBin/../tools/sqwpg_SetEnv.ksh:<br> |
{{SQWareProduction_sqwpg_SetEnv.ksh_presentation}} | {{SQWareProduction_sqwpg_SetEnv.ksh_presentation}} | ||
<br> | <br> | ||
− | {{SQWareProductionSurchargeToo|postgres| | + | {{SQWareProductionSurchargeToo|postgres|Pg|sqwpg_SetEnv.ksh}} |
[[SQWareProduction:postgres:tools:sqwpg_SetEnv.ksh|See the detailed help for sqwpg_SetEnv.ksh]]<br><br> | [[SQWareProduction:postgres:tools:sqwpg_SetEnv.ksh|See the detailed help for sqwpg_SetEnv.ksh]]<br><br> | ||
Revision as of 20:30, 18 January 2013
Contents
- 1 Presentation
- 2 bin
- 2.1 sqwpg_AnalyzeAllDatabases.ksh
- 2.2 sqwpg_AnalyzeDatabase.ksh
- 2.3 sqwpg_CheckIndicators.ksh
- 2.4 sqwpg_DumpAllDatabases.ksh
- 2.5 sqwpg_DumpDatabase.ksh
- 2.6 sqwpg_DumpGlobalsOnly.ksh
- 2.7 sqwpg_GatherIndicators.ksh
- 2.8 sqwpg_ParallelRun.ksh
- 2.9 sqwpg_ReindexAllDatabases.ksh
- 2.10 sqwpg_ReindexDatabase.ksh
- 2.11 sqwpg_RunJob.ksh
- 2.12 sqwpg_VacuumAllDatabases.ksh
- 2.13 sqwpg_VacuumDatabase.ksh
- 3 etc
- 4 lib
- 4.1 sqwpg_CheckIndicators.lib
- 4.2 sqwpg_CheckIndicators_Overload.lib
- 4.3 sqwpg_DumpDatabase.lib
- 4.4 sqwpg_DumpGlobalsOnly.lib
- 4.5 sqwpg_GatherIndicators.lib
- 4.6 sqwpg_GatherIndicators_Overload.lib
- 4.7 sqwpg_GenerateCreateInstance.lib
- 4.8 sqwpg_Global.lib
- 4.9 sqwpg_InsertIndicators.lib
- 4.10 sqwpg_SetEnv.lib
- 5 menu
- 6 tools
- 7 help
- 8 spm
Presentation
Usage
It's the module locally operating of postgres.
It is entirely written in ksh and sql.
It allows to manage the operation for postgres.
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 postgres
Explanation of directories
Directories located in $gvsqw_PgBin:
- 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
sqwpg_AnalyzeAllDatabases.ksh
Script $gvsqw_PgBin/bin/sqwpg_AnalyzeAllDatabases.ksh:
Run of sqwpg_AnalyzeDatabase.ksh in parallel mode on all databases
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 sqwpg_AnalyzeAllDatabases.ksh
sqwpg_AnalyzeDatabase.ksh
Script $gvsqw_PgBin/bin/sqwpg_AnalyzeDatabase.ksh:
Update statistics of all tables for the database
Use command: analyse local table <TableName>
See the detailed help for sqwpg_AnalyzeDatabase.ksh
sqwpg_CheckIndicators.ksh
Script $gvsqw_PgBin/bin/sqwpg_CheckIndicators.ksh:
Checks the indicators collected by sqwpg_GatherIndicators.ksh
indicators are stored in SQWareRepository
generates email in html format with links to SQWareWeb
Standards checks:
- Instances without indicators
- Usage rate of FS
- Instances without backup succeed since ${gvsqw_NbDaysFull} days
- Databases without backup full succeed since ${gvsqw_NbDaysFull} days
See the detailed help for sqwpg_CheckIndicators.ksh
sqwpg_DumpAllDatabases.ksh
Script $gvsqw_PgBin/bin/sqwpg_DumpAllDatabases.ksh:
Run of sqwpg_DumpDatabase.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 sqwpg_DumpAllDatabases.ksh
sqwpg_DumpDatabase.ksh
Script $gvsqw_PgBin/bin/sqwpg_DumpDatabase.ksh:
Generate pg_dump of database
Script makes purge of old generation automatically
You can also choose:
- different retention policy
- add option to pg_dump command
- choose compressor
See the detailed help for sqwpg_DumpDatabase.ksh
sqwpg_DumpGlobalsOnly.ksh
Script $gvsqw_PgBin/bin/sqwpg_DumpGlobalsOnly.ksh:
Generate pg_dumpall -g (--globals-only) compressed by pipe
Script makes purge of old generation automatically
You can also choose:
- different retention policy
- add option to pg_dumpall command
- choose compressor
See the detailed help for sqwpg_DumpGlobalsOnly.ksh
sqwpg_GatherIndicators.ksh
Script $gvsqw_PgBin/bin/sqwpg_GatherIndicators.ksh:
Gather PostgreSQL indicators and put them in SQWareRepository
Summary of collection:
- Volumetry of instance
- Volumetry of databases
- Volumetry of tablespaces
- Volumetry of tables
- Volumetry (use, free) of FS
- Version, options, configuration, ... of instance
See the detailed help for sqwpg_GatherIndicators.ksh
sqwpg_ParallelRun.ksh
Script $gvsqw_PgBin/bin/sqwpg_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 sqwpg_ParallelRun.ksh
sqwpg_ReindexAllDatabases.ksh
Script $gvsqw_PgBin/bin/sqwpg_ReindexAllDatabases.ksh:
Run of sqwpg_ReindexDatabase.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 sqwpg_ReindexAllDatabases.ksh
sqwpg_ReindexDatabase.ksh
Script $gvsqw_PgBin/bin/sqwpg_ReindexDatabase.ksh:
Reorganize of all tables for the database
Use command: optimize local table <TableName>
See the detailed help for sqwpg_ReindexDatabase.ksh
sqwpg_RunJob.ksh
Script $gvsqw_PgBin/bin/sqwpg_RunJob.ksh:
Run PostgreSQL scripts and generate log and error file
based on $gvsqw_RootCfg/sqwpg_Jobs.cfg configuration file
compress and purge oldest log files
See the detailed help for sqwpg_RunJob.ksh
sqwpg_VacuumAllDatabases.ksh
Script $gvsqw_PgBin/bin/sqwpg_VacuumAllDatabases.ksh:
Run of sqwpg_VacuumDatabase.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 sqwpg_VacuumAllDatabases.ksh
sqwpg_VacuumDatabase.ksh
Script $gvsqw_PgBin/bin/sqwpg_VacuumDatabase.ksh:
VACUUM of all tables for the database
Use command: VACUUM
See the detailed help for sqwpg_VacuumDatabase.ksh
etc
sqwpg_CreInst_CrontabRef.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_CrontabRef.cfg:
See the detailed help for sqwpg_CreInst_CrontabRef.cfg
sqwpg_CreInst_Jobs.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Jobs.cfg:
See the detailed help for sqwpg_CreInst_Jobs.cfg
sqwpg_DbRefVar.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_DbRefVar.cfg:
Global var for indicators
It contains the operating variables of SQWareProduction.
See the detailed help for sqwpg_DbRefVar.cfg
sqwpg_GlobalVar.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_GlobalVar.cfg:
Global var for Postgres
It contains the operating variables of SQWareProduction.
See the detailed help for sqwpg_GlobalVar.cfg
sqwpg_IndicatorsVar.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_IndicatorsVar.cfg:
Global var for indicators scripts
It contains the operating variables of SQWareProduction.
See the detailed help for sqwpg_IndicatorsVar.cfg
.profile
Sample file for .profile $gvsqw_PgBin/../etc/.profile:
Sample of lines to add to .profile of postgres users.
See the detailed help for .profile
.profile_confort
File to put aliases $gvsqw_PgBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for RDBMS postgres.
See the detailed help for .profile_confort
lib
sqwpg_CheckIndicators.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_CheckIndicators.lib:
lib for sqwpg_CheckIndicators.ksh
See the detailed help for sqwpg_CheckIndicators.lib
sqwpg_CheckIndicators_Overload.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_CheckIndicators_Overload.lib:
temple lib for overload sqwpg_CheckIndicators.ksh
See the detailed help for sqwpg_CheckIndicators_Overload.lib
sqwpg_DumpDatabase.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_DumpDatabase.lib:
lib for sqwpg_DumpDatabase.ksh
See the detailed help for sqwpg_DumpDatabase.lib
sqwpg_DumpGlobalsOnly.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_DumpGlobalsOnly.lib:
lib for sqwpg_DumpGlobalsOnly.ksh
See the detailed help for sqwpg_DumpGlobalsOnly.lib
sqwpg_GatherIndicators.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_GatherIndicators.lib:
lib for sqwpg_GatherIndicators.ksh
See the detailed help for sqwpg_GatherIndicators.lib
sqwpg_GatherIndicators_Overload.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_GatherIndicators_Overload.lib:
lib for overLoad sqwpg_GatherIndicators.ksh
See the detailed help for sqwpg_GatherIndicators_Overload.lib
sqwpg_GenerateCreateInstance.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_GenerateCreateInstance.lib:
lib for generate create instance
See the detailed help for sqwpg_GenerateCreateInstance.lib
sqwpg_Global.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_Global.lib:
central lib of generic fonctions for postgres
See the detailed help for sqwpg_Global.lib
sqwpg_InsertIndicators.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_InsertIndicators.lib:
generic fonctions to insert into referential
See the detailed help for sqwpg_InsertIndicators.lib
sqwpg_SetEnv.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_SetEnv.lib:
fonction to set env for $PG_SID
See the detailed help for sqwpg_SetEnv.lib
tools
sqwpg_GenerateCreateInstance.ksh
Script $gvsqw_PgBin/../tools/sqwpg_GenerateCreateInstance.ksh:
Generate create instance files
See the detailed help for sqwpg_GenerateCreateInstance.ksh
sqwpg_SetEnv.ksh
Script $gvsqw_PgBin/../tools/sqwpg_SetEnv.ksh:
set env for $PG_SID
See the detailed help for sqwpg_SetEnv.ksh
help
Contains help files for -s option of bin scripts.
spm
SQL query toolkit
See the detailed help for spm