码迷,mamicode.com
首页 > 其他好文 > 详细

asrafda

时间:2016-09-13 01:27:05      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:

一.1  我的代码--表格

也可以将所有的文章放在一个一行一列的表格中。

一.1.1  蓝色

Plan hash value: 370690737

 

--------------------------------------------------------------------------------------

| Id  | Operation                     | Name | Rows  | Bytes | Cost (%CPU)| Time     |

--------------------------------------------------------------------------------------

|   0 | SELECT STATEMENT              |      |       |       | 21965 (100)|          |

|   1 |  SORT AGGREGATE               |      |     1 |    43 |            |          |

|   2 |   NESTED LOOPS                |      |       |       |            |          |

|   3 |    NESTED LOOPS               |      |     1 |    43 | 21965   (1)| 00:04:24 |

|*  4 |     TABLE ACCESS FULL         | A    |     1 |    12 | 21962   (1)| 00:04:24 |

|*  5 |     INDEX RANGE SCAN          | TT   |    65 |       |     1   (0)| 00:00:01 |

|*  6 |    TABLE ACCESS BY INDEX ROWID| A    |     1 |    31 |     3   (0)| 00:00:01 |

--------------------------------------------------------------------------------------

 

Predicate Information (identified by operation id):

---------------------------------------------------

   4 - filter("A2"."STATUS"=‘ccc‘)

   5 - access("A1"."OBJECT_ID"="A2"."OBJECT_ID")

   6 - filter(("A1"."OBJECT_NAME"=‘c‘ AND "A1"."OBJECT_TYPE">‘O‘))

 

一.1.2  灰色

Plan hash value: 370690737

 

--------------------------------------------------------------------------------------

| Id  | Operation                     | Name | Rows  | Bytes | Cost (%CPU)| Time     |

--------------------------------------------------------------------------------------

|   0 | SELECT STATEMENT              |      |       |       | 21965 (100)|          |

|   1 |  SORT AGGREGATE               |      |     1 |    43 |            |          |

|   2 |   NESTED LOOPS                |      |       |       |            |          |

|   3 |    NESTED LOOPS               |      |     1 |    43 | 21965   (1)| 00:04:24 |

|*  4 |     TABLE ACCESS FULL         | A    |     1 |    12 | 21962   (1)| 00:04:24 |

|*  5 |     INDEX RANGE SCAN          | TT   |    65 |       |     1   (0)| 00:00:01 |

|*  6 |    TABLE ACCESS BY INDEX ROWID| A    |     1 |    31 |     3   (0)| 00:00:01 |

--------------------------------------------------------------------------------------

 

Predicate Information (identified by operation id):

---------------------------------------------------

   4 - filter("A2"."STATUS"=‘ccc‘)

   5 - access("A1"."OBJECT_ID"="A2"."OBJECT_ID")

   6 - filter(("A1"."OBJECT_NAME"=‘c‘ AND "A1"."OBJECT_TYPE">‘O‘))

 

 

一.1.3  黄色

技术分享   技术分享

 

Plan hash value: 370690737

 

--------------------------------------------------------------------------------------

| Id  | Operation                     | Name | Rows  | Bytes | Cost (%CPU)| Time     |

--------------------------------------------------------------------------------------

|   0 | SELECT STATEMENT              |      |       |       | 21965 (100)|          |

|   1 |  SORT AGGREGATE               |      |     1 |    43 |            |          |

|   2 |   NESTED LOOPS                |      |       |       |            |          |

|   3 |    NESTED LOOPS               |      |     1 |    43 | 21965   (1)| 00:04:24 |

|*  4 |     TABLE ACCESS FULL         | A    |     1 |    12 | 21962   (1)| 00:04:24 |

|*  5 |     INDEX RANGE SCAN          | TT   |    65 |       |     1   (0)| 00:00:01 |

|*  6 |    TABLE ACCESS BY INDEX ROWID| A    |     1 |    31 |     3   (0)| 00:00:01 |

--------------------------------------------------------------------------------------

 

Predicate Information (identified by operation id):

---------------------------------------------------

   4 - filter("A2"."STATUS"=‘ccc‘)

   5 - access("A1"."OBJECT_ID"="A2"."OBJECT_ID")

   6 - filter(("A1"."OBJECT_NAME"=‘c‘ AND "A1"."OBJECT_TYPE">‘O‘))

 

 

Plan hash value: 370690737

 

--------------------------------------------------------------------------------------

| Id  | Operation                     | Name | Rows  | Bytes | Cost (%CPU)| Time     |

--------------------------------------------------------------------------------------

