如何验证SQL PROFILE的性能?(3)

发表于:2013-10-10来源:IT博客大学习作者:Maclean Liu点击数: 标签:SQL PROFILE
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ---------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1 | 113 | 408 (1)| 00:00:01 |

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

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

  | 0 | SELECT STATEMENT | | 1 | 113 | 408 (1)| 00:00:01 |

  |* 1 | TABLE ACCESS FULL| PROFILE_TEST | 1 | 113 | 408 (1)| 00:00:01 |

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

  Predicate Information (identified by operation id):

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

  1 - filter("OBJECT_ID"=5060)

  Statistics

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

  1 recursive calls

  0 db block gets

  1471 consistent gets

  0 physical reads

  0 redo size

  1779 bytes sent via SQL*Net to client

  543 bytes received via SQL*Net from client

  2 SQL*Net roundtrips to/from client

  0 sorts (memory)

  0 sorts (disk)

  1 rows processed

  以上我们通过sqltune_category将SQL PROFILE的作用域限定在session级别,实现了对SQL PROFILE的性能测试

原文转自:http://blogread.cn/it/article/6041