RAC中一次混乱的性能诊断过程2

简介: SQL ordered by Elapsed Time Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.

SQL ordered by Elapsed Time

  • Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
  • % Total DB Time is the Elapsed Time of the SQL statement divided into the Total Database Time multiplied by 100
  • Total DB Time (s): 5,870
  • Captured SQL account for 16.7% of Total

Elapsed Time (s)

CPU Time (s)

Executions

Elap per Exec (s)

% Total DB Time

SQL Id

SQL Module

SQL Text

66

61

10

6.61

1.13

5pa6u5dtnucaq

 

SELECT * FROM ( Select RowNum ...

66

59

10

6.56

1.12

7jnkm6r7t5ams

 

SELECT COUNT(*) FROM TEST1...

58

54

1

57.80

0.98

7a9cd2xa25yab

 

SELECT * FROM ( Select RowNum ...

46

43

7

6.56

0.78

6kwkbk30jkha1

 

SELECT COUNT(*) FROM TEST1 ...

45

44

7

6.45

0.77

3ywk3pt184rtb

 

SELECT * FROM ( Select RowNum ...

37

25

3

12.24

0.63

9xwa8z12j7t70

 

select ti.serialno itemNo, ti....

33

33

5

6.56

0.56

0h7fsx5a8r3sn

 

SELECT * FROM ( Select RowNum ...

33

31

5

6.52

0.56

5qhnyr92d96sm

 

SELECT COUNT(*) FROM TEST1 ...

32

29

58

0.55

0.54

2z3p2wf0daumf

 

SELECT DISTINCT Wflog.* FROM W...

32

29

5

6.31

0.54

bq5ur4q4r6m6b

 

SELECT COUNT(*) FROM TEST1 ...

结果可以看到基本没有特别耗时的SQL,所以想通过优化单个SQL来大幅度提高性能的想法是不能实现的,然后进入查看最多逻辑读取的SQL

相关文章
|
SQL 索引
RAC中一次混乱的性能诊断过程4
Segments by Logical Reads Total Logical Reads: 584,021,980 Captured Segments account for 99.
895 0
|
SQL Java 数据库
RAC中一次混乱的性能诊断过程 1
                     RAC中一次混乱的性能诊断过程    众所周知在RAC中,问题很可能来自于CACHE FUSION(内存融合)的机制,简单的说就是CACHE BUFFER中的块在内存融合的机制下通过LMD进程进行传递,比如我节点1...
740 0
|
SQL
RAC中一次混乱的性能诊断过程3
SQL ordered by Gets Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
738 0
|
Java
RAC中一次混乱的性能诊断过程5
开始我觉得没有过分耗时的语句就不算有性能问题,所以没有关注,后来我又通过语句查看了CLUSTER等待的SQL语句如下: select wait_class_id, wait_class, count(*) cnt    from dba_hist_activ...
948 0
|
4月前
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
107 2
|
4月前
|
Oracle 关系型数据库
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
|
5月前
|
存储 负载均衡 Oracle
|
5月前
|
存储 Oracle 关系型数据库