oracle表空管理方式(LMT)、ASSM段管理方式、一级位图块、二级位图块、三级位图块。(七)

2014-11-24 09:14:16 · 作者: · 浏览: 6
ase 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options

SQL> set linesize 200
SQL> col name for a30
SQL> col value for a70
SQL> alter system dump datafile 5 block 29;

System altered.

SQL> select * from v$diag_info;

INST_ID NAME VALUE
---------- ------------------------------ ----------------------------------------------------------------------
1 Diag Enabled TRUE
1 ADR Base /opt/app/oracle
1 ADR Home /opt/app/oracle/diag/rdbms/rhys/RHYS
1 Diag Trace /opt/app/oracle/diag/rdbms/rhys/RHYS/trace
1 Diag Alert /opt/app/oracle/diag/rdbms/rhys/RHYS/alert
1 Diag Incident /opt/app/oracle/diag/rdbms/rhys/RHYS/incident
1 Diag Cdump /opt/app/oracle/diag/rdbms/rhys/RHYS/cdump
1 Health Monitor /opt/app/oracle/diag/rdbms/rhys/RHYS/hm
1 Default Trace File /opt/app/oracle/diag/rdbms/rhys/RHYS/trace/RHYS_ora_3664.trc
1 Active Problem Count 0
1 Active Incident Count 0

11 rows selected.

SQL> exit

Dump of First Level Bitmap Block
--------------------------------
nbits : 4 nranges: 1 parent dba: 0x0140000a poffset: 3
unformatted: 0 total: 4 first useful block: 0
owning instance : 1
instance ownership changed at 12/16/2013 21:06:15
Last successful Search 12/16/2013 21:06:15
Freeness Status: nf1 0 nf2 0 nf3 0 nf4 0

Extent Map Block Offset: 4294967295
First free datablock : 4
Bitmap block lock opcode 0
Locker xid: : 0x0000.000.00000000
Dealloc scn: 925704.0
Flag: 0x00000000 (-/-/-/-/-/-)
Inc #: 0 Objd: 87521
--------------------------------------------------------
DBA Ranges :
--------------------------------------------------------
0x0140002c Length: 4 Offset: 0

0:FULL 1:FULL 2:FULL 3:FULL
--------------------------------------------------------
End dump data blocks tsn: 6 file#: 5 minblk 29 maxblk 29
这个也是第一位图块,其中管理4个块。而第28位图块管理16个块,一共管理20个块,正好到下一个extent。

继续查看30块;

[oracle@oracle-one ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Dec 16 21:30:54 2013

Copyright (c) 1982, 2013, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options

SQL> set linesize 200
SQL> col name for a30
SQL> col value for a70
SQL> alter system dump datafile 5 block 30;

System altered.

SQL> select * from v$diag_info;

INST_ID NAME VALUE
---------- ------------------------------ ----------------------------------------------------------------------
1 Diag Enabled TRUE
1 ADR Base /opt/app/oracle
1 ADR Home /opt/app/oracle/diag/rdbms/rhys/RHYS
1 Diag Trace /opt/app/oracle/diag/rdbms/rhys/RHYS/trace
1 Diag Alert /opt/app/oracle/diag/rdbms/rhys/RHYS/alert
1 Diag Incident /opt/app/oracle/diag/rdbms/rhys/RHYS/incident
1 Diag Cdump /opt/app/oracle/diag/rdbms/rhys/RHYS/cdump
1 Health Monitor /opt/app/oracle/diag/rdbms/rhys/RHYS/hm
1 Default Trace File /opt/app/oracle/diag/rdbms/rhys/RHYS/trace/RHYS_ora_3683.trc
1 Active Problem Count 0
1 Active Incident Count 0

11 rows selected.

SQL>

。。。。。。。。。。。。。。。

col 0: [ 4] c3 03 0c 39
tab 0, row 36, @0x1e70
tl: 8 fb: --H-FL-- lb: 0x0 cc: 1
col 0: [ 4] c3 03 0c 3a
tab 0, row 37, @0x1e68
tl: 8 fb: --H-FL-- lb: 0x0 cc: 1
col 0: [ 4] c3 03 0c 3b
tab 0, row 38, @0x1e60
tl: 8 fb: --H-FL-- lb: 0x0 cc: 1
col 0: [ 4] c3 03 0c 3c
tab 0, row 39, @0x1e58
tl: 8 fb: --H-FL-- lb: 0x0 cc: 1
co