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

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

SQL ordered by Gets

  • Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
  • Total Buffer Gets: 584,021,980
  • Captured SQL account for 32.1% of Total

Buffer Gets

Executions

Gets per Exec

%Total

CPU Time (s)

Elapsed Time (s)

SQL Id

SQL Module

SQL Text

17,941,301

10

1,794,130.10

3.07

60.59

66.10

5pa6u5dtnucaq

 

SELECT * FROM ( Select RowNum ...

17,941,301

10

1,794,130.10

3.07

58.65

65.59

7jnkm6r7t5ams

 

SELECT COUNT(*) FROM TEST1...

12,532,568

7

1,790,366.86

2.15

43.76

45.18

3ywk3pt184rtb

 

SELECT * FROM ( Select RowNum ...

12,532,548

7

1,790,364.00

2.15

43.05

45.91

6kwkbk30jkha1

 

SELECT COUNT(*) FROM TEST1...

8,932,380

5

1,786,476.00

1.53

29.04

31.14

222xvfg4415z0

 

SELECT COUNT(*) FROM TEST1...

8,932,379

5

1,786,475.80

1.53

29.90

30.93

1z29z7p07uf7p

 

SELECT * FROM ( Select RowNum ...

8,915,316

5

1,783,063.20

1.53

30.75

32.61

5qhnyr92d96sm

 

SELECT COUNT(*) FROM TEST1...

8,915,315

5

1,783,063.00

1.53

33.06

32.80

0h7fsx5a8r3sn

 

SELECT * FROM ( Select RowNum ...

8,900,709

5

1,780,141.80

1.52

29.95

31.08

cmn1tb40sud9b

 

SELECT * FROM ( Select RowNum ...

8,900,701

5

1,780,140.20

1.52

29.24

31.55

bq5ur4q4r6m6b

 

SELECT COUNT(*) FROM  TEST1...

6,705,179

1

6,705,179.00

1.15

53.53

57.80

7a9cd2xa25yab

 

SELECT * FROM ( Select RowNum ...

 

通过分析这里可能出现问题,因为SQL都是差不多或者说引用的对象都差不多,我最开始想如果能够找到方法减少这里的逻辑读,那问题一定能够改善,接着直接查看逻辑读最多的SEGMENT

相关文章
|
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中一次混乱的性能诊断过程2
SQL ordered by Elapsed Time Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
757 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 关系型数据库