Difference between revisions of "SQWareProduction:oracle:etc:sqwora DbmsStats.cfg"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
#!/bin/ksh | #!/bin/ksh | ||
################################################################### | ################################################################### | ||
− | # SQWareProduction for Oracle module of dbSQWare | + | # SQWareProduction for Oracle module of dbSQWare |
− | |||
− | |||
− | |||
− | |||
− | |||
# | # | ||
# dbSQWare is distributed in the hope that it will be useful, | # dbSQWare is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
− | # | + | # CGU/CGA for more details. |
# | # | ||
− | # You should have received a copy of the | + | # You should have received a copy of the CGU/CGA |
− | # along with this program. If not, see <http://www. | + | # along with this program. If not, see <http://www.dbsqware.com/licenses/>. |
# | # | ||
# For information : contact@dbsqware.com or www.dbsqware.com | # For information : contact@dbsqware.com or www.dbsqware.com | ||
################################################################### | ################################################################### | ||
## @Synopsis var for RMAN duplicate scripts | ## @Synopsis var for RMAN duplicate scripts | ||
− | ## @Copyright Copyright 2010- | + | ## @Copyright Copyright 2010-2024, dbSQWare (www.dbsqware.com) |
− | |||
− | |||
− | |||
export gvsqw_Stat_estimate_percent=10 | export gvsqw_Stat_estimate_percent=10 | ||
export gvsqw_Stat_block_sample=TRUE | export gvsqw_Stat_block_sample=TRUE | ||
export gvsqw_Stat_method_opt="FOR ALL INDEXED COLUMNS SIZE REPEAT" | export gvsqw_Stat_method_opt="FOR ALL INDEXED COLUMNS SIZE REPEAT" | ||
− | export gvsqw_Stat_sys_method_opt="FOR COLUMNS SIZE SKEWONLY" | + | export gvsqw_Stat_sys_method_opt="FOR ALL COLUMNS SIZE SKEWONLY" |
export gvsqw_Stat_degree=1 | export gvsqw_Stat_degree=1 | ||
export gvsqw_Stat_granularity="ALL" | export gvsqw_Stat_granularity="ALL" | ||
Line 45: | Line 37: | ||
# For not normed environnement | # For not normed environnement | ||
− | [ -r $HOME/ | + | [ -r $HOME/sqwConfig/sqwora_DbmsStats.cfg ] && . $HOME/sqwConfig/sqwora_DbmsStats.cfg |
</pre> | </pre> | ||
<br> | <br> |
Latest revision as of 21:19, 25 February 2024
Configuration file $gvsqw_OraBin/../etc/sqwora_DbmsStats.cfg:
var for RMAN duplicate scripts
File content:
#!/bin/ksh ################################################################### # SQWareProduction for Oracle module of dbSQWare # # dbSQWare is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # CGU/CGA for more details. # # You should have received a copy of the CGU/CGA # along with this program. If not, see <http://www.dbsqware.com/licenses/>. # # For information : contact@dbsqware.com or www.dbsqware.com ################################################################### ## @Synopsis var for RMAN duplicate scripts ## @Copyright Copyright 2010-2024, dbSQWare (www.dbsqware.com) export gvsqw_Stat_estimate_percent=10 export gvsqw_Stat_block_sample=TRUE export gvsqw_Stat_method_opt="FOR ALL INDEXED COLUMNS SIZE REPEAT" export gvsqw_Stat_sys_method_opt="FOR ALL COLUMNS SIZE SKEWONLY" export gvsqw_Stat_degree=1 export gvsqw_Stat_granularity="ALL" export gvsqw_Stat_cascade=TRUE export gvsqw_Stat_options="GATHER AUTO" export gvsqw_Stat_sys_options="GATHER" export gvsqw_Stat_gather_sys=FALSE # Source custom [ -r $gvsqw_OraBin/../etc_cust/sqwora_DbmsStats.cfg ] && . $gvsqw_OraBin/../etc_cust/sqwora_DbmsStats.cfg # For not normed environnement [ -r $HOME/sqwConfig/sqwora_DbmsStats.cfg ] && . $HOME/sqwConfig/sqwora_DbmsStats.cfg