Oracle ->> 查看分区表的每个分区的数据行分布情况

ora_hash函数用来返回分区号,而dbms_rowid.rowid_object()函数用来返回object_id

select dbms_rowid.rowid_object(rowid) obj_id, ora_hash ( id, 31, 0) part_id ,count(*) from
sales_fact_part
group by dbms_rowid.rowid_object(rowid), ora_hash(id,31,0)
order by 1;
上一篇:配置Python虚拟环境


下一篇:loadrunner请求json数据参数化问题