首页 > 代码库 > asrafda
asrafda
一.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