摘要:
http://blog.csdn.net/ywb201314/article/details/51507939 http://blog.csdn.net/xxssyyyyssxx/article/details/72831909 阅读全文
摘要:
来源 海量数据解决方案 设置 PCTFREE 0.1 如果允许的情况下,尽量为行长度比较短的表创建聚簇,同时不要将单位聚簇的大小设定的过小。 ANALYZE TABLE table_name COMPUTE STATISTICSL; SELECT AVG_ROW_LEN FROM USER_TABL 阅读全文
摘要:
一、设置初始化参数 job_queue_processessql> alter system set job_queue_processes=n;(n>0)job_queue_processes最大值为1000查看job queue 后台进程sql>select name,description f 阅读全文
摘要:
压力测试工具 http://www.blogjava.net/envoydada/archive/2011/03/15/346300.html CBO 是基于成本的优化器 RBO 是基于规则的优化器 基于CBO的执行计划需要依赖于系统的统计信息,这些统计信息的类型\种类随着DBMS产品或相同DBMS 阅读全文
摘要:
CBO基于成本的优化器分析 分配合适的存储桶 使用存储过程DBMS_STATS 1、索引分析 分析语句:SQL>analyze index <index_name> validate structure online; 分析表:analyze table tablename compute stat 阅读全文
摘要:
查看执行过缓存的解析Sqlselect name , executions from v$db_object_cache where name like 'select *from sys_yh%' 优化器参数选择 尽量避免使用Choose 模式 采用基于Rule Select 的优化模式 Rule 阅读全文
摘要:
一、查询执行最慢的sql select * from (select sa.SQL_TEXT, sa.SQL_FULLTEXT, sa.EXECUTIONS "执行次数", round(sa.ELAPSED_TIME / 1000000, 2) "总执行时间", round(sa.ELAPSED_T 阅读全文
摘要:
http://www.cnblogs.com/gaoyoubo/articles/1892685.html 阅读全文