ktsfs_txn[0]是什么意思
用bbed查看一个手动管理段的段头,发现以下信息,不知道是什么,知道的请回答下,谢谢!BBED> p ktsfs_txn
struct ktsfs_txn, 20 bytes @4176
ub2 ktsfsflg @4176 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4180
ub2 kxidusn @4180 0x0000
ub2 kxidslt @4182 0x0000
ub4 kxidsqn @4184 0x00000000
ub4 ktsfslhd @4188 0x00000000
ub4 ktsfsltl @4192 0x00000000
struct ktsfs_txn, 20 bytes @4196
ub2 ktsfsflg @4196 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4200
ub2 kxidusn @4200 0x0000
ub2 kxidslt @4202 0x0000
ub4 kxidsqn @4204 0x00000000
ub4 ktsfslhd @4208 0x00000000
ub4 ktsfsltl @4212 0x00000000
struct ktsfs_txn, 20 bytes @4216
ub2 ktsfsflg @4216 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4220
ub2 kxidusn @4220 0x0000
ub2 kxidslt @4222 0x0000
ub4 kxidsqn @4224 0x00000000
ub4 ktsfslhd @4228 0x00000000
ub4 ktsfsltl @4232 0x00000000
struct ktsfs_txn, 20 bytes @4236
ub2 ktsfsflg @4236 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4240
ub2 kxidusn @4240 0x0000
ub2 kxidslt @4242 0x0000
ub4 kxidsqn @4244 0x00000000
ub4 ktsfslhd @4248 0x00000000
ub4 ktsfsltl @4252 0x00000000
struct ktsfs_txn, 20 bytes @4256
ub2 ktsfsflg @4256 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4260
ub2 kxidusn @4260 0x0000
ub2 kxidslt @4262 0x0000
ub4 kxidsqn @4264 0x00000000
ub4 ktsfslhd @4268 0x00000000
ub4 ktsfsltl @4272 0x00000000
struct ktsfs_txn, 20 bytes @4276
ub2 ktsfsflg @4276 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4280
ub2 kxidusn @4280 0x0000
ub2 kxidslt @4282 0x0000
ub4 kxidsqn @4284 0x00000000
ub4 ktsfslhd @4288 0x00000000
ub4 ktsfsltl @4292 0x00000000
struct ktsfs_txn, 20 bytes @4296
ub2 ktsfsflg @4296 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4300
ub2 kxidusn @4300 0x0000
ub2 kxidslt @4302 0x0000
ub4 kxidsqn @4304 0x00000000
ub4 ktsfslhd @4308 0x00000000
ub4 ktsfsltl @4312 0x00000000
struct ktsfs_txn, 20 bytes @4316
ub2 ktsfsflg @4316 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4320
ub2 kxidusn @4320 0x0000
ub2 kxidslt @4322 0x0000
ub4 kxidsqn @4324 0x00000000
ub4 ktsfslhd @4328 0x00000000
ub4 ktsfsltl @4332 0x00000000
struct ktsfs_txn, 20 bytes @4336
ub2 ktsfsflg @4336 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4340
ub2 kxidusn @4340 0x0000
ub2 kxidslt @4342 0x0000
ub4 kxidsqn @4344 0x00000000
ub4 ktsfslhd @4348 0x00000000
ub4 ktsfsltl @4352 0x00000000
struct ktsfs_txn, 20 bytes @4356
ub2 ktsfsflg @4356 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4360
ub2 kxidusn @4360 0x0000
ub2 kxidslt @4362 0x0000
ub4 kxidsqn @4364 0x00000000
ub4 ktsfslhd @4368 0x00000000
ub4 ktsfsltl @4372 0x00000000
struct ktsfs_txn, 20 bytes @4376
ub2 ktsfsflg @4376 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4380
ub2 kxidusn @4380 0x0000
ub2 kxidslt @4382 0x0000
ub4 kxidsqn @4384 0x00000000
ub4 ktsfslhd @4388 0x00000000
ub4 ktsfsltl @4392 0x00000000
struct ktsfs_txn, 20 bytes @4396
ub2 ktsfsflg @4396 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4400
ub2 kxidusn @4400 0x0000
ub2 kxidslt @4402 0x0000
ub4 kxidsqn @4404 0x00000000
ub4 ktsfslhd @4408 0x00000000
ub4 ktsfsltl @4412 0x00000000
struct ktsfs_txn, 20 bytes @4416
ub2 ktsfsflg @4416 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4420
ub2 kxidusn @4420 0x0000
ub2 kxidslt @4422 0x0000
ub4 kxidsqn @4424 0x00000000
ub4 ktsfslhd @4428 0x00000000
ub4 ktsfsltl @4432 0x00000000
struct ktsfs_txn, 20 bytes @4436
ub2 ktsfsflg @4436 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4440
ub2 kxidusn @4440 0x0000
ub2 kxidslt @4442 0x0000
ub4 kxidsqn @4444 0x00000000
ub4 ktsfslhd @4448 0x00000000
ub4 ktsfsltl @4452 0x00000000
struct ktsfs_txn, 20 bytes @4456
ub2 ktsfsflg @4456 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4460
ub2 kxidusn @4460 0x0000
ub2 kxidslt @4462 0x0000
ub4 kxidsqn @4464 0x00000000
ub4 ktsfslhd @4468 0x00000000
ub4 ktsfsltl @4472 0x00000000
struct ktsfs_txn, 20 bytes @4476
ub2 ktsfsflg @4476 0x0000 (NONE)
struct ktsfsxid, 8 bytes @4480
ub2 kxidusn @4480 0x0000
ub2 kxidslt @4482 0x0000
ub4 kxidsqn @4484 0x00000000
ub4 ktsfslhd @4488 0x00000000
ub4 ktsfsltl @4492 0x00000000
补充下
BBED> map /v
File: /u01/oradata/cheese/system01.dbf (1)
Block: 377 Dba:0x00400179
------------------------------------------------------------
Unlimited Data Segment Header
struct kcbh, 20 bytes @0
ub1 type_kcbh @0
ub1 frmt_kcbh @1
ub1 spare1_kcbh @2
ub1 spare2_kcbh @3
ub4 rdba_kcbh @4
ub4 bas_kcbh @8
ub2 wrp_kcbh @12
ub1 seq_kcbh @14
ub1 flg_kcbh @15
ub2 chkval_kcbh @16
ub2 spare3_kcbh @18
struct ktech, 72 bytes @20
ub4 spare1_ktech @20
word tsn_ktech @24
ub4 lastmap_ktech @28
ub4 mapcount_ktech @32
ub4 extents_ktech @36
ub4 blocks_ktech @40
ub2 mapend_ktech @44
struct hwmark_ktech, 32 bytes @48
struct locker_ktech, 8 bytes @80
ub4 flag_ktech @88
struct ktemh, 16 bytes @92
ub4 count_ktemh @92
ub4 next_ktemh @96
ub4 obj_ktemh @100
ub4 flag_ktemh @104
struct ktetb, 8 bytes @108
ub4 ktetbdba @108
ub4 ktetbnbk @112
struct ktshc, 8 bytes @4148
ub2 ktshcnxf @4148
ub2 ktshcnfl @4150
ub2 ktshcnfb @4152
ub1 ktshctyp @4154
struct ktsfs_seg, 20 bytes @4156
ub2 ktsfsflg @4156
struct ktsfsxid, 8 bytes @4160
ub4 ktsfslhd @4168
ub4 ktsfsltl @4172
struct ktsfs_txn, 320 bytes @4176
ub2 ktsfsflg @4176
struct ktsfsxid, 8 bytes @4180
ub4 ktsfslhd @4188
ub4 ktsfsltl @4192
ub4 tailchk @8188
学习bbed的方法,就是你可以创建一个对象,然后使用bbed相同的segment header 部分和dump 该block进行对比着看,应该就可以知道是什么。
从名称上看,这东西可能是和事务槽有关系
另外block 377 本身就有一定的特殊性在里面 :):(学习................
页:
[1]