|
本帖最后由 guoyJoe 于 2013-4-26 18:35 编辑
lwp542 发表于 2013-4-26 13:56 ![]()
[oracle@ocm trace]$ cd /u01/app/oracle/diag/rdbms/ocm/ocm/trace
[oracle@ocm trace]$ ls -lFtr
[or ...
好我再来测一把:
sys@OCM> create tablespace tp2 datafile '/u01/app/oracle/oradata/ocm/tp2.dbf' size 10M;
Tablespace created.
sys@OCM> conn gyj/gyj
Connected.
gyj@OCM> create table t10(id int,name varchar2(20)) segment creation immediate tablespace tp2;
Table created.
gyj@OCM> gyj@OCM> select extent_id,file_id,block_id,blocks from dba_extents where segment_name='T10';
EXTENT_ID FILE_ID BLOCK_ID BLOCKS
---------- ---------- ---------- ----------
0 4 128 8
sys@OCM> alter system dump datafile 4 block 128;
System altered.
[oracle@ocm trace]$ more ocm_ora_4869.trc
Trace file /u01/app/oracle/diag/rdbms/ocm/ocm/trace/ocm_ora_4869.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u01/app/oracle/product/11.2.0
System name: Linux
Node name: ocm
Release: 2.6.18-164.el5
Version: #1 SMP Tue Aug 18 15:51:54 EDT 2009
Machine: i686
Instance name: ocm
Redo thread mounted by this instance: 1
Oracle process number: 31
Unix process pid: 4869, image: oracle@ocm (TNS V1-V3)
*** 2013-04-26 18:32:40.125
*** SESSION ID:(133.44) 2013-04-26 18:32:40.125
*** CLIENT ID:() 2013-04-26 18:32:40.125
*** SERVICE NAME:(SYS$USERS) 2013-04-26 18:32:40.125
*** MODULE NAME:(sqlplus@ocm (TNS V1-V3)) 2013-04-26 18:32:40.125
*** ACTION NAME:() 2013-04-26 18:32:40.125
Start dump data blocks tsn: 28 file#:4 minblk 128 maxblk 128
Block dump from cache:
Dump of buffer cache at level 4 for tsn=28, rdba=16777344
BH (0x383f891c) file#: 4 rdba: 0x01000080 (4/128) class: 8 ba: 0x3836a000
set: 6 pool 3 bsz: 8192 bsi: 0 sflg: 1 pwc: 0,0
dbwrid: 0 obj: 78444 objn: 78444 tsn: 28 afn: 4 hint: f
hash: [0x4af261b0,0x4af261b0] lru: [0x383f8820,0x383f8c44]
obj-flags: object_ckpt_list
ckptq: [0x3c3f69a4,0x383f8774] fileq: [0x4a8e5d4c,0x383f877c] objq: [0x383f8838,0x458343ac]
st: XCURRENT md: NULL tch: 1
flags: buffer_dirty redo_since_read
LRBA: [0x8.356.0] LSCN: [0x0.1a0d285] HSCN: [0x0.1a0d285] HSUB: [1]
cr pin refcnt: 0 sh pin refcnt: 0
Block dump from disk:
buffer tsn: 28 rdba: 0x00000080 (0/128)
scn: 0x0000.00000000 seq: 0x01 flg: 0x05 tail: 0x00000001
frmt: 0x02 chkval: 0xa780 type: 0x00=unknown
Hex dump of corrupt header 4 = CORRUPT
Dump of memory from 0x007D2600 to 0x007D2614
7D2600 0000A200 00000080 00000000 05010000 [................]
7D2610 0000A780 [....]
Hex dump of block: st=4, typ_found=0
Dump of memory from 0x007D2600 to 0x007D4600
7D2600 0000A200 00000080 00000000 05010000 [................]
7D2610 0000A780 00000000 00000000 00000000 [................]
7D2620 00000000 00000000 00000000 00000000 [................]
Repeat 508 times
7D45F0 00000000 00000000 00000000 00000001 [................]
End dump data blocks tsn: 28 file#: 4 minblk 128 maxblk 128
你新建一个干净的表空间,再建表,再试试吧。
|
|