SELECT NAME, VALUE FROM V$SYSSTAT WHERE NAME LIKE 'sort%'; Re-write the query above to produce output like this: SQL> @sort_pct MEMORY_SORTS DISK_SORTS PERCENT ------------ ---------- ---------- 193518 27 .01395219