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

¡¾×ª¡¿oracle¼¸¸ö³£Óõļà¿ØÊÓͼ


oracle¼¸¸ö³£Óõļà¿ØÊÓͼ
oracle¼¸¸ö³£Óõļà¿ØÊÓͼ
v$processÊÓͼ:
        v$processÊÓͼ°üº¬µ±Ç°ÏµÍ³oracleÔËÐеÄËùÓнø³ÌÐÅÏ¢¡£³£±»ÓÃÓÚ½«oracle»ò·þÎñ½ø³ÌµÄ²Ù×÷ϵͳ½ø³ÌIDÓëÊý¾Ý¿âsessionÖ®¼ä½¨Á¢ÁªÏµ¡£
³£ÓÃÁУº
        ADDR£º½ø³Ì¶ÔÏóµØÖ·
        PID£ºoracle½ø³ÌID
        SPID£º²Ù×÷ϵͳ½ø³ÌID
        V$PROCESSÖеÄÁ¬½ÓÁÐ
        Column View Joined Column(s)
        ADDR V$SESSION PADDR
v$sessionÊÓͼ
        V$SESSIONÊÇ»ù´¡ÐÅÏ¢ÊÓͼ£¬ÓÃÓÚÕÒÑ°Óû§SID»òSADDR¡£²»¹ý£¬ËüÒ²ÓÐһЩÁлᶯ̬µÄ±ä»¯£¬¿ÉÓÃÓÚ¼ì²éÓû§¡£
³£ÓÃÁУº
        SID£ºSESSION±êʶ£¬³£ÓÃÓÚÁ¬½ÓÆäËüÁÐ
        SERIAL#£ºÈç¹ûij¸öSIDÓÖ±»ÆäËüµÄsessionʹÓõĻ°Ôò´ËÊýÖµ×ÔÔö¼Ó(µ±Ò»¸öSESSION½áÊø£¬ÁíÒ»¸öSESSION¿ªÊ¼²¢Ê¹ÓÃÁËͬһ¸öSID)¡£
        AUDSID£ºÉó²ésession IDΨһÐÔ£¬È·ÈÏËüͨ³£Ò²ÓÃÓÚµ±Ñ°ÕÒ²¢Ðвéѯģʽ
        USERNAME£ºµ±Ç°sessionÔÚoracleÖеÄÓû§Ãû¡£
        STATUS£ºÕâÁÐÓÃÀ´ÅжÏsession״̬ÊÇ£º
        Achtive£ºÕýÖ´ÐÐSQLÓï¾ä(waiting for/using a resource)
        Inactive£ºµÈ´ý²Ù×÷(¼´µÈ´ýÐèÒªÖ´ÐеÄSQLÓï¾ä)
        Killed£º±»±êעΪɾ³ý
        paddr, process addr, ͨ¹ýÕâ¸ö×Ö¶ÎÎÒÃÇ¿ÉÒԲ鿴µ±Ç°½ø³ÌµÄÏà¹ØÐÅÏ¢, ϵͳ½ø³Ìid,²Ù×÷ϵͳÓû§ÐÅÏ¢µÈµÈ.
        (sql_address,sql_hash_value) (prev_sql_addr,prev_hash_value) ¸ù¾ÝÕâÁ½×é×Ö¶Î, ÎÒÃÇ¿ÉÒÔ²éѯµ½µ±Ç°sessionÕýÔÚÖ´ÐеÄsqlÓï¾äµÄÏêϸ
ÐÅÏ¢.
v$sqltextÊÓͼ
        v$sqltextÊÓͼ°üÀ¨Shared poolÖÐSQLÓï¾äµÄÍêÕûÎı¾£¬Ò»ÌõSQLÓï¾ä¿ÉÄֳܷɶà¸ö¿é±»±£´æÓÚ¶à¸ö¼Ç¼ÄÚ¡£
³£ÓÃÁУº
        HAS


Ïà¹ØÎĵµ£º

²»ÊÇORACLEµÄÎÊÌâ

                                          ²»ÊÇORACLEµÄÎÊÌâ
2009-12-30 15:00
    ......

ÓÃORACLE½¨Á¢Êý¾Ý¿â£¨Ïê½â£©


Êý¾Ý¿â½á¹¹ºÍ¿Õ¼ä¹ÜÀí£¨Êý¾ÝÎļþ¡¢ÈÕÖ¾Îļþ¡¢±í¿Õ¼ä¡¢¶Î¡¢Ä£Ê½ºÍģʽ¶ÔÏó£©
   Ò»¸öORACLEÊý¾Ý¿âÊÇÊý¾ÝµÄ¼¯ºÏ,±»´¦Àí³ÉÒ»¸öµ¥Î»¡£Ò»¸öORACLEÊý¾Ý¿âÓÐÒ»¸öÎïÀí½á¹¹ºÍÒ»¸öÂß¼­½á¹¹¡£
   ORACLEÂß¼­Êý¾Ý¿â½á¹¹ÊÇÓû§ËùÉæ¼°µÄÊý¾Ý¿â½á¹¹¡£Ò»¸öORACLEÊý¾Ý¿âµÄÂß¼­½á¹¹ÓÉÏÂÁÐÒòËؾö¶¨:
  &nb ......

centos 4.5Ï°²×°oracle 9204

centos 4.5Ï°²×°oracle 9204
Linux localhost.localdomain 2.6.9-55.ELsmp
Ò»£¬½âѹËõOracle9204µÄ°²×°Îļþ
1£® Oracle 9iR2 (9.2.0.4)
(1) ¼ò»¯¹ý³Ì£¨ÒÔoracleµÇ¼£¬ÊÍ·Å°²×°Îļþ,ʹÓøüÉٵĴÅÅ̿ռ䣬Ëٶȸü¿ì£©  
ÔÚ°²×°LINUXʱ×îºÃ·ÖÒ»¸öÇø/orasetup,ÕâÑùÒ»À´¼´Ê¹ÏµÍ³»µÁË,Ò²Ö»ÊÇÖØװϵͳ,¶øÎÞÐëÖØÐ ......

oracleµÄdecode

DECODEº¯ÊýµÄ×÷ÓãºËü¿ÉÒÔ½«ÊäÈëÊýÖµÓ뺯ÊýÖеIJÎÊýÁбíÏà±È½Ï£¬¸ù¾ÝÊäÈëÖµ·µ»ØÒ»¸ö¶ÔÓ¦Öµ¡£º¯ÊýµÄ²ÎÊýÁбíÊÇÓÉÈô¸ÉÊýÖµ¼°Æä¶ÔÓ¦½á¹ûÖµ×é³ÉµÄÈô¸ÉÐòżÐÎʽ¡£µ±È»£¬Èç¹ûδÄÜÓëÈκÎÒ»¸öʵ²ÎÐòżƥÅä³É¹¦£¬Ôòº¯ÊýÒ²ÓÐĬÈϵķµ»ØÖµ¡£
¡¡¡¡Çø±ðÓÚSQLµÄÆäËüº¯Êý£¬DECODEº¯Êý»¹ÄÜʶ±ðºÍ²Ù×÷¿ÕÖµ¡£
¡¡¡¡Óï·¨ÈçÏ£º
¡¡¡¡DECODE ......

Oracle²é¿´Óû§±í

ÔÚOracleÖв鿴ËùÓеıí: 
select * from tab/dba_tables/dba_objects/cat; 
¿´Óû§½¨Á¢µÄ±í   :  
select table_name from user_tables;  //µ±Ç°Óû§µÄ±í   
    
select table_name from all_tables;  //ËùÓÐÓû§µÄ±í    ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