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

¡¾×ª¡¿ Oracleµ÷ÓÅ×ÛÊö

Oracleµ÷ÓÅ×ÛÊö
ÔÚ¹ýÈ¥µÄÊ®ÄêÖУ¬ Oracle ÒѾ­³ÉΪÊÀ½çÉÏ×îרҵµÄÊý¾Ý¿âÖ®Ò»¡£¶ÔÓÚ IT ר¼ÒÀ´Ëµ£¬¾ÍÊÇҪȷ±£ÀûÓà Oracle µÄÇ¿´óÌØÐÔÀ´Ìá¸ßËûÃǹ«Ë¾µÄÉú²úÁ¦¡£×îÓÐЧµÄ·½·¨Ö®Ò»ÊÇͨ¹ý Oracle µ÷ÓÅ¡£ËüÓдóÁ¿µÄµ÷Õû²ÎÊýºÍ¼¼ÊõÀ´¸Ä½øÄãµÄ Oracle Êý¾Ý¿âµÄÐÔÄÜ¡£
    Oracle µ÷ÓÅÊÇÒ»¸ö¸´ÔÓµÄÖ÷Ìâ¡£¹ØÓÚµ÷ÓÅ¿ÉÒÔдÕûÕûÒ»±¾Ê飬²»¹ý£¬ÎªÁ˸ÄÉÆ Oracle Êý¾Ý¿âµÄÐÔÄÜ£¬ÓÐһЩ»ù±¾µÄ¸ÅÄîÊÇÿ¸ö Oracle DBA ¶¼Ó¦¸Ã×ñ´ÓµÄ¡£
    ÔÚÕâƪ¼ò½éÖУ¬ÎÒÃǽ«¼òÒªµØ½éÉÜÒÔÏ嵀 Oracle Ö÷Ì⣺
    Íⲿµ÷Õû£ºÎÒÃÇÓ¦¸Ã¼Çס Oracle ²¢²»Êǵ¥¶ÀÔËÐеġ£Òò´ËÎÒÃǽ«²é¿´Ò»ÏÂͨ¹ýµ÷Õû Oracle ·þÎñÆ÷ÒԵõ½¸ßµÄÐÔÄÜ¡£
    Row re-sequencing ÒÔ¼õÉÙ´ÅÅÌ I/O £ºÎÒÃÇÓ¦¸Ã¶®µÃ Oracle µ÷ÓÅ×îÖØÒªµÄÄ¿±êÊǼõÉÙ I/O ¡£
    Oracle SQL µ÷Õû¡£ Oracle SQL µ÷ÕûÊÇ Oracle µ÷ÕûÖÐ×îÖØÒªµÄÁìÓòÖ®Ò»£¬Ö»ÒªÍ¨¹ýһЩ¼òµ¥µÄ SQL µ÷ÓŹæÔò¾Í¿ÉÒÔ´ó·ù¶ÈµØÌáÉý SQL Óï¾äµÄÐÔÄÜ£¬ÕâÊÇÒ»µã¶¼²»Ææ¹ÖµÄ¡£
    µ÷Õû Oracle ÅÅÐò£ºÅÅÐò¶ÔÓÚ Oracle ÐÔÄÜÒ²ÊÇÓкܴóÓ°ÏìµÄ¡£
    µ÷Õû Oracle µÄ¾ºÕù£º±íºÍË÷ÒýµÄ²ÎÊýÉèÖöÔÓÚ UPDATE ºÍ INSERT µÄÐÔÄÜÓкܴóµÄÓ°Ïì¡£
    ÎÒÃÇÊ×ÏÈ´Óµ÷Õû Oracle ÍⲿµÄ»·¾³¿ªÊ¼¡£Èç¹ûÄÚ´æºÍ CPU µÄ×ÊÔ´²»×ãµÄ»°£¬ÈÎºÎµÄ Oracle µ÷Õû¶¼ÊÇûÓаïÖúµÄ¡£
    ÍⲿµÄÐÔÄÜÎÊÌâ
    Oracle ²¢²»Êǵ¥¶ÀÔËÐеġ£ Oracle Êý¾Ý¿âµÄÐÔÄܺÍÍⲿµÄ»·¾³ÓкܴóµÄ¹Øϵ¡£ÕâЩÍⲿµÄÌõ¼þ°üÀ¨ÓУº
    £®CPU--CPU ×ÊÔ´µÄ²»×ãÁî²éѯ±äÂý¡£µ±²éѯ³¬¹ýÁË Oracle ·þÎñÆ÷µÄ CPU ÐÔÄÜʱ£¬ÄãµÄÊý¾Ý¿âÐÔÄܾÍÊܵ½ CPU µÄÏÞÖÆ¡£
    £®ÄÚ´æ -- ¿ÉÓÃÓÚ Oralce µÄÄÚ´æÊýÁ¿Ò²»áÓ°Ïì SQL µÄÐÔÄÜ£¬ÌرðÊÇÔÚÊý¾Ý»º³åºÍÄÚ´æÅÅÐò·½Ãæ¡£
    £®ÍøÂç -- ´óÁ¿µÄ Net8 ͨÐÅÁî SQL µÄÐÔÄܱäÂý¡£
    Ðí¶àÐÂÊÖ¶¼´íÎóµÄÈÏΪӦ¸ÃÊ×Ïȵ÷Õû Oracle Êý¾Ý¿â£¬¶ø²»ÊÇÏÈÈ·ÈÏÍⲿ×ÊÔ´ÊÇ·ñ×ã¹»¡£Êµ¼ÊÉÏ£¬Èç¹ûÍⲿ»·¾³³öÏÖÆ¿¾±£¬ÔÙ¶àµÄ Oracle µ÷Õû¶¼ÊÇûÓаïÖúµÄ¡£
    ÔÚ¼ì²é Oracle µÄÍⲿ»·¾³Ê±£¬ÓÐÁ½¸ö·½ÃæÊÇÐèҪעÒâµÄ£º
    1 ¡¢µ±ÔËÐжÓÁеÄÊýÄ¿³¬¹ý·þÎñÆ÷µÄ CPU ÊýÁ¿Ê±£¬·þÎñÆ÷µÄÐÔÄܾͻáÊܵ½ CPU µÄÏÞÖÆ¡£²¹¾ÈµÄ·½·¨ÊÇΪ·þÎñÆ÷Ôö¼Ó¶îÍ


Ïà¹ØÎĵµ£º

Oracle ·ÖÎöº¯Êý·Ö×éÀÛ¼Ó£¡

Óû§ºÅÂë µÇ½ʱ¼ä
1300000000 2010-01-01
1300000001 2010-01-01
1300000002 2010-01-02
1300000001 2010-01-02
1300000003 2010-01-03
1300000002 2010-01-03
1300000004 2010-01-04
1300000003 2010-01-04
1300000004 2010-01-02
1300000006 2011-01-04
1300000001 2011-01-04
 ÌÞ³ýÖظ´µ ......

ORACLE EXPLAIN PLANµÄ×ܽá

ÔÚORACLEÊý¾Ý¿âÖÐ,ÐèÒª¶ÔSQLÓï¾ä½øÐÐÓÅ»¯µÄ»°ÐèÒªÖªµÀÆäÖ´Ðмƻ®,´Ó¶øÕë¶ÔÐԵĽøÐе÷Õû.ORACLEµÄÖ´Ðмƻ®µÄ»ñµÃÓм¸ÖÖ·½·¨,ÏÂÃæ¾ÍÀ´×ܽáÏÂ
1¡¢EXPLAINµÄʹÓÃ
    Oracle RDBMSÖ´ÐÐÿһÌõSQLÓï¾ä£¬¶¼±ØÐë¾­¹ýOracleÓÅ»¯Æ÷µÄÆÀ¹À¡£ËùÒÔ£¬Á˽âÓÅ»¯Æ÷ÊÇÈçºÎÑ¡Ôñ(ËÑË÷)·¾¶ÒÔ¼°Ë÷ÒýÊÇÈçºÎ±»Ê¹Óõģ¬¶ÔÓÅ»¯SQLÓï ......

oracle merge into Ó÷¨Ïê½â

oracle merge into Ó÷¨Ïê½â
2009-07-31 10:14
Oracle9iÒýÈëÁËMERGEÃüÁî,ÄãÄܹ»ÔÚÒ»¸öSQLÓï¾äÖжÔÒ»¸ö±íͬʱִÐÐinsertsºÍupdates²Ù×÷. MERGEÃüÁî´ÓÒ»¸ö»ò¶à¸öÊý¾ÝÔ´ÖÐÑ¡ÔñÐÐÀ´updating»òinsertingµ½Ò»¸ö»ò¶à¸ö±í.
Oracle 10gÖÐMERGEÓÐÈçÏÂһЩ¸Ä½ø£º
1¡¢UPDATE»òINSERT×Ó¾äÊÇ¿ÉÑ¡µÄ
2¡¢UPDATEºÍINSERT×Ó¾ä¿ÉÒÔ¼ÓWHERE ......

30¸öOracleÓï¾äÓÅ»¯¹æÔòÏê½â

1.Ñ¡ÓÃÊʺϵÄOracleÓÅ»¯Æ÷
OracleµÄÓÅ»¯Æ÷¹²ÓÐ3ÖÖ£º
a.RULE(»ùÓÚ¹æÔò)
b.COST(»ùÓڳɱ¾)
c.CHOOSE(Ñ¡ÔñÐÔ)
ÉèÖÃȱʡµÄÓÅ»¯Æ÷£¬¿ÉÒÔͨ¹ý¶Ôinit.oraÎļþÖÐOPTIMIZER_MODE²ÎÊýµÄ
¸÷ÖÖÉùÃ÷£¬ÈçRULE¡¢COST¡¢CHOOSE¡¢ALL_ROWS¡¢FIRST_ROWS¡£Ä㵱ȻҲÔÚSQL¾ä¼¶»òÊǻỰ(session)¼¶¶ÔÆä½øÐи²
¸Ç¡£
ΪÁËʹÓûùÓڳɱ¾µÄÓÅ»¯Æ ......

ÐÞ¸ÄoracleµÄweb·þÎñÆ÷¶Ë¿Ú

   ÔÚʹÓÃtomcatʱ£¬Èç¹û±¾»ú×°ÔØÁËoracle£¬ÄÇôÊÇÎÞ·¨Æô¶¯µÄ£¬ÒòΪ8080¶Ë¿ÚÒѱ»Õ¼ÓÃÁË¡£µ±È»¿ÉÒÔͨ¹ýÐÞ¸Ä server.mxlµÄ¶Ë¿ÚºÅʹtomcatµÄ¶Ë¿Ú²»ÊÇ8080£¬ÎÒÃÇ»¹¿ÉÒÔÐÞ¸ÄoracleµÄweb·þÎñÆ÷µÄ¶Ë¿Ú£¬²½Ö裺
1£©£¬´ò¿ªoracleµÄsqlÃüÁîÊäÈë´°¿Ú
2£©£¬Á¬½Óµ½Oracle·þÎñÆ÷£¬ÓÃÃüÁîconn sys as SYSDBA
3£©£¬ÓÃÃûÁca ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