|
XXXXXX |
XXX |
XXXXXX |
XXX |
|
Data Object ID |
Relative File No |
Block Number |
Row Number(Slot) |
|
AAANdq |
AAB |
AAAPFy |
AAA |
|
Data Object ID |
Relative File No |
Block Number |
Row Number(Slot) |
|
Decimal Sequence |
Base-64 Representation |
|
0 – 25 |
‘A’ – ‘ Z’ (A through Z) |
|
26 – 51 |
‘a’ – ‘z’ (a through z) |
|
52 – 61 |
‘0’ – ‘9’ (0 through 9) |
|
62 |
‘+’ |
|
63 |
‘/’ |
3. Similarly we can convert the Relative File Number, Block Number and the Row Slot (Number).
Read the conversion below as => (Base-64) -> (Binary) -> (Decimal)
(AAB) -> (000000 000000 000001) -> (1)
(AAAPFy) -> (000000 000000 000000 001111 000101 110010) -> (61810)
(AAA) -> (000000 000000 000000) -> (0)
Using the Relative File Number and the Block Number in the following query we can get the Object Name.
SQL> select segment_name, segment_type, owner from dba_extents
where file_id=1 and 61810 between block_id and block_id + blocks - 1;
SEGMENT_NAME SEGMENT_TYPE OWNER
-------------------------- ------------------ --------------
ROWID_EXAMPLE TABLE SYS
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30291162/viewspace-1705706/ ,如需转载,请注明出处,否则将追究法律责任。