Difference between revisions of "SQWareProduction:mysql"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
 
m (Updated by Expdbtools)
Line 6: Line 6:
 
// execution of sqwmys_AnalyzeDatabase.ksh for all databases
 
// execution of sqwmys_AnalyzeDatabase.ksh for all databases
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_AnalyzeAllDatabases.ksh|Voir l'aide détaillée pour sqwmys_AnalyzeAllDatabases.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_AnalyzeAllDatabases.ksh|Voir l'aide détaillée pour sqwmys_AnalyzeAllDatabases.ksh]]<br>
  
 
=== sqwmys_AnalyzeDatabase.ksh ===
 
=== sqwmys_AnalyzeDatabase.ksh ===
Line 12: Line 12:
 
Analyse tables of database
 
Analyse tables of database
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_AnalyzeDatabase.ksh|Voir l'aide détaillée pour sqwmys_AnalyzeDatabase.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_AnalyzeDatabase.ksh|Voir l'aide détaillée pour sqwmys_AnalyzeDatabase.ksh]]<br>
  
 
=== sqwmys_CheckIndicators.ksh ===
 
=== sqwmys_CheckIndicators.ksh ===
Line 18: Line 18:
 
Check DBA indicators  
 
Check DBA indicators  
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_CheckIndicators.ksh|Voir l'aide détaillée pour sqwmys_CheckIndicators.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_CheckIndicators.ksh|Voir l'aide détaillée pour sqwmys_CheckIndicators.ksh]]<br>
  
 
=== sqwmys_DumpAllDatabases.ksh ===
 
=== sqwmys_DumpAllDatabases.ksh ===
Line 24: Line 24:
 
// execution of sqwmys_DumpDatabase.ksh for all databases
 
// execution of sqwmys_DumpDatabase.ksh for all databases
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_DumpAllDatabases.ksh|Voir l'aide détaillée pour sqwmys_DumpAllDatabases.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_DumpAllDatabases.ksh|Voir l'aide détaillée pour sqwmys_DumpAllDatabases.ksh]]<br>
  
 
=== sqwmys_DumpDatabase.ksh ===
 
=== sqwmys_DumpDatabase.ksh ===
Line 30: Line 30:
 
mysqldump of database
 
mysqldump of database
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_DumpDatabase.ksh|Voir l'aide détaillée pour sqwmys_DumpDatabase.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_DumpDatabase.ksh|Voir l'aide détaillée pour sqwmys_DumpDatabase.ksh]]<br>
  
 
=== sqwmys_GatherIndicators.ksh ===
 
=== sqwmys_GatherIndicators.ksh ===
Line 36: Line 36:
 
Gather DBA indicators
 
Gather DBA indicators
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_GatherIndicators.ksh|Voir l'aide détaillée pour sqwmys_GatherIndicators.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_GatherIndicators.ksh|Voir l'aide détaillée pour sqwmys_GatherIndicators.ksh]]<br>
  
 
=== sqwmys_OptimizeAllDatabases.ksh ===
 
=== sqwmys_OptimizeAllDatabases.ksh ===
Line 42: Line 42:
 
// execution of sqwmys_OptimizeDatabase.ksh for all databases
 
// execution of sqwmys_OptimizeDatabase.ksh for all databases
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_OptimizeAllDatabases.ksh|Voir l'aide détaillée pour sqwmys_OptimizeAllDatabases.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_OptimizeAllDatabases.ksh|Voir l'aide détaillée pour sqwmys_OptimizeAllDatabases.ksh]]<br>
  
 
=== sqwmys_OptimizeDatabase.ksh ===
 
=== sqwmys_OptimizeDatabase.ksh ===
Line 48: Line 48:
 
Optimize all tables for database
 
Optimize all tables for database
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_OptimizeDatabase.ksh|Voir l'aide détaillée pour sqwmys_OptimizeDatabase.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_OptimizeDatabase.ksh|Voir l'aide détaillée pour sqwmys_OptimizeDatabase.ksh]]<br>
  
 
=== sqwmys_ParallelRun.ksh ===
 
=== sqwmys_ParallelRun.ksh ===
Line 54: Line 54:
 
Run of commands in //
 
Run of commands in //
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_ParallelRun.ksh|Voir l'aide détaillée pour sqwmys_ParallelRun.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_ParallelRun.ksh|Voir l'aide détaillée pour sqwmys_ParallelRun.ksh]]<br>
  
 
=== sqwmys_PurgeAlert.ksh ===
 
