<jsp:directive.page pageEncoding="UTF-8" />
select  
  vss1.value  SORT_DISK,
  vss2.value  SORT_MEMORY,
 (vss1.value/(vss1.value + vss2.value))*100 SORT_RATIO
from    
  v$sysstat  vss1,
  v$sysstat  vss2
where vss1.name = 'sorts (disk)'
  and vss2.name = 'sorts (memory)'
