1.查看某用户下所有对象的信息: SELECT owner, object_type, status, COUNT(*) count# FROM all_objects where owner='xxx' GROUP BY owner, object_type, status order by ; 2.查看表行数(多个表)(需先分析表): select 'analyze table '|| table_name||' compute statistics;' from user_tables;
查看oracle数据库的连接数以及用户 11.查询oracle的连接数2select count(*) from v$session;32.查询oracle的并发连接数4select count(*) from v$session where status='ACTIVE';53.查看不同用户的连接数6select username,count(username) from v$session where username is not null group by username;74.查看所
http://www.cnblogs.com/is1988/archive/2012/11/21/2780067.html 1.查询oracle的连接数select count(*) from v$session;2.查询oracle的并发连接数select count(*) from v$session where status='ACTIVE';3.查看不同用户的连接数select username,count(username) from v$session where username
怎样查看oracle当前的连接数呢?只需要用下面的SQL语句查询一下就可以了. #查看当前不为空的连接select * from v$session where username is not null #查看不同用户的连接数 select username,count(username) from v$session where username is not null group by username #连接数 select count(*) from v$session #并发连接数
查看Oracle执行计划的几种方法 一.通过PL/SQL Dev工具 1.直接File->New->Explain Plan Window,在窗口中执行sql可以查看计划结果.其中,Cost表示cpu的消耗,单位为n%,Cardinality表示执行的行数,等价Rows. 2.先执行 EXPLAIN PLAN FOR select * from tableA where paraA=1,再 select * from table(DBMS_XPLAN.DISPLAY)便可以看到oracle