Modèle:SQWareProduction sqwsyb UpdtStatsDatabase.ksh example : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Ligne 1 : | Ligne 1 : | ||
<pre> | <pre> | ||
− | Sourcing sqwsyb_Global.lib v2019. | + | Sourcing sqwsyb_Global.lib v2019.04 SQWareProduction for Sybase (dbSQWare) ... |
#Standard (Locale) help for script sqwsyb_UpdtStatsDatabase.ksh: | #Standard (Locale) help for script sqwsyb_UpdtStatsDatabase.ksh: |
Version du 23 juin 2019 à 20:27
Sourcing sqwsyb_Global.lib v2019.04 SQWareProduction for Sybase (dbSQWare) ... #Standard (Locale) help for script sqwsyb_UpdtStatsDatabase.ksh: $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -h #Affichage de l'aide en ligne pour ce script $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -NoMail #Desactive l'envoi de mail sur erreur a to $gvsqw_GlobalMail (by default, send on error) $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -Exec #Execute les commandes generees $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> #Genere les commandes mais ne les execute pas ! $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -FSS <SampleSize> -Exec #to force sample size 'with sampling=<SampleSize> percent' #by default, script dynamically calculates this sample $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -Del -Exec #delete statistics before compute them: 'delete statistics $lvsqw_Owner.$lvsqw_Table' $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -FRT <NumericValue> -Exec #Force le code retour a '<NumericValue>' sur erreur (si pas d'erreur, exit 0!) #Vous pouvez aussi forcer le code retour de ce script pour tous #si vous settez la variable d'environnement: $gvsqw_ForcedReturnCodeScript_sqwsyb_UpdtStatsDatabase=<NumericValue> #dans le fichier de configuration $gvsqw_SybBin/../etc_cust/sqwsyb_GlobalVar.cfg #Options to generate table list with filters (you can mix all off them): $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -IT <listtbl> #Generate table list with 'in list': #=> and name in ('$ListInclude') $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -ET <listtbl> #Generate table list with 'not in list': #=> and name not in ('$ListExclude') $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -IL <likeclause> #Generate table list with 'like': #=> and name like '$LikeClause' $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -EL <likeclause> #Generate table list with 'not like': #=> and name not like '$NotLikeClause' $gvsqw_SybBin/sqwsyb_UpdtStatsDatabase.ksh -S $DSQUERY -D <DbName> -W <whereclause> #Generate table list with 'where clause': #=> and '$WhereClause'