Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

0

好友

18

主题
1#
发表于 2013-1-9 14:23:09 | 查看: 3758| 回复: 2
你好:
我使用10074dumpOracle 内部锁信息,关于dump文件中的内容不太明白,请指教。
ksqgtl *** CU-b2660a04-00000000 mode=6 flags=0x10 timeout=300 ***
ksqgtl: no transaction
ksqgtl: use existing ksusetxn DID
ksqgtl:
        ksqlkdid: 0001-0013-00000031

*** 2013-01-09 13:02:00.740
*** ksudidTrace: ksqgtl
        ksusesdi:   0000-0000-00000000
        ksusetxn:   0001-0013-00000031
ksqgtl: RETURNS 0

*** 2013-01-09 13:02:00.822
ksqgtl *** CU-b26730e0-00000000 mode=6 flags=0x10 timeout=300 ***
ksqgtl: no transaction
ksqgtl: use existing ksusetxn DID
ksqgtl:
        ksqlkdid: 0001-0013-00000031

*** 2013-01-09 13:02:00.823
*** ksudidTrace: ksqgtl
        ksusesdi:   0000-0000-00000000
        ksusetxn:   0001-0013-00000031
ksqgtl: RETURNS 0

*** 2013-01-09 13:02:00.853
ksqrcl: CU,b26730e0,0
ksqrcl: returns 0

*** 2013-01-09 13:02:00.870
ksqrcl: CU,b2660a04,0
ksqrcl: returns 0


第一个问题: enq:CU的命名规则是什么?它的object id是否对应系统视图中某个字段?
第二个问题:ksqgtl ,ksusesdi,ksusetxn,ksqrcl等4个函数大致的含义能否说明一下。
2#
发表于 2013-1-9 21:17:03
3.4        CU, Bind Enqueue
How Many Resources:
1/child cursor
How Many Locks:
1/child cursor/process.
How Many Users:
processes * open_cursors.
Who Uses:
All processes.
When Used:
This keeps us from hanging on the exclusive pin if somebody else sets the bind types and gets the shared-pin for the execute before we get the exclusive pin for bind (which would be unnecessary at that point). Once we get the enqueue, we’ll check whether the cursor is still unbound, in which case we’ll verify that it was bound the way that we wanted it, or we’ll go ahead and bind it ourselves.
Id1, Id2 Combination:
Child Object Handle, 0.

回复 只看该作者 道具 举报

3#
发表于 2013-1-9 21:21:50
CU

Id1=>Child Object Handle
ID2=>0

ksqgtl get lock
ksqrcl release lock

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-26 01:27 , Processed in 0.048649 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569