ORACLE±êÇ©ÊÕ²Ø
@@servername:·µ»ØÔËÐÐSQL ServerÊý¾Ý¿â±¾µØ·þÎñÆ÷µÄÃû³Æ¡£
@@remserver:·µ»ØµÇ¼¼Ç¼ÖмÇÔصÄÔ¶³ÌSQL Server·þÎñÆ÷µÄÃû³Æ¡£
@@connections:·µ»Ø×ÔÉÏ´ÎÆô¶¯SQL ServerÒÔÀ´Á¬½Ó»òÊÔͼÁ¬½ÓµÄ´ÎÊý£¬ÓÃÆä¿ÉÈùÜÀíÈËÔ±·½±ãµØÁ˽â½ñÌìËùÓÐÊÔͼÁ¬½Ó·þÎñÆ÷µÄ´ÎÊý¡£
@@cursor_rows:·µ»Ø×îºóÁ¬½ÓÉϲ¢´ò¿ªµÄÓαêÖе±Ç°´æÔڵĺϸñÐеÄÊýÁ¿¡£@@erro:·µ»Ø×îºóÖ´ÐеÄTransact-SQLÓï¾äµÄ´íÎó´úÂë¡£
@@rowcount:·µ»ØÊÜÉÏÒ»Óï¾äÓ°ÏìµÄÐÐÊý£¬Èκβ»·µ»ØÐеÄÓï¾ä½«ÕâÒ»±äÁ¿ÉèÖÃΪ0¡£
@@version:·µ»ØSQL Serverµ±Ç°°²×°µÄÈÕÆÚ¡¢°æ±¾ºÍ´¦ÀíÆ÷ÀàÐÍ¡£
@@cup_busy:·µ»Ø×ÔSQL Server×î½üÒ»´ÎÆô¶¯ÒÔÀ´CPUµÄ¹¤×÷ʱ¼äÆ䵥λΪºÁÃë¡£
@@datefirst:·µ»ØʹÓÃSET DATEFIRSTÃüÁî¶ø±»¸³ÖµµÄDATAFIRST²ÎÊýÖµ¡£SET DATEFIRSTÃüÁîÓÃÀ´Ö¸¶¨Ã¿ÖܵĵÚÒ»ÌìÊÇÐÇÆÚ¼¸¡£
@@DBTS:·µ»Øµ±Ç°Êý¾Ý¿âµÄʱ¼ä´ÁÖµ±ØÐë±£Ö¤Êý¾Ý¿âÖÐʱ¼ä´ÁµÄÖµÊÇΩһµÄ¡£
@@FETCH_STATUS:·µ»ØÉÏÒ»´ÎFETCHÓï¾äµÄ״ֵ̬¡£
@@IDENTITY:·µ»Ø×îºó²åÈëÐеıêʶÁеÄÁÐÖµ¡£
@@IDLE: ·µ»Ø×ÔSQL Server×î½üÒ»´ÎÆô¶¯ÒÔÀ´CPU´¦ÓÚ¿Õ±Õ״̬µÄʱ¼ä³¤¶Ì£¬µ¥Î»ÎªºÁÃë¡£
@@IO_BUSY:·µ»Ø×ÔSQL Server×îºóÒ»´ÎÆô¶¯ÒÔÀ´CPUÖ´ÐÐÊäÈëÊä³ö²Ù×÷Ëù»¨·ÑµÄʱ¼ä(ºÁÃë)¡£
@@LANGID:·µ»Øµ±Ç°ËùʹÓõÄÓïÑÔIDÖµ¡£
@@LANGUAGE:·µ»Øµ±Ç°Ê¹ÓõÄÓïÑÔÃû³Æ¡£
@@LOCK_TIMEOUT:·µ»Øµ±Ç°»á»°µÈ´ýËøµÄʱ¼ä³¤¶ÌÆ䵥λΪºÁÃë¡£
@@MAX_CONNECTIONS:·µ»ØÔÊÐíÁ¬½Óµ½SQL ServerµÄ×î´óÁ¬½ÓÊýÄ¿¡£
@@MAX_PRECISION:·µ»Ødecimal ºÍ numericÊý¾ÝÀàÐ͵ľ«È·¶È¡£
@@NESTLEVEL:·µ»Øµ±Ç°Ö´ÐеĴ洢¹ý³ÌµÄǶÌ×¼¶Êý£¬³õʼֵΪ0¡£
@@OPTIONS:·µ»Øµ±Ç°SETÑ¡ÏîµÄÐÅÏ¢¡£
@@PACK_RECEIVED:·µ»ØSQL Serverͨ¹ýÍøÂç¶ÁÈ¡µÄÊäÈë°üµÄÊýÄ¿¡£
@@PACK_SENT:·µ»ØSQL Serverд¸øÍøÂçµÄÊä³ö°üµÄÊýÄ¿¡£
@@PACKET_ERRORS:·µ»ØÍøÂç°üµÄ´íÎóÊýÄ¿¡£
@@PROCID:·µ»Øµ±Ç°´æ´¢¹ý³ÌµÄIDÖµ¡£
@@SERVICENAME:·µ»ØSQL ServerÕýÔËÐÐÓÚÄÄÖÖ·þÎñ״̬֮Ï£ºÈç MS SQLServer¡¢MSDTC¡¢SQLServerAgent¡£
@@SPID:·µ»Øµ±Ç°Óû§´¦ÀíµÄ·þÎñÆ÷´¦ÀíIDÖµ¡£
@@TEXTSIZE:·µ»ØSETÓï¾äµÄTEXTSIZEÑ¡ÏîÖµSETÓï¾ä¶¨ÒåÁËSELECTÓï¾äÖÐtext»òimage¡£Êý¾ÝÀàÐ͵Ä×î´ó³¤¶È»ù±¾µ¥Î»Îª×Ö½Ú¡£
@@TIMETICKS:·µ»ØÿһʱÖÓµÄ΢ÃëÊý¡£
@@TOTAL_ERRORS:·µ»Ø´ÅÅ̶Áд´íÎóÊýÄ¿¡£
@@TOTAL_READ:·µ»Ø´ÅÅ̶Á²Ù×÷µÄÊýÄ¿¡£
@@TOTAL_WRITE:·µ»Ø´ÅÅÌд²Ù×÷µÄÊýÄ¿¡£
@@TRANCOUNT:·µ»Øµ±Ç°Á¬½ÓÖд¦ÓÚ¼¤»î×
Ïà¹ØÎĵµ£º
ÉñÃØµÄ ORACLE DUAL±í
DUAL ? ÓÐʲôÉñÃصÄ? µ±ÄãÏëµÃµ½ORACLEϵͳʱ¼ä, ¼ò¼òµ¥µ¥ÇÃÒ»ÐÐSQL¡¡
¡¡¡¡
¡¡¡¡²»¾ÍµÃÁËÂð? ¹ÊŪÐþÐé….¡¡
¡¡¡¡
¡¡¡¡SQL> select sysdate from dual;¡¡
¡¡¡¡
¡¡¡¡SYSDATE¡¡
¡¡¡¡
¡¡¡¡———¡¡
¡¡¡¡
¡¡¡¡28-SEP-03¡ ......
ORACLE 10GÔÚLINUXµÄ°²×°:
ÏÈÉÏÀ´Á½ÕÅͼ:
DBAÊÇŬÁ¦µÄ·½Ïò,ORACLE DBA°üÂÞÍòÏó,Á¬LINUX/UNIX¶¼¸ã²»¶¨,»¹ÅªP¸öORACLE°¡.
Á½²¿·Ö:
1.RED HAT ENTERPRISE LINUX 5µÄ°²×°
Äѵã(¶ÔÓÚÏÖÔÚµÄÎÒÀ´Ëµ):1.1YUM±¾µØÔ´µÄÅäÖÃ;ÍøÂçÓÐÏà¹Ø×ÊÁÏ,²»¶à˵ÁË.ÓÉÓÚÊDZ¾»úʹÓÃ,²Î¿¼ÁËFTPÔ´ºó,ÎÒʹÓÃÁËFILEÔ´;
&nb ......
1.ʲôÊÇRMAN£¿
¡¡¡¡RMAN¿ÉÒÔÓÃÀ´±¸·ÝºÍ»¹ÔÊý¾Ý¿âÎļþ¡¢¹éµµÈÕÖ¾ºÍ¿ØÖÆÎļþ¡£ËüÒ²¿ÉÒÔÓÃÀ´Ö´ÐÐÍêÈ«»ò²»ÍêÈ«µÄÊý¾Ý¿â»Ö¸´¡£
¡¡¡¡×¢Ò⣺RMAN²»ÄÜÓÃÓÚ±¸·Ý³õʼ»¯²ÎÊýÎļþºÍ¿ÚÁîÎļþ¡£
¡¡¡¡RMANÆô¶¯Êý¾Ý¿âÉϵÄOracle·þÎñÆ÷½ø³ÌÀ´½øÐб¸·Ý»ò»¹Ô¡£±¸·Ý¡¢»¹Ô¡¢»Ö¸´ÊÇÓÉÕâЩ½ø³ÌÇý¶¯µÄ¡£
¡¡¡¡RMAN¿ÉÒÔÓÉOEMµÄBackup Manager ......
ÎÒÃÇÒª×öµ½²»µ«»áдSQL,»¹Òª×öµ½Ð´³öÐÔÄÜÓÅÁ¼µÄSQL,ÒÔÏÂΪ±ÊÕßѧϰ¡¢ÕªÂ¼¡¢²¢»ã×ܲ¿·Ö×ÊÁÏÓë´ó¼Ò·ÖÏí£¡
£¨1£©Ñ¡Ôñ×îÓÐЧÂʵıíÃû˳Ðò(Ö»ÔÚ»ùÓÚ¹æÔòµÄÓÅ»¯Æ÷ÖÐÓÐЧ)£º
orACLEµÄ½âÎöÆ÷°´ÕÕ´ÓÓÒµ½×óµÄ˳Ðò´¦Àífrom×Ó¾äÖеıíÃû£¬from×Ó¾äÖÐдÔÚ×îºóµÄ±í(»ù´¡±í driving table)½«±»×îÏÈ´¦Àí£¬ÔÚfrom×Ó¾äÖаüº¬¶à¸ö±íµÄÇé¿öÏÂ, ......