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