oraunix 发表于 2010-12-3 18:53:51

HOW TO find disk intensive SQL

Solution
The following script will find SQL with many disk reads:

-- ------------------------
-- Find SQL Statements that
-- require a lot of disk
-- reads.
-- ------------------------
SELECT *
FROM v$sql
WHERE 1=1
AND disk_reads / (0.001 + executions) > 10000
/
页: [1]
查看完整版本: HOW TO find disk intensive SQL