=== sqwmys_PurgeAlert.ksh ===
Line 60: Line 60:
 
Rotate error log
 
Rotate error log
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_PurgeAlert.ksh|Voir l'aide détaillée pour sqwmys_PurgeAlert.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_PurgeAlert.ksh|Voir l'aide détaillée pour sqwmys_PurgeAlert.ksh]]<br>
  
 
=== sqwmys_RotateLogSlowQuery.ksh ===
 
=== sqwmys_RotateLogSlowQuery.ksh ===
Line 66: Line 66:
 
Rotate slow_query_log_file
 
Rotate slow_query_log_file
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_RotateLogSlowQuery.ksh|Voir l'aide détaillée pour sqwmys_RotateLogSlowQuery.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_RotateLogSlowQuery.ksh|Voir l'aide détaillée pour sqwmys_RotateLogSlowQuery.ksh]]<br>
  
 
=== sqwmys_RunJob.ksh ===
 
=== sqwmys_RunJob.ksh ===
Line 72: Line 72:
 
Run of MySql scripts
 
Run of MySql scripts
 
<br>
 
<br>
[[SQWareProduction:bin:sqwmys_RunJob.ksh|Voir l'aide détaillée pour sqwmys_RunJob.ksh]]<br>
+
[[SQWareProduction:mysql:bin:sqwmys_RunJob.ksh|Voir l'aide détaillée pour sqwmys_RunJob.ksh]]<br>
  
 
<br><br>
 
<br><br>
Line 82: Line 82:
 
{{SQWareProductionSurchargeEtc|mysql|Mys|CrontabRef}}
 
{{SQWareProductionSurchargeEtc|mysql|Mys|CrontabRef}}
 
<br>
 
<br>
[[SQWareProduction:etc:CrontabRef|Voir l'aide détaillée pour CrontabRef]]<br>
+
[[SQWareProduction:mysql:etc:CrontabRef|Voir l'aide détaillée pour CrontabRef]]<br>
  
 
=== sqwmys_DbRefVar.cfg ===
 
=== sqwmys_DbRefVar.cfg ===
Line 91: Line 91:
 
{{SQWareProductionSurchargeVar|mysql|Mys|sqwmys_DbRefVar.cfg}}
 
{{SQWareProductionSurchargeVar|mysql|Mys|sqwmys_DbRefVar.cfg}}
 
<br>
 
<br>
[[SQWareProduction:etc:sqwmys_DbRefVar.cfg|Voir l'aide détaillée pour sqwmys_DbRefVar.cfg]]<br>
+
[[SQWareProduction:mysql:etc:sqwmys_DbRefVar.cfg|Voir l'aide détaillée pour sqwmys_DbRefVar.cfg]]<br>
  
 
=== sqwmys_GlobalVar.cfg ===
 
=== sqwmys_GlobalVar.cfg ===
Line 100: Line 100:
 
{{SQWareProductionSurchargeVar|mysql|Mys|sqwmys_GlobalVar.cfg}}
 
{{SQWareProductionSurchargeVar|mysql|Mys|sqwmys_GlobalVar.cfg}}
 
<br>
 
<br>
[[SQWareProduction:etc:sqwmys_GlobalVar.cfg|Voir l'aide détaillée pour sqwmys_GlobalVar.cfg]]<br>
+
[[SQWareProduction:mysql:etc:sqwmys_GlobalVar.cfg|Voir l'aide détaillée pour sqwmys_GlobalVar.cfg]]<br>
  
 
=== sqwmys_Jobs.cfg ===
 
=== sqwmys_Jobs.cfg ===
Line 107: Line 107:
 
{{SQWareProductionSurchargeEtc|mysql|Mys|sqwmys_Jobs.cfg}}
 
{{SQWareProductionSurchargeEtc|mysql|Mys|sqwmys_Jobs.cfg}}
 
<br>
 
<br>
[[SQWareProduction:etc:sqwmys_Jobs.cfg|Voir l'aide détaillée pour sqwmys_Jobs.cfg]]<br>
+
[[SQWareProduction:mysql:etc:sqwmys_Jobs.cfg|Voir l'aide détaillée pour sqwmys_Jobs.cfg]]<br>
  
 
=== my.cnf ===
 
=== my.cnf ===
Line 114: Line 114:
 
{{SQWareProductionSurchargeEtc|mysql|Mys|my.cnf}}
 
{{SQWareProductionSurchargeEtc|mysql|Mys|my.cnf}}
 
<br>
 
<br>
[[SQWareProduction:etc:my.cnf|Voir l'aide détaillée pour my.cnf]]<br>
+
[[SQWareProduction:mysql:etc:my.cnf|Voir l'aide détaillée pour my.cnf]]<br>
  
 
=== .profile ===
 
=== .profile ===
 
Fichier d'exemple $gvsqw_MysBin/../etc/.profile:<br>
 
Fichier d'exemple $gvsqw_MysBin/../etc/.profile:<br>
[[SQWareProduction:etc:.profile|Voir l'aide détaillée pour .profile]]<br>
+
[[SQWareProduction:mysql:etc:.profile|Voir l'aide détaillée pour .profile]]<br>
  
 
=== .profile_confort ===
 
=== .profile_confort ===
Line 124: Line 124:
 
{{SQWareProductionSurchargeConfort|mysql|Mys}}
 
{{SQWareProductionSurchargeConfort|mysql|Mys}}
 
<br>
 
<br>
[[SQWareProduction:etc:.profile_confort|Voir l'aide détaillée pour .profile_confort]]<br>
+
[[SQWareProduction:mysql:etc:.profile_confort|Voir l'aide détaillée pour .profile_confort]]<br>
  
 
<br><br>
 
<br><br>
Line 135: Line 135:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CheckIndicators.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CheckIndicators.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_CheckIndicators.lib|Voir l'aide détaillée pour sqwmys_CheckIndicators.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_CheckIndicators.lib|Voir l'aide détaillée pour sqwmys_CheckIndicators.lib]]<br>
  
 
=== sqwmys_CheckIndicators_Overload.lib ===
 
=== sqwmys_CheckIndicators_Overload.lib ===
Line 143: Line 143:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CheckIndicators_Overload.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_CheckIndicators_Overload.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_CheckIndicators_Overload.lib|Voir l'aide détaillée pour sqwmys_CheckIndicators_Overload.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_CheckIndicators_Overload.lib|Voir l'aide détaillée pour sqwmys_CheckIndicators_Overload.lib]]<br>
  
 
=== sqwmys_GatherIndicators.lib ===
 
=== sqwmys_GatherIndicators.lib ===
Line 151: Line 151:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_GatherIndicators.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_GatherIndicators.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_GatherIndicators.lib|Voir l'aide détaillée pour sqwmys_GatherIndicators.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_GatherIndicators.lib|Voir l'aide détaillée pour sqwmys_GatherIndicators.lib]]<br>
  
 
=== sqwmys_GatherIndicators_Overload.lib ===
 
=== sqwmys_GatherIndicators_Overload.lib ===
Line 159: Line 159:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_GatherIndicators_Overload.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_GatherIndicators_Overload.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_GatherIndicators_Overload.lib|Voir l'aide détaillée pour sqwmys_GatherIndicators_Overload.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_GatherIndicators_Overload.lib|Voir l'aide détaillée pour sqwmys_GatherIndicators_Overload.lib]]<br>
  
 
=== sqwmys_Global.lib ===
 
=== sqwmys_Global.lib ===
Line 167: Line 167:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_Global.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_Global.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_Global.lib|Voir l'aide détaillée pour sqwmys_Global.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_Global.lib|Voir l'aide détaillée pour sqwmys_Global.lib]]<br>
  
 
=== sqwmys_InsertIndicators.lib ===
 
=== sqwmys_InsertIndicators.lib ===
Line 175: Line 175:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_InsertIndicators.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_InsertIndicators.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_InsertIndicators.lib|Voir l'aide détaillée pour sqwmys_InsertIndicators.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_InsertIndicators.lib|Voir l'aide détaillée pour sqwmys_InsertIndicators.lib]]<br>
  
 
=== sqwmys_OptimizeDatabase.lib ===
 
=== sqwmys_OptimizeDatabase.lib ===
Line 183: Line 183:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_OptimizeDatabase.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_OptimizeDatabase.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_OptimizeDatabase.lib|Voir l'aide détaillée pour sqwmys_OptimizeDatabase.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_OptimizeDatabase.lib|Voir l'aide détaillée pour sqwmys_OptimizeDatabase.lib]]<br>
  
 
=== sqwmys_RotateLogSlowQuery.lib ===
 
=== sqwmys_RotateLogSlowQuery.lib ===
Line 191: Line 191:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_RotateLogSlowQuery.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_RotateLogSlowQuery.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_RotateLogSlowQuery.lib|Voir l'aide détaillée pour sqwmys_RotateLogSlowQuery.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_RotateLogSlowQuery.lib|Voir l'aide détaillée pour sqwmys_RotateLogSlowQuery.lib]]<br>
  
 
=== sqwmys_SetEnv.lib ===
 
=== sqwmys_SetEnv.lib ===
Line 199: Line 199:
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_SetEnv.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_SetEnv.lib}}
 
<br>
 
<br>
[[SQWareProduction:lib:sqwmys_SetEnv.lib|Voir l'aide détaillée pour sqwmys_SetEnv.lib]]<br>
+
[[SQWareProduction:mysql:lib:sqwmys_SetEnv.lib|Voir l'aide détaillée pour sqwmys_SetEnv.lib]]<br>
  
 
<br><br>
 
<br><br>
Line 211: Line 211:
 
startup message
 
startup message
 
<br>
 
<br>
[[SQWareProduction:tools:sqwmys_ConnectMsg.ksh|Voir l'aide détaillée pour sqwmys_ConnectMsg.ksh]]<br>
+
[[SQWareProduction:mysql:tools:sqwmys_ConnectMsg.ksh|Voir l'aide détaillée pour sqwmys_ConnectMsg.ksh]]<br>
  
 
=== sqwmys_MonitorAgentAdmin.ksh ===
 
=== sqwmys_MonitorAgentAdmin.ksh ===
Line 217: Line 217:
 
Mysql monitor agent services
 
Mysql monitor agent services
 
<br>
 
<br>
[[SQWareProduction:tools:sqwmys_MonitorAgentAdmin.ksh|Voir l'aide détaillée pour sqwmys_MonitorAgentAdmin.ksh]]<br>
+
[[SQWareProduction:mysql:tools:sqwmys_MonitorAgentAdmin.ksh|Voir l'aide détaillée pour sqwmys_MonitorAgentAdmin.ksh]]<br>
  
 
=== sqwmys_MysqlAdmin.ksh ===
 
=== sqwmys_MysqlAdmin.ksh ===
Line 223: Line 223:
 
stop/start of mysql services
 
stop/start of mysql services
 
<br>
 
<br>
[[SQWareProduction:tools:sqwmys_MysqlAdmin.ksh|Voir l'aide détaillée pour sqwmys_MysqlAdmin.ksh]]<br>
+
[[SQWareProduction:mysql:tools:sqwmys_MysqlAdmin.ksh|Voir l'aide détaillée pour sqwmys_MysqlAdmin.ksh]]<br>
  
 
<br><br>
 
<br><br>
Line 229: Line 229:
 
== spm ==
 
== spm ==
 
Ensemble de requêtes sql usuelles déjà écrites<br>
 
Ensemble de requêtes sql usuelles déjà écrites<br>
[[SQWareProduction:spm|Voir l'aide détaillée pour spm]]<br>
+
[[SQWareProduction:mysql:spm|Voir l'aide détaillée pour spm]]<br>
  
 
<br><br>
 
<br><br>

Revision as of 20:41, 14 July 2010

Presentation

Usage

It's the module locally operating of mysql.
It is entirely written in ksh and sql.
It allows to manage the operation for mysql.
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 mysql

Explanation of directories

Directories located in $gvsqw_MysBin:

  • 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
Nuvola apps important.png
Warning:
Do not change the standard scripts and configuration files of dbSQWare.

Use directories *_cust for customizations. This will facilitate version upgrades.


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
Nuvola apps important.png
Warning:
Do not change the standard scripts and configuration files of dbSQWare.

Use directories *_cust for customizations. This will facilitate version upgrades.


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

sqwmys_AnalyzeAllDatabases.ksh

Script $gvsqw_MysBin/../bin/sqwmys_AnalyzeAllDatabases.ksh:
// execution of sqwmys_AnalyzeDatabase.ksh for all databases
Voir l'aide détaillée pour sqwmys_AnalyzeAllDatabases.ksh

sqwmys_AnalyzeDatabase.ksh

Script $gvsqw_MysBin/../bin/sqwmys_AnalyzeDatabase.ksh:
Analyse tables of database
Voir l'aide détaillée pour sqwmys_AnalyzeDatabase.ksh

sqwmys_CheckIndicators.ksh

Script $gvsqw_MysBin/../bin/sqwmys_CheckIndicators.ksh:
Check DBA indicators
Voir l'aide détaillée pour sqwmys_CheckIndicators.ksh

sqwmys_DumpAllDatabases.ksh

Script $gvsqw_MysBin/../bin/sqwmys_DumpAllDatabases.ksh:
// execution of sqwmys_DumpDatabase.ksh for all databases
Voir l'aide détaillée pour sqwmys_DumpAllDatabases.ksh

sqwmys_DumpDatabase.ksh

Script $gvsqw_MysBin/../bin/sqwmys_DumpDatabase.ksh:
mysqldump of database
Voir l'aide détaillée pour sqwmys_DumpDatabase.ksh

sqwmys_GatherIndicators.ksh

Script $gvsqw_MysBin/../bin/sqwmys_GatherIndicators.ksh:
Gather DBA indicators
Voir l'aide détaillée pour sqwmys_GatherIndicators.ksh

sqwmys_OptimizeAllDatabases.ksh

Script $gvsqw_MysBin/../bin/sqwmys_OptimizeAllDatabases.ksh:
// execution of sqwmys_OptimizeDatabase.ksh for all databases
Voir l'aide détaillée pour sqwmys_OptimizeAllDatabases.ksh

sqwmys_OptimizeDatabase.ksh

Script $gvsqw_MysBin/../bin/sqwmys_OptimizeDatabase.ksh:
Optimize all tables for database
Voir l'aide détaillée pour sqwmys_OptimizeDatabase.ksh

sqwmys_ParallelRun.ksh

Script $gvsqw_MysBin/../bin/sqwmys_ParallelRun.ksh:
Run of commands in //
Voir l'aide détaillée pour sqwmys_ParallelRun.ksh

sqwmys_PurgeAlert.ksh

Script $gvsqw_MysBin/../bin/sqwmys_PurgeAlert.ksh:
Rotate error log
Voir l'aide détaillée pour sqwmys_PurgeAlert.ksh

sqwmys_RotateLogSlowQuery.ksh

Script $gvsqw_MysBin/../bin/sqwmys_RotateLogSlowQuery.ksh:
Rotate slow_query_log_file
Voir l'aide détaillée pour sqwmys_RotateLogSlowQuery.ksh

sqwmys_RunJob.ksh

Script $gvsqw_MysBin/../bin/sqwmys_RunJob.ksh:
Run of MySql scripts
Voir l'aide détaillée pour sqwmys_RunJob.ksh



etc

CrontabRef

Fichier de configuration $gvsqw_MysBin/../etc/CrontabRef:

Nuvola apps information.png
Note:
You can replace file $gvsqw_MysBin/../etc/CrontabRef

by $gvsqw_MysBin/../etc_cust/CrontabRef for all your environnement
or by $HOME/edtConfig/CrontabRef specifically for this user..


Voir l'aide détaillée pour CrontabRef

sqwmys_DbRefVar.cfg

Fichier de configuration $gvsqw_MysBin/../etc/sqwmys_DbRefVar.cfg:
Global var for indicators
Il contient les variables de fonctionnement de SQWareProduction.

Nuvola apps information.png
Note:
You can overload variables contain in $gvsqw_MysBin/../etc/sqwmys_DbRefVar.cfg

by the same variables in $gvsqw_MysBin/../etc_cust/sqwmys_DbRefVar.cfg for all your environnement
or in $HOME/sqwConfig/sqwmys_DbRefVar.cfg specifically for this user.


Voir l'aide détaillée pour sqwmys_DbRefVar.cfg

sqwmys_GlobalVar.cfg

Fichier de configuration $gvsqw_MysBin/../etc/sqwmys_GlobalVar.cfg:
Global var
Il contient les variables de fonctionnement de SQWareProduction.

Nuvola apps information.png
Note:
You can overload variables contain in $gvsqw_MysBin/../etc/sqwmys_GlobalVar.cfg

by the same variables in $gvsqw_MysBin/../etc_cust/sqwmys_GlobalVar.cfg for all your environnement
or in $HOME/sqwConfig/sqwmys_GlobalVar.cfg specifically for this user.


Voir l'aide détaillée pour sqwmys_GlobalVar.cfg

sqwmys_Jobs.cfg

Fichier de configuration $gvsqw_MysBin/../etc/sqwmys_Jobs.cfg:

Nuvola apps information.png
Note:
You can replace file $gvsqw_MysBin/../etc/sqwmys_Jobs.cfg

by $gvsqw_MysBin/../etc_cust/sqwmys_Jobs.cfg for all your environnement
or by $HOME/edtConfig/sqwmys_Jobs.cfg specifically for this user..


Voir l'aide détaillée pour sqwmys_Jobs.cfg

my.cnf

Fichier de configuration $gvsqw_MysBin/../etc/my.cnf:

Nuvola apps information.png
Note:
You can replace file $gvsqw_MysBin/../etc/my.cnf

by $gvsqw_MysBin/../etc_cust/my.cnf for all your environnement
or by $HOME/edtConfig/my.cnf specifically for this user..


Voir l'aide détaillée pour my.cnf

.profile

Fichier d'exemple $gvsqw_MysBin/../etc/.profile:
Voir l'aide détaillée pour .profile

.profile_confort

Fichier de positionnement d'alias $gvsqw_MysBin/../etc/.profile_confort:

Nuvola apps information.png
Note:
You can overload confort environnement $gvsqw_MysBin/../etc/.profile_confort

with $gvsqw_MysBin/../etc_cust/.profile_confort for all your environnement
or with $HOME/edtConfig/.profile_confort specifically for this user .


Voir l'aide détaillée pour .profile_confort



lib

sqwmys_CheckIndicators.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_CheckIndicators.lib:
lib for sqwmys_CheckIndicators.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CheckIndicators.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CheckIndicators.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CheckIndicators.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_CheckIndicators.lib

sqwmys_CheckIndicators_Overload.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_CheckIndicators_Overload.lib:
temple lib for overload sqwmys_CheckIndicators.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_CheckIndicators_Overload.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_CheckIndicators_Overload.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_CheckIndicators_Overload.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_CheckIndicators_Overload.lib

sqwmys_GatherIndicators.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_GatherIndicators.lib:
lib for sqwmys_GatherIndicators.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GatherIndicators.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_GatherIndicators.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_GatherIndicators.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_GatherIndicators.lib

sqwmys_GatherIndicators_Overload.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_GatherIndicators_Overload.lib:
lib for overload sqwmys_GatherIndicators.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GatherIndicators_Overload.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_GatherIndicators_Overload.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_GatherIndicators_Overload.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_GatherIndicators_Overload.lib

sqwmys_Global.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_Global.lib:
central lib of generic fonctions

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_Global.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_Global.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_Global.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_Global.lib

sqwmys_InsertIndicators.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_InsertIndicators.lib:
generic fonctions to insert into referential

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_InsertIndicators.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_InsertIndicators.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_InsertIndicators.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_InsertIndicators.lib

sqwmys_OptimizeDatabase.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_OptimizeDatabase.lib:
lib for sqwmys_OptimizeDatabase.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_OptimizeDatabase.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_OptimizeDatabase.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_OptimizeDatabase.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_OptimizeDatabase.lib

sqwmys_RotateLogSlowQuery.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_RotateLogSlowQuery.lib:
lib for sqwmys_RotateLogSlowQuery.ksh

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_RotateLogSlowQuery.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_RotateLogSlowQuery.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_RotateLogSlowQuery.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_RotateLogSlowQuery.lib

sqwmys_SetEnv.lib

Librairie de fonctions shell $gvsqw_MysBin/../lib/sqwmys_SetEnv.lib:
fonction to set env for $MYSQL_SID

Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_SetEnv.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_SetEnv.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_SetEnv.lib specifically for this user .


Voir l'aide détaillée pour sqwmys_SetEnv.lib



menu



tools

sqwmys_ConnectMsg.ksh

Script $gvsqw_MysBin/../tools/sqwmys_ConnectMsg.ksh:
startup message
Voir l'aide détaillée pour sqwmys_ConnectMsg.ksh

sqwmys_MonitorAgentAdmin.ksh

Script $gvsqw_MysBin/../tools/sqwmys_MonitorAgentAdmin.ksh:
Mysql monitor agent services
Voir l'aide détaillée pour sqwmys_MonitorAgentAdmin.ksh

sqwmys_MysqlAdmin.ksh

Script $gvsqw_MysBin/../tools/sqwmys_MysqlAdmin.ksh:
stop/start of mysql services
Voir l'aide détaillée pour sqwmys_MysqlAdmin.ksh



spm

Ensemble de requêtes sql usuelles déjà écrites
Voir l'aide détaillée pour spm