Skip to content

Instantly share code, notes, and snippets.

@kshimi
Created March 14, 2019 10:00
Show Gist options
  • Save kshimi/f061f42fafe01691c135a32d15361a4e to your computer and use it in GitHub Desktop.
Save kshimi/f061f42fafe01691c135a32d15361a4e to your computer and use it in GitHub Desktop.
Oracle check heavy query
select --*
sql_text,
sql_id,
sharable_mem,
fetches, executions,
first_load_time, last_load_time, last_active_time,
disk_reads,
cpu_time, elapsed_time
plsql_exec_time, rows_processed,
parsing_schema_name,
physical_read_bytes, physical_write_bytes
from v$sql
order by physical_read_bytes desc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment