Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

oracle wait event:cursor: pin S wait on X

oracle wait event:cursor: pin S wait on X
cursor: pin S wait on XµÈ´ýʼþµÄ´¦Àí¹ý³Ì
http://database.ctocio.com.cn/tips/114/8263614_1.shtml
cursor: pin S wait on XµÈ´ý£¡
http://www.itpub.net/viewthread.php?tid=1003340
½â¾öcursor: pin S wait on X ÓÐʲôºÃ°ì·¨:
http://www.itpub.net/thread-1163543-1-8.html
cursor: pin S wait on X:
http://space.itpub.net/756652/viewspace-348176
cursor: pin S:
http://yumianfeilong.com/html/2008/11/01/254.html
OTNµÄ½âÊÍ,
cursor: pin SA session waits on this event when it wants to update a shared mutex pin and another session is currently in the process of updating a shared mutex pin for the same cursor object. This wait event should rarely be seen because a shared mutex pin update is very fast.(Wait Time: Microseconds)
Parameter Description
P1 Hash value of cursor
P2 Mutex value (top 2 bytes contains SID holding mutex in exclusive mode, and bottom two bytes usually hold the value 0)
P3 Mutex where (an internal code locator) OR’d with Mutex Sleeps
Oracle10gÖÐÒýÓõÄmutexes»úÖÆÒ»¶¨³Ì¶ÈµÄÌæ´úÁËlibrary cache pin£¬Æä½á¹¹¸ü¼òµ¥£¬get&setµÄÔ­×Ó²Ù×÷¸ü¿ì½Ý¡£
ËüÏ൱ÓÚ£¬Ã¿¸öchild cursorÏÂÃ涼ÓÐÒ»¸ömutexesÕâÑùµÄ¼òµ¥ÄÚ´æ½á¹¹£¬µ±ÓÐsessionÒªÖ´ÐиÃSQL¶øÐèÒªpin cursor²Ù×÷µÄʱºò£¬sessionÖ»ÐèÒªÒÔsharedģʽsetÕâ¸öÄÚ´æλ+1£¬±íʾsession»ñµÃ¸ÃmutexµÄshared mode lock.¿ÉÒÔÓкܶàsessionͬʱ¾ßÓÐÕâ¸ömutexµÄshared mode lock£»µ«ÔÚͬһʱ¼ä£¬Ö»ÄÜÓÐÒ»¸ösessionÔÚ²Ù×÷Õâ¸ömutext +1»òÕß-1¡£+1 -1µÄ²Ù×÷ÊÇÅÅËüÐÔµÄÔ­×Ó²Ù×÷¡£Èç¹ûÒòΪsession²¢ÐÐÌ«¶à£¬¶øµ¼ÖÂij¸ösessionÔڵȴýÆäËûsessionµÄmutext +1/-1²Ù×÷,Ôò¸ÃsessionÒªµÈ´ýcursor: pin SµÈ´ýʼþ¡£
µ±¿´µ½ÏµÍ³ÓкܶàsessionµÈ´ýcursor: pin SʼþµÄʱºò£¬ÒªÃ´ÊÇCPU²»¹»¿ì£¬ÒªÃ´ÊÇij¸öSQLµÄ²¢ÐÐÖ´ÐдÎÊýÌ«¶àÁ˶øµ¼ÖÂÔÚchild cursorÉϵÄmutex²Ù×÷ÕùÓá£Èç¹ûÊÇCapacityµÄÎÊÌ⣬Ôò¿ÉÒÔÉý¼¶Ó²¼þ¡£Èç¹ûÊÇÒòΪSQLµÄ²¢ÐÐÌ«¶à£¬ÔòҪôÏë°ì·¨½µµÍ¸ÃSQLÖ´ÐдÎÊý£¬ÒªÃ´½«¸ÃSQL¸´ÖƳÉN¸öÆäËüµÄSQL¡£
select /*SQL 1*/object_name from t where object_id=?
select /*SQL 2*/object_name from t where object_id=?
select /*SQL …*/object_name from


Ïà¹ØÎĵµ£º

