17.Oracle杂记——Oracle诊断表索引监控脚本
2017-10-08 20:42
741 查看
17.Oracle杂记——Oracle诊断表索引监控脚本
这个脚本主要是表索引相关的信息。
实现的功能如下:
$ sh dbtableindex.sh
Invalid Arguments!
pls use like this : ./dbtableindexmon.exe [NUMBER ]
the NUMBER can be from 1 to 100
[1] show the table's index, input the TABLE_NAME
[2] show the index's col name, input the TABLE_NAME
[3] show the table's parallel degree ,input the TABLE_NAME
[4] show the table's partition number ,input the TABLE_NAME
[5] create sql script to monitor index,input the schema
[6] create sql script to drop unused index,pls run enough time to sure all sqlis runned
[7] create sql script to unmonitor ndex,input the schema
[8] get the physical datafile,block number from ROWID,input the ROWID
[9] get the table's statistics,input the TABLE_NAME
[10] set the schema's statistics,input the SCHEMA_NAME
[11] delte the schema's statistics,input the SCHEMA_NAME
[12] get the table used block number,input the SCHEMA_NAME and TABLE_NAME
[13] get table index's clustering factor,input the TABLE_NAME
翻译成中文如下:
1 显示表的索引,需要输入表名
2 显示索引列名字,输入表名
3 显示表并行度,输入表名
4 显示表分区数量,输入表名
5 创建SQL脚本来监控索引
6 创建SQL脚本来删除未使用的索引
7 创建脚本来放弃监控索引
8 通过ROWID来获取物理的数据文件,块号
9 通过表的统计信息,需要输入表名
10 设置SCHEMA的静态统计
11 删除SCHEMA的静态统计
12 获取表使用的块号,需要输入SCHEMA名字和表名字
13 获取表索引的聚集因子,需要输入表名。
程序名字如下:dbtableindexmon.exe
下载地址: http://download.csdn.net/detail/notbaron/9447082
这个脚本主要是表索引相关的信息。
实现的功能如下:
$ sh dbtableindex.sh
Invalid Arguments!
pls use like this : ./dbtableindexmon.exe [NUMBER ]
the NUMBER can be from 1 to 100
[1] show the table's index, input the TABLE_NAME
[2] show the index's col name, input the TABLE_NAME
[3] show the table's parallel degree ,input the TABLE_NAME
[4] show the table's partition number ,input the TABLE_NAME
[5] create sql script to monitor index,input the schema
[6] create sql script to drop unused index,pls run enough time to sure all sqlis runned
[7] create sql script to unmonitor ndex,input the schema
[8] get the physical datafile,block number from ROWID,input the ROWID
[9] get the table's statistics,input the TABLE_NAME
[10] set the schema's statistics,input the SCHEMA_NAME
[11] delte the schema's statistics,input the SCHEMA_NAME
[12] get the table used block number,input the SCHEMA_NAME and TABLE_NAME
[13] get table index's clustering factor,input the TABLE_NAME
翻译成中文如下:
1 显示表的索引,需要输入表名
2 显示索引列名字,输入表名
3 显示表并行度,输入表名
4 显示表分区数量,输入表名
5 创建SQL脚本来监控索引
6 创建SQL脚本来删除未使用的索引
7 创建脚本来放弃监控索引
8 通过ROWID来获取物理的数据文件,块号
9 通过表的统计信息,需要输入表名
10 设置SCHEMA的静态统计
11 删除SCHEMA的静态统计
12 获取表使用的块号,需要输入SCHEMA名字和表名字
13 获取表索引的聚集因子,需要输入表名。
程序名字如下:dbtableindexmon.exe
下载地址: http://download.csdn.net/detail/notbaron/9447082
相关文章推荐
- 13.Oracle杂记——Oracle错误故障诊断监控脚本
- 15.Oracle杂记——Oracle诊断磁盘IO监控脚本
- 18.Oracle杂记——Oracle诊断表空间监控脚本
- 19.Oracle杂记——Oracle诊断进程监控脚本
- 20.Oracle杂记——Oracle诊断会话监控脚本
- Oracle 监控索引使用率脚本分享
- 监控oracle系统中未加索引的外键脚本
- Oracle 监控索引使用率脚本分享
- 12.Oracle杂记——Oracle等待事件性能监控脚本
- 14.Oracle杂记——Oracle SQL监控脚本
- 16.Oracle杂记——Oracle诊断内存命中脚本
- Oracle之索引监控脚本大全
- Oracle 监控索引使用率脚本分享
- HP-UX下监控Oracle或者其他特定程序CPU使用率的脚本
- Oracle重建索引Shell脚本、SQL脚本分享
- oracle 监控索引
- Oracle 监控索引使用
- oracle 索引重建提示脚本
- Oracle中检查外键是否有索引的SQL脚本分享
- oracle监控脚本【转】