oracle跟踪sql语句
select * from v$sql
查询客户端电脑名称的ID
select terminal, SID,SERIAL# from v$session where (terminal) like '%4S%';
alter session set sql_trace=true;
alter system set sql_trace=true
跟踪生成的文件在
D:\app\Administrator\diag\rdbms\orcl\orcl\trace
在sqlplus中执行show parameter sql_trace