- 最后登录
- 2015-1-5
- 在线时间
- 463 小时
- 威望
- 6
- 金钱
- 960
- 注册时间
- 2012-6-27
- 阅读权限
- 10
- 帖子
- 80
- 精华
- 0
- 积分
- 6
- UID
- 538
|
10#
发表于 2012-7-27 16:08:19
你这个表只有几行数据。可以考虑使用list分区。使用小块 大的pctfree也行
create table ttt (c1 int,c2 int)
partition by list (c1)
(partition p1 values(1),
partition p2 values(2),
partition p3 values(3)
);
insert into ttt select 1,2 from dual;
insert into ttt select 2,2 from dual;
insert into ttt select 3,2 from dual;
commit;
select DBMS_ROWID.ROWID_OBJECT(rowid) "OBJECT",DBMS_ROWID.ROWID_RELATIVE_FNO(rowid) "FILE",DBMS_ROWID.ROWID_BLOCK_NUMBER(rowid) "BLOCK",DBMS_ROWID.ROWID_ROW_NUMBER(rowid) "ROW",rowid from ttt;
OBJECT FILE BLOCK ROW ROWID
---------- ---------- ---------- ---------- ------------------
79334 4 122677 0 AAATXmAAEAAAd81AAA
79335 4 123701 0 AAATXnAAEAAAeM1AAA
79336 4 124725 0 AAATXoAAEAAAec1AAA
[ 本帖最后由 dla001 于 2012-7-27 16:09 编辑 ] |
|