select count(sql_text) 未关闭游标数 ,sql_text 对应的SQL语句 from v$open_cursor where user_name ='用户名' group BY SQL_TEXT order by 未关闭游标数 desc