|   0 | SELECT STATEMENT              |      |       |       | 21965 (100)|          |

|   1 |  SORT AGGREGATE               |      |     1 |    43 |            |          |

|   2 |   NESTED LOOPS                |      |       |       |            |          |

|   3 |    NESTED LOOPS               |      |     1 |    43 | 21965   (1)| 00:04:24 |

|*  4 |     TABLE ACCESS FULL         | A    |     1 |    12 | 21962   (1)| 00:04:24 |

|*  5 |     INDEX RANGE SCAN          | TT   |    65 |       |     1   (0)| 00:00:01 |

|*  6 |    TABLE ACCESS BY INDEX ROWID| A    |     1 |    31 |     3   (0)| 00:00:01 |

--------------------------------------------------------------------------------------

 

Predicate Information (identified by operation id):

---------------------------------------------------

   4 - filter("A2"."STATUS"=‘ccc‘)

   5 - access("A1"."OBJECT_ID"="A2"."OBJECT_ID")

   6 - filter(("A1"."OBJECT_NAME"=‘c‘ AND "A1"."OBJECT_TYPE">‘O‘))

 

 

 

 

Document:34592.1 WAITEVENT: "log file sync"

注意:这些警告信息对于预防潜在问题的发生很有帮助。就算平均等待时间没问题,通过找到 I/O 性能峰值点,DBA 可以知道 LGWR 会间歇性的遇到性能问题,进而在它引发更大问题前将其解决。

 

 

*** 2011-10-26 10:14:41.718 

Warning: log write elapsed time 21130ms, size 1KB 

(set event 10468 level 4 to disable this warning) 

 

*** 2011-10-26 10:14:42.929 

Warning: log write elapsed time 4916ms, size 1KB 

(set event 10468 level 4 to disable this warning)

 

 

参考 

 

一.1.4  黑色

 

 

Plan hash value: 370690737

 

--------------------------------------------------------------------------------------

| Id  | Operation                     | Name | Rows  | Bytes | Cost (%CPU)| Time     |

--------------------------------------------------------------------------------------

|   0 | SELECT STATEMENT              |      |       |       | 21965 (100)|          |

|   1 |  SORT AGGREGATE               |      |     1 |    43 |            |          |

|   2 |   NESTED LOOPS                |      |       |       |            |          |

|   3 |    NESTED LOOPS               |      |     1 |    43 | 21965   (1)| 00:04:24 |

|*  4 |     TABLE ACCESS FULL         | A    |     1 |    12 | 21962   (1)| 00:04:24 |

|*  5 |     INDEX RANGE SCAN          | TT   |    65 |       |     1   (0)| 00:00:01 |

|*  6 |    TABLE ACCESS BY INDEX ROWID| A    |     1 |    31 |     3   (0)| 00:00:01 |

--------------------------------------------------------------------------------------

 

Predicate Information (identified by operation id):

---------------------------------------------------

   4 - filter("A2"."STATUS"=‘ccc‘)

   5 - access("A1"."OBJECT_ID"="A2"."OBJECT_ID")

   6 - filter(("A1"."OBJECT_NAME"=‘c‘ AND "A1"."OBJECT_TYPE">‘O‘))

 

 

 

 

一.1.5  绿色

 

 

 

--------------------------------------------------------------------------------------

| Id  | Operation                     | Name | Rows  | Bytes | Cost (%CPU)| Time     |

--------------------------------------------------------------------------------------

|   0 | SELECT STATEMENT              |      |       |       | 21965 (100)|          |

|   1 |  SORT AGGREGATE               |      |     1 |    43 |            |          |

|   2 |   NESTED LOOPS                |      |       |       |            |          |

|   3 |    NESTED LOOPS               |      |     1 |    43 | 21965   (1)| 00:04:24 |

|*  4 |     TABLE ACCESS FULL         | A    |     1 |    12 | 21962   (1)| 00:04:24 |

|*  5 |     INDEX RANGE SCAN          | TT   |    65 |       |     1   (0)| 00:00:01 |

|*  6 |    TABLE ACCESS BY INDEX ROWID| A    |     1 |    31 |     3   (0)| 00:00:01 |

--------------------------------------------------------------------------------------

 

Predicate Information (identified by operation id):

---------------------------------------------------

   4 - filter("A2"."STATUS"=‘ccc‘)

   5 - access("A1"."OBJECT_ID"="A2"."OBJECT_ID")

   6 - filter(("A1"."OBJECT_NAME"=‘c‘ AND "A1"."OBJECT_TYPE">‘O‘))

 

 

asrafda

标签:

原文地址:http://www.cnblogs.com/lhrbest/p/5866889.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!