Difference between revisions of "SQWareProduction:postgres"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 266: | Line 266: | ||
== lib == | == lib == | ||
+ | === sqwpg_AnalyzeAllDatabases.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_AnalyzeAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_AnalyzeAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_AnalyzeAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_AnalyzeAllDatabases.lib|See the detailed help for sqwpg_AnalyzeAllDatabases.lib]]<br><br> | ||
+ | |||
+ | === sqwpg_AnalyzeDatabase.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_AnalyzeDatabase.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_AnalyzeDatabase.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_AnalyzeDatabase.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_AnalyzeDatabase.lib|See the detailed help for sqwpg_AnalyzeDatabase.lib]]<br><br> | ||
+ | |||
=== sqwpg_ArchiveXlog.lib === | === sqwpg_ArchiveXlog.lib === | ||
shell functions library $gvsqw_PgBin/../lib/sqwpg_ArchiveXlog.lib:<br> | shell functions library $gvsqw_PgBin/../lib/sqwpg_ArchiveXlog.lib:<br> | ||
Line 286: | Line 300: | ||
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_BackupPitr.lib|See the detailed help for sqwpg_BackupPitr.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_BackupPitr.lib|See the detailed help for sqwpg_BackupPitr.lib]]<br><br> | ||
+ | |||
+ | === sqwpg_CopyDumpAllDatabases.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_CopyDumpAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_CopyDumpAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_CopyDumpAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_CopyDumpAllDatabases.lib|See the detailed help for sqwpg_CopyDumpAllDatabases.lib]]<br><br> | ||
=== sqwpg_CopyDumpDatabase.lib === | === sqwpg_CopyDumpDatabase.lib === | ||
Line 349: | Line 370: | ||
<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_GenericRefresh.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_GenericRefresh.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_GenericRefresh.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_GenericRefresh.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_GenericRefresh.lib|See the detailed help for sqwpg_GenericRefresh.lib]]<br><br> | ||
=== sqwpg_Global.lib === | === sqwpg_Global.lib === | ||
Line 363: | Line 391: | ||
<br> | <br> | ||
[[SQWareProduction:postgres:lib:sqwpg_NetBackup.lib|See the detailed help for sqwpg_NetBackup.lib]]<br><br> | [[SQWareProduction:postgres:lib:sqwpg_NetBackup.lib|See the detailed help for sqwpg_NetBackup.lib]]<br><br> | ||
+ | |||
+ | === sqwpg_ReindexAllDatabases.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_ReindexAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_ReindexAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_ReindexAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_ReindexAllDatabases.lib|See the detailed help for sqwpg_ReindexAllDatabases.lib]]<br><br> | ||
+ | |||
+ | === sqwpg_ReindexDatabase.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_ReindexDatabase.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_ReindexDatabase.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_ReindexDatabase.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_ReindexDatabase.lib|See the detailed help for sqwpg_ReindexDatabase.lib]]<br><br> | ||
+ | |||
+ | === sqwpg_RestoreAllDatabases.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_RestoreAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_RestoreAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_RestoreAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_RestoreAllDatabases.lib|See the detailed help for sqwpg_RestoreAllDatabases.lib]]<br><br> | ||
=== sqwpg_RestoreDatabase.lib === | === sqwpg_RestoreDatabase.lib === | ||
Line 384: | Line 433: | ||
<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> | ||
+ | |||
+ | === sqwpg_VacuumAllDatabases.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_VacuumAllDatabases.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_VacuumAllDatabases.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_VacuumAllDatabases.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_VacuumAllDatabases.lib|See the detailed help for sqwpg_VacuumAllDatabases.lib]]<br><br> | ||
+ | |||
+ | === sqwpg_VacuumDatabase.lib === | ||
+ | shell functions library $gvsqw_PgBin/../lib/sqwpg_VacuumDatabase.lib:<br> | ||
+ | {{SQWareProduction_sqwpg_VacuumDatabase.lib_presentation}} | ||
+ | {{SQWareProductionSurchargeLib|postgres|Pg|sqwpg_VacuumDatabase.lib}} | ||
+ | <br> | ||
+ | [[SQWareProduction:postgres:lib:sqwpg_VacuumDatabase.lib|See the detailed help for sqwpg_VacuumDatabase.lib]]<br><br> | ||
<br> | <br> |
Revision as of 18:21, 24 January 2023
Contents
- 1 Presentation
- 2 bin
- 2.1 sqwArchmon
- 2.2 sqwpg_AnalyzeAllDatabases.ksh
- 2.3 sqwpg_AnalyzeDatabase.ksh
- 2.4 sqwpg_ArchiveXlog.ksh
- 2.5 sqwpg_BackupArchiveXlog.ksh
- 2.6 sqwpg_BackupPitr.ksh
- 2.7 sqwpg_CopyDumpAllDatabases.ksh
- 2.8 sqwpg_CopyDumpDatabase.ksh
- 2.9 sqwpg_DumpAllDatabases.ksh
- 2.10 sqwpg_DumpDatabase.ksh
- 2.11 sqwpg_DumpGlobalsOnly.ksh
- 2.12 sqwpg_ExecSQL.ksh
- 2.13 sqwpg_GatherIndicators.ksh
- 2.14 sqwpg_GatherStructure.ksh
- 2.15 sqwpg_NetBackup.ksh
- 2.16 sqwpg_ParallelRun.ksh
- 2.17 sqwpg_ReindexAllDatabases.ksh
- 2.18 sqwpg_ReindexDatabase.ksh
- 2.19 sqwpg_RestoreAllDatabases.ksh
- 2.20 sqwpg_RestoreDatabase.ksh
- 2.21 sqwpg_RsyncBackup.ksh
- 2.22 sqwpg_RunJob.ksh
- 2.23 sqwpg_SqwArchmon.ksh
- 2.24 sqwpg_VacuumAllDatabases.ksh
- 2.25 sqwpg_VacuumDatabase.ksh
- 3 etc
- 3.1 postgresql-100.conf
- 3.2 postgresql-110.conf
- 3.3 postgresql-120.conf
- 3.4 postgresql-130.conf
- 3.5 postgresql-140.conf
- 3.6 postgresql-94.conf
- 3.7 postgresql-95.conf
- 3.8 postgresql-96.conf
- 3.9 sqwpg_CreInst_CrontabRef.cfg
- 3.10 sqwpg_CreInst_Init_100.cfg
- 3.11 sqwpg_CreInst_Init_110.cfg
- 3.12 sqwpg_CreInst_Init_120.cfg
- 3.13 sqwpg_CreInst_Init_130.cfg
- 3.14 sqwpg_CreInst_Init_140.cfg
- 3.15 sqwpg_CreInst_Init_94.cfg
- 3.16 sqwpg_CreInst_Init_95.cfg
- 3.17 sqwpg_CreInst_Init_96.cfg
- 3.18 sqwpg_CreInst_Init.cfg
- 3.19 sqwpg_CreInst_Jobs.cfg
- 3.20 sqwpg_GlobalVar.cfg
- 3.21 .profile
- 3.22 .profile_confort
- 4 lib
- 4.1 sqwpg_AnalyzeAllDatabases.lib
- 4.2 sqwpg_AnalyzeDatabase.lib
- 4.3 sqwpg_ArchiveXlog.lib
- 4.4 sqwpg_BackupArchiveXlog.lib
- 4.5 sqwpg_BackupPitr.lib
- 4.6 sqwpg_CopyDumpAllDatabases.lib
- 4.7 sqwpg_CopyDumpDatabase.lib
- 4.8 sqwpg_DumpAllDatabases.lib
- 4.9 sqwpg_DumpDatabase.lib
- 4.10 sqwpg_DumpGlobalsOnly.lib
- 4.11 sqwpg_ExecSQL.lib
- 4.12 sqwpg_GatherIndicators.lib
- 4.13 sqwpg_GatherIndicators_Overload.lib
- 4.14 sqwpg_GatherStructure.lib
- 4.15 sqwpg_GenerateCreateInstance.lib
- 4.16 sqwpg_GenericRefresh.lib
- 4.17 sqwpg_Global.lib
- 4.18 sqwpg_NetBackup.lib
- 4.19 sqwpg_ReindexAllDatabases.lib
- 4.20 sqwpg_ReindexDatabase.lib
- 4.21 sqwpg_RestoreAllDatabases.lib
- 4.22 sqwpg_RestoreDatabase.lib
- 4.23 sqwpg_RsyncBackup.lib
- 4.24 sqwpg_SetEnv.lib
- 4.25 sqwpg_VacuumAllDatabases.lib
- 4.26 sqwpg_VacuumDatabase.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
sqwArchmon
Script $gvsqw_PgBin/bin/sqwArchmon:
See the detailed help for sqwArchmon
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_ArchiveXlog.ksh
Script $gvsqw_PgBin/bin/sqwpg_ArchiveXlog.ksh:
archive xlog/wal
See the detailed help for sqwpg_ArchiveXlog.ksh
sqwpg_BackupArchiveXlog.ksh
Script $gvsqw_PgBin/bin/sqwpg_BackupArchiveXlog.ksh:
Backup all archivelogs (often runned by the sqwarchmon daemon)
See the detailed help for sqwpg_BackupArchiveXlog.ksh
sqwpg_BackupPitr.ksh
Script $gvsqw_PgBin/bin/sqwpg_BackupPitr.ksh:
backup PITR from PG cluster
See the detailed help for sqwpg_BackupPitr.ksh
sqwpg_CopyDumpAllDatabases.ksh
Script $gvsqw_PgBin/bin/sqwpg_CopyDumpAllDatabases.ksh:
Run of sqwpg_CopyDumpDatabase.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_CopyDumpAllDatabases.ksh
sqwpg_CopyDumpDatabase.ksh
Script $gvsqw_PgBin/bin/sqwpg_CopyDumpDatabase.ksh:
See the detailed help for sqwpg_CopyDumpDatabase.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_ExecSQL.ksh
Script $gvsqw_PgBin/bin/sqwpg_ExecSQL.ksh:
execute SQL file on instance
See the detailed help for sqwpg_ExecSQL.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_GatherStructure.ksh
Script $gvsqw_PgBin/bin/sqwpg_GatherStructure.ksh:
Gather PostgreSQL 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 sqwpg_GatherStructure.ksh
sqwpg_NetBackup.ksh
Script $gvsqw_PgBin/bin/sqwpg_NetBackup.ksh:
backup with NetBackup dump/backup files
See the detailed help for sqwpg_NetBackup.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_RestoreAllDatabases.ksh
Script $gvsqw_PgBin/bin/sqwpg_RestoreAllDatabases.ksh:
Run of sqwpg_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 sqwpg_RestoreAllDatabases.ksh
sqwpg_RestoreDatabase.ksh
Script $gvsqw_PgBin/bin/sqwpg_RestoreDatabase.ksh:
See the detailed help for sqwpg_RestoreDatabase.ksh
sqwpg_RsyncBackup.ksh
Script $gvsqw_PgBin/bin/sqwpg_RsyncBackup.ksh:
rsync dir (without delete) to an other host
See the detailed help for sqwpg_RsyncBackup.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_SqwArchmon.ksh
Script $gvsqw_PgBin/bin/sqwpg_SqwArchmon.ksh:
See the detailed help for sqwpg_SqwArchmon.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
postgresql-100.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-100.conf:
See the detailed help for postgresql-100.conf
postgresql-110.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-110.conf:
See the detailed help for postgresql-110.conf
postgresql-120.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-120.conf:
See the detailed help for postgresql-120.conf
postgresql-130.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-130.conf:
See the detailed help for postgresql-130.conf
postgresql-140.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-140.conf:
See the detailed help for postgresql-140.conf
postgresql-94.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-94.conf:
See the detailed help for postgresql-94.conf
postgresql-95.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-95.conf:
See the detailed help for postgresql-95.conf
postgresql-96.conf
Configuration file $gvsqw_PgBin/../etc/postgresql-96.conf:
See the detailed help for postgresql-96.conf
sqwpg_CreInst_CrontabRef.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_CrontabRef.cfg:
See the detailed help for sqwpg_CreInst_CrontabRef.cfg
sqwpg_CreInst_Init_100.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_100.cfg:
See the detailed help for sqwpg_CreInst_Init_100.cfg
sqwpg_CreInst_Init_110.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_110.cfg:
See the detailed help for sqwpg_CreInst_Init_110.cfg
sqwpg_CreInst_Init_120.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_120.cfg:
See the detailed help for sqwpg_CreInst_Init_120.cfg
sqwpg_CreInst_Init_130.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_130.cfg:
See the detailed help for sqwpg_CreInst_Init_130.cfg
sqwpg_CreInst_Init_140.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_140.cfg:
See the detailed help for sqwpg_CreInst_Init_140.cfg
sqwpg_CreInst_Init_94.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_94.cfg:
See the detailed help for sqwpg_CreInst_Init_94.cfg
sqwpg_CreInst_Init_95.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_95.cfg:
See the detailed help for sqwpg_CreInst_Init_95.cfg
sqwpg_CreInst_Init_96.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init_96.cfg:
See the detailed help for sqwpg_CreInst_Init_96.cfg
sqwpg_CreInst_Init.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Init.cfg:
See the detailed help for sqwpg_CreInst_Init.cfg
sqwpg_CreInst_Jobs.cfg
Configuration file $gvsqw_PgBin/../etc/sqwpg_CreInst_Jobs.cfg:
See the detailed help for sqwpg_CreInst_Jobs.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
.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 postgres.
See the detailed help for .profile_confort
lib
sqwpg_AnalyzeAllDatabases.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_AnalyzeAllDatabases.lib:
lib for sqwpg_AnalyzeAllDatabases.ksh
See the detailed help for sqwpg_AnalyzeAllDatabases.lib
sqwpg_AnalyzeDatabase.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_AnalyzeDatabase.lib:
lib for sqwpg_AnalyzeDatabase.ksh
See the detailed help for sqwpg_AnalyzeDatabase.lib
sqwpg_ArchiveXlog.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_ArchiveXlog.lib:
lib for sqwpg_ArchiveXlog.ksh
See the detailed help for sqwpg_ArchiveXlog.lib
sqwpg_BackupArchiveXlog.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_BackupArchiveXlog.lib:
lib for sqwpg_BackupArchiveXlog.ksh
See the detailed help for sqwpg_BackupArchiveXlog.lib
sqwpg_BackupPitr.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_BackupPitr.lib:
lib for sqwpg_BackupPitr.ksh
See the detailed help for sqwpg_BackupPitr.lib
sqwpg_CopyDumpAllDatabases.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_CopyDumpAllDatabases.lib:
lib for sqwpg_CopyDumpAllDatabases.ksh
See the detailed help for sqwpg_CopyDumpAllDatabases.lib
sqwpg_CopyDumpDatabase.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_CopyDumpDatabase.lib:
lib for sqwpg_CopyDumpDatabase.ksh
See the detailed help for sqwpg_CopyDumpDatabase.lib
sqwpg_DumpAllDatabases.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_DumpAllDatabases.lib:
lib for sqwpg_DumpDatabase.ksh
See the detailed help for sqwpg_DumpAllDatabases.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_ExecSQL.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_ExecSQL.lib:
lib for sqwpg_ExecSQL.ksh
See the detailed help for sqwpg_ExecSQL.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_GatherStructure.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_GatherStructure.lib:
lib for sqwpg_GatherStructure.ksh
See the detailed help for sqwpg_GatherStructure.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_GenericRefresh.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_GenericRefresh.lib:
lib for sqwpg_CopyDumpDatabase.ksh
See the detailed help for sqwpg_GenericRefresh.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_NetBackup.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_NetBackup.lib:
lib for sqwgen_NetBackup.ksh
See the detailed help for sqwpg_NetBackup.lib
sqwpg_ReindexAllDatabases.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_ReindexAllDatabases.lib:
lib for sqwpg_ReindexAllDatabases.ksh
See the detailed help for sqwpg_ReindexAllDatabases.lib
sqwpg_ReindexDatabase.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_ReindexDatabase.lib:
lib for sqwpg_ReindexDatabase.ksh
See the detailed help for sqwpg_ReindexDatabase.lib
sqwpg_RestoreAllDatabases.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_RestoreAllDatabases.lib:
lib for sqwpg_RestoreAllDatabases.ksh
See the detailed help for sqwpg_RestoreAllDatabases.lib
sqwpg_RestoreDatabase.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_RestoreDatabase.lib:
lib for sqwpg_RestoreDatabase.ksh
See the detailed help for sqwpg_RestoreDatabase.lib
sqwpg_RsyncBackup.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_RsyncBackup.lib:
lib for sqwgen_RsyncBackup.ksh.ksh
See the detailed help for sqwpg_RsyncBackup.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
sqwpg_VacuumAllDatabases.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_VacuumAllDatabases.lib:
lib for sqwpg_VacuumAllDatabases.ksh
See the detailed help for sqwpg_VacuumAllDatabases.lib
sqwpg_VacuumDatabase.lib
shell functions library $gvsqw_PgBin/../lib/sqwpg_VacuumDatabase.lib:
lib for sqwpg_VacuumDatabase.ksh
See the detailed help for sqwpg_VacuumDatabase.lib
tools
sqwpg_Crypt.ksh
Script $gvsqw_PgBin/../tools/sqwpg_Crypt.ksh:
Generic script to crypt file with openssl
See the detailed help for sqwpg_Crypt.ksh
sqwpg_GenerateCreateInstance.ksh
Script $gvsqw_PgBin/../tools/sqwpg_GenerateCreateInstance.ksh:
Generate create instance files
See the detailed help for sqwpg_GenerateCreateInstance.ksh
sqwpg_ListAsyncFilesGlobal.ksh
Script $gvsqw_PgBin/../tools/sqwpg_ListAsyncFilesGlobal.ksh:
List Async files (sql, log, mail) to upload in SQWareCentral (all in a directory)
See the detailed help for sqwpg_ListAsyncFilesGlobal.ksh
sqwpg_ListAsyncFiles.ksh
Script $gvsqw_PgBin/../tools/sqwpg_ListAsyncFiles.ksh:
List Async files (sql, log, mail) to upload in SQWareCentral
See the detailed help for sqwpg_ListAsyncFiles.ksh
sqwpg_SetEnv.ksh
Script $gvsqw_PgBin/../tools/sqwpg_SetEnv.ksh:
set env for $PG_SID
See the detailed help for sqwpg_SetEnv.ksh
sqwpg_TestInstConnection.ksh
Script $gvsqw_PgBin/../tools/sqwpg_TestInstConnection.ksh:
Test instance connection
See the detailed help for sqwpg_TestInstConnection.ksh
sqwpg_TestMySQL.ksh
Script $gvsqw_PgBin/../tools/sqwpg_TestMySQL.ksh:
Generic test MySQL connection script
See the detailed help for sqwpg_TestMySQL.ksh
sqwpg_TestSendmail.ksh
Script $gvsqw_PgBin/../tools/sqwpg_TestSendmail.ksh:
Generic test sendmail script
See the detailed help for sqwpg_TestSendmail.ksh
sqwpg_Uncrypt.ksh
Script $gvsqw_PgBin/../tools/sqwpg_Uncrypt.ksh:
Generic script to uncrypt file with openssl
See the detailed help for sqwpg_Uncrypt.ksh
help
Contains help files for "-s" option of bin scripts.
spm
SQL query toolkit
See the detailed help for spm