对于优化来讲,查找消耗资源较大的SQL至关重要,下面介绍几个之前用到的SQL. 1.从V$SQLAREA中查询最占用资源的查询. select b.username username,a.disk_reads reads, a.executions exec,a.disk_reads/decode(a.executions,,,a.executions) rds_exec_ratio, a.sql_text Statement from v$sqlarea a,dba_users b where…