可以使用以下语句查询是哪个session number的哪个sql占用了较大的临时表空间

select inst_id,username,session_num,sql_id,tablespace,segtype,sum(blocks)*8/1024/1024 size_in_gb from gV$TEMPSEG_USAGE group by inst_id,username,session_num,sql_id,tablespace,segtype

select * from gv$sqlarea where sql_id=''

 

以上

 

相关文章:

  • 2022-12-23
  • 2021-09-12
  • 2021-12-05
  • 2022-01-14
  • 2021-11-28
  • 2021-12-29
  • 2021-12-25
猜你喜欢
  • 2021-11-18
  • 2021-04-26
  • 2022-12-23
  • 2021-08-16
  • 2021-12-04
  • 2022-12-23
相关资源
相似解决方案