Oracle数据库数据恢复、性能优化来问问AskMaclean - ParnassusData诗檀软件旗下网站

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

91

积分

0

好友

3

主题
发表于 2011-12-31 00:17:20 | 查看: 8703| 回复: 4
谁有关于share pool中KGLHD  function 相关的介绍?
发表于 2011-12-31 12:32:00
KGLHD is not Function

KGL ->  Kernel Generic Library
KGLHD  Library cache Handle structure
KGLOB - Object structure
KGLNA - Name structure



KGLHD -> KGLOB
               ->  KGLNA -> KGLNA->KGLNA




Object Handles

All objects that are stored in the library cache are accessed by using handles (kglhd). The handle stores the name of the object, its namespace, some flags that are used to get information about the object (if the object is read-only, remote or local, in CGA memory, marked to be kept pinned in memory, and so on), and statistical information regarding the object. The handle is also used by the library cache to keep a list of all users who have locks, pins, or references to the object as well as those who are waiting to acquire locks or pins on it.
Object handles are placed in linked lists according to a hashing algorithm, which is a function of the object’s name and namespace.


When a process requests an object, the library cache manager applies the hashing algorithm to determine the linked list (hash bucket) to be searched. If the object is in cache, the appropriate object handle will be found. It is possible for the handle to be in memory but the object heaps have been aged out. The object handle will tell us that. In this case, the required object heaps are reloaded. Finally, it is possible that the object handle is not found. In this case, a new one must be allocated, it must be populated with the object information, and the object heaps must be loaded.


Handles: kglhd

Files kgl.c kgl2.c kgl.h
发表于 2012-1-4 13:04:41

thanks

thanks for your help
发表于 2021-12-30 21:23:07
非常有帮助的解释

回复 显示全部楼层 道具 举报

发表于 2022-1-4 13:20:44
nice knowledge

回复 显示全部楼层 道具 举报

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

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化来问问AskMaclean - ParnassusData诗檀软件旗下网站

GMT+8, 2023-2-4 17:51 , Processed in 0.049100 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

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