Chinaunix首页 | 论坛 | 博客
  • 博客访问: 762498
  • 博文数量: 803
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 5015
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 10:29
文章分类

全部博文(803)

文章存档

2011年(1)

2008年(802)

我的朋友

分类:

2008-10-29 11:42:37


  代码:--------------------------------------------------------------------------------
  SQL> create table t9 (a varchar(10));
  
  Table created.
  
  SQL> insert into t9 values('a');
  
  1 row created.
  
  SQL> commit;
  
  Commit complete.
  
  SQL> set serveroutput on
  SQL> exec show_space('T9');
  Free Blocks.............................1
  Total Blocks............................8
  Total Bytes.............................65536
  Unused Blocks...........................6
  Unused Bytes............................49152
  Last Used Ext FileId....................3
  Last Used Ext BlockId...................121
  Last Used Block.........................2
  
  PL/SQL procedure successfully completed.
  
  SQL> alter system dump datafile 3 block 122;
  
  System altered.
  
  SQL> select * from v$tablespace;
  
      TS# NAME              INC
  ---------- ------------------------------ ---
       0 SYSTEM             YES
       1 UNDOTBS1            YES
       8 USERS             YES
      18 TEMP1            --------------------------------------------------------------------------------
  
  Trace 文件:
  *** 2004-07-25 15:48:01.000
  Start dump data blocks tsn: 8 file#: 3 minblk 122 maxblk 122
  buffer tsn: 8 rdba: 0x00c0007a (3/122)
  scn: 0x0000.0068d716 seq: 0x01 flg: 0x02 tail: 0xd7160601
  frmt: 0x02 chkval: 0x0000 type: 0x06=trans data
  Block header dump: 0x00c0007a
  Object id on Block? Y
  seg/obj: 0x806d csc: 0x00.68d714 itc: 2 flg: O typ: 1 - DATA
  fsl: 0 fnx: 0x0 ver: 0x01
  
  Itl Xid Uba Flag Lck Scn/Fsc
  0x01 0x0004.00b.00000fac 0x00801885.008c.56 --U- 1 fsc 0x0000.0068d716
  0x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000
  
  data_block_dump,data header at 0x552105c
  ===============
  tsiz: 0x1fa0
  hsiz: 0x14
  pbl: 0x0552105c
  bdba: 0x00c0007a
  76543210
  flag=--------
  ntab=1
  nrow=1
  frre=-1
  fsbo=0x14
  fseo=0x1f9b
  avsp=0x1f83
  tosp=0x1f83
  0xe:pti[0] nrow=1 offs=0
  0x12:pri[0] offs=0x1f9b
  block_row_dump:
  tab 0, row 0, @0x1f9b
  tl: 5 fb: --H-FL-- lb: 0x1 cc: 1
  col 0: [ 1] 61
  end_of_block_dump
  End dump data blocks tsn: 8 file#: 3 minblk 122 maxblk 122
【责编:admin】

--------------------next---------------------

阅读(298) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~