oracle 9i on linux AS4

 ÏÈroot´ò²¹¶¡£ºp3006854_9204_linux.zip
ÔÙÉèoracle»·¾³±äÁ¿
°²×°
°²×°½áÊø½¨¿â֮ǰÐèÒª´òµÄ²¹¶¡ÓУº
p2617419_220_GENERIC.zip
p3119415_9204_linux.zip
¾ßÌå²Î¿¼ÕâƪÎÄÕ£º
Redhat Enterprise Linux 4°²×°oracle
¹Ø¼ü×Ö: redhat el4 oracle °²×°
Ò». °²×°×¼±¸
  1. as4°²×°Íêºó£¬ÐèÒª¼ì²éÏÂÁÐÈí¼þ ......

Oracle PL/SQL¹ÜÀíLDAP·þÎñÆ÷(DBMS_LDAP°üµÄʹÓÃ)

Á˽âLDAP

LDAPÊÇLight Directory Access ProtocolÇáÁ¿¼¶Ä¿Â¼·ÃÎÊЭÒéµÄ¼ò³Æ£¬LDAPÓëÊý¾Ý¿âÓкܴóµÄÇø±ð£¬ËüµÄÊý¾ÝÊÇÊ÷×´µÄ£¬¶øÇÒÿ¸ö½ÚµãµÄÊôÐÔÒ²±È½Ï¹Ì¶¨¡£
LDAPЭÒéÖÐÓÃdn±íʾһÌõ¼Ç¼µÄλÖã¬dc±íʾһÌõ¼Ç¼ËùÊôÇøÓò£¬ou±íʾһÌõ¼Ç¼ËùÊô×éÖ¯£¬cn±íʾһÌõ¼Ç¼µÄÃû³Æ£¬uid±íʾһÌõ¼Ç¼µÄID£¬ÆäÖÐdnÊǸù¾ ......

ORACLEºÍSQLÓï·¨Çø±ð¹éÄÉ

Êý¾ÝÀàÐͱȽÏ
ÀàÐÍÃû³Æ
Oracle
SQLServer
±È½Ï
×Ö·ûÊý¾ÝÀàÐÍ CHAR CHAR ¶¼Êǹ̶¨³¤¶È×Ö·û×ÊÁϵ«oracle ÀïÃæ×î´ó¶ÈΪ2kb£¬SQLServerÀïÃæ×î´ó³¤¶ÈΪ8kb
±ä³¤×Ö·ûÊý¾ÝÀàÐÍ VARCHAR2 VARCHAR Oracle ÀïÃæ×î´ó³¤¶ÈΪ 4kb£¬SQLServerÀïÃæ×î´ó³¤¶ÈΪ8kb
¸ù¾Ý×Ö·û¼¯¶ø¶¨µÄ¹Ì¶¨³¤¶È×Ö·û´® NCHAR NCHAR Ç°Õß×î´ó³¤¶È2kb ......

Oracle TRANSLATEÓ÷¨

Óï·¨£ºTRANSLATE(expr,from,to)
expr: ´ú±íÒ»´®×Ö·û£¬from Óë to ÊÇ´Ó×óµ½ÓÒÒ»Ò»¶ÔÓ¦µÄ¹Øϵ£¬Èç¹û²»ÄܶÔÓ¦£¬ÔòÊÓΪ¿ÕÖµ¡£
¾ÙÀý£º
select translate('abcbbaadef','ba','#@') from dual¡¡£¨b½«±»££Ìæ´ú£¬a½«±»£ÀÌæ´ú£©
select translate('abcbbaadef','bad','#@') from dual¡¡£¨b½«±»££Ìæ´ú£¬a½«±»£ÀÌæ´ú£¬d¶ÔÓ¦µÄÖµÊÇ¿Õ ......

oracle wait event:PX Deq Credit: send blkd

Just a few days ago a got to two Oracle DBAs discussing why the have so much “PX Deq Credit : send blkd” on a system. And if that is causing their performance problems.
The are some blog on the internet claiming it has to do with qc distribution and what ever.
But in many cases, especi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