oracle 快速查询表记录数

analyze table counterdb  compute statistics;    记录不对 执行

select * from (select t.table_name as tableID,t.num_rows as recordCount from user_tables t) tt where tt.tableID='COUNTERDB'  统计表 COUNTERDB 记录数

posted @ 2011-09-07 18:32  小さいです哥  阅读(322)  评论(0编辑  收藏  举报