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

Oracle ·Çϵͳ±í¿Õ¼ä'noncrit ' ÎÞ·¨Ê¹ÓÃϵͳ»ØÍ˶Î

Ò»£º»Ø¹ö¶Î¸ÅÊö
¡¡¡¡»Ø¹ö¶ÎÓÃÓÚ´æ·ÅÊý¾ÝÐÞ¸Ä֮ǰµÄÖµ£¨°üÀ¨Êý¾ÝÐÞ¸Ä֮ǰµÄλÖúÍÖµ£©¡£»Ø¹ö¶ÎµÄÍ·²¿°üº¬ÕýÔÚʹÓõĸûعö¶ÎÊÂÎñµÄÐÅÏ¢¡£Ò»¸öÊÂÎñÖ»ÄÜʹÓÃÒ»¸ö»Ø¹ö¶ÎÀ´´æ·ÅËüµÄ»Ø¹öÐÅÏ¢£¬¶øÒ»¸ö»Ø¹ö¶Î¿ÉÒÔ´æ·Å¶à¸öÊÂÎñµÄ»Ø¹öÐÅÏ¢¡£
»Ø¹ö¶ÎµÄ×÷ÓÃ
¡¡¡¡ÊÂÎñ»Ø¹ö£ºµ±ÊÂÎñÐ޸ıíÖÐÊý¾ÝµÄʱºò£¬¸ÃÊý¾ÝÐÞ¸ÄÇ°µÄÖµ£¨¼´Ç°Ó°Ïñ£©»á´æ·ÅÔڻعö¶ÎÖУ¬µ±Óû§»Ø¹öÊÂÎñ£¨ROLLBACK£©Ê±£¬ORACLE½«»áÀûÓûعö¶ÎÖеÄÊý¾ÝÇ°Ó°ÏñÀ´½«Ð޸ĵÄÊý¾Ý»Ö¸´µ½Ô­À´µÄÖµ¡£
¡¡¡¡ÊÂÎñ»Ö¸´£ºµ±ÊÂÎñÕýÔÚ´¦ÀíµÄʱºò£¬Àý³Ìʧ°Ü£¬»Ø¹ö¶ÎµÄÐÅÏ¢±£´æÔÚÖØ×öÈÕÖ¾ÎļþÖУ¬ORACLE½«ÔÚÏ´δò¿ªÊý¾Ý¿âʱÀûÓûعöÀ´»Ö¸´Î´Ìá½»µÄÊý¾Ý¡£
¡¡¡¡¶ÁÒ»ÖÂÐÔ£ºµ±Ò»¸ö»á»°ÕýÔÚÐÞ¸ÄÊý¾Ýʱ£¬ÆäËûµÄ»á»°½«¿´²»µ½¸Ã»á»°Î´Ìá½»µÄÐ޸ġ£¶øÇÒ£¬µ±Ò»¸öÓï¾äÕýÔÚÖ´ÐÐʱ£¬¸ÃÓï¾ä½«¿´²»µ½´Ó¸ÃÓï¾ä¿ªÊ¼Ö´ÐкóµÄδÌá½»µÄÐ޸ģ¨Óï¾ä¼¶¶ÁÒ»ÖÂÐÔ£©¡£µ±ORACLEÖ´ÐÐSELECTÓï¾äʱ£¬ORACLEÒÀÕÕµ±Ç°µÄϵͳ¸Ä±äºÅ£¨SYSTEM CHANGE NUMBER-SCN£©À´±£Ö¤ÈκÎÇ°ÓÚµ±Ç°SCNµÄδÌá½»µÄ¸Ä±ä²»±»¸ÃÓï¾ä´¦Àí¡£¿ÉÒÔÏëÏ󣺵±Ò»¸ö³¤Ê±¼äµÄ²éѯÕýÔÚÖ´ÐÐʱ£¬ÈôÆäËû»á»°¸Ä±äÁ˸òéѯҪ²éѯµÄij¸öÊý¾Ý¿é£¬ORACLE½«ÀûÓûعö¶ÎµÄÊý¾ÝÇ°Ó°ÏñÀ´¹¹ÔìÒ»¸ö¶ÁÒ»ÖÂÐÔÊÓͼ¡£
     ÊÂÎñ¼¶µÄ¶ÁÒ»ÖÂÐÔ
¡¡¡¡ORACLEÒ»°ãÌṩSQLÓï¾ä¼¶£¨SQL STATEMENT LEVEL£©µÄ¶ÁÒ»ÖÂÐÔ£¬¿ÉÒÔÓÃÒÔÏÂÓï¾äÀ´ÊµÏÖÊÂÎñ¼¶µÄ¶ÁÒ»ÖÂÐÔ¡£
¡¡¡¡SET TRANSACTION READ ONLY£»
¡¡¡¡»ò£º
¡¡¡¡SET TANNSACTION SERIALIZABLE£»
¡¡¡¡ÒÔÉÏÁ½¸öÓï¾ä¶¼½«ÔÚÊÂÎñ¿ªÊ¼ºóÌṩ¶ÁÒ»ÖÂÐÔ¡£ÐèҪעÒâµÄÊÇ£¬Ê¹Óõڶþ¸öÓï¾ä¶ÔÊý¾Ý¿âµÄ²¢·¢ÐÔºÍÐÔÄܽ«´øÀ´Ó°Ïì¡£
»Ø¹ö¶ÎµÄÖÖÀà
¡¡¡¡ÏµÍ³»Ø¹ö¶Î£ºµ±Êý¾Ý¿â´´½¨ºó£¬½«×Ô¶¯´´½¨Ò»¸öϵͳ»Ø¹ö¶Î£¬¸Ã»Ø¹ö¶ÎÖ»ÓÃÓÚ´æ·Åϵͳ±í¿Õ¼äÖжÔÏóµÄÇ°Ó°Ïñ¡£
¡¡¡¡·Çϵͳ»Ø¹ö¶Î£ºÓµÓжà¸ö±í¿Õ¼äµÄÊý¾Ý¿âÖÁÉÙÓ¦¸ÃÓÐÒ»¸ö·Çϵͳ»Ø¹ö¶Î£¬ÓÃÓÚ´æ·Å·Çϵͳ±í¿Õ¼äÖжÔÏóµÄÊý¾ÝÇ°Ó°Ïñ¡£·Çϵͳ»Ø¹ö¶ÎÓÖ·ÖΪ˽Óлعö¶ÎºÍ¹«Óлعö¶Î£¬Ë½Óлعö¶ÎÓ¦ÔÚ²ÎÊýÎļþµÄROLLBACK SEGMENTS²ÎÊýÖÐÁгö£¬ÒÔ±ãÀý³ÌÆô¶¯Ê±×Ô¶¯Ê¹ÆäÔÚÏߣ¨ONLINE£©¡£¹«Óлعö¶ÎÒ»°ãÔÚOPS£¨ORACLE²¢ÐзþÎñÆ÷£©ÖгöÏÖ£¬½«ÔÚÀý³ÌÆô¶¯Ê±×Ô¶¯ÔÚÏß¡£
¡¡¡¡DEFERED»Ø¹ö¶Î£º¸Ã»Ø¹ö¶ÎÔÚ±í¿Õ¼äÀëÏߣ¨OFFLINE£©Ê±ÓÉϵͳ×Ô¶¯´´½¨£¬µ±±í¿Õ¼äÔÙ´ÎÔÚÏߣ¨ONLINE£©Ê±ÓÉϵͳ×Ô¶¯É¾³ý£¬ÓÃÓÚ´æ·Å±í¿Õ¼äÀëÏßʱ²úÉúµÄ»Ø¹öÐÅÏ¢¡£
×Ô9iÖ®ºó£¬»Ø¹ö¶ÎĬÈÏÉèÖÃÓÉÊý¾Ý¿â×ÔÐйÜÀí£¬Õâ´ó´ó½µµÍÁËDBAµÄά»¤³É±¾£¬Ò»°ã²»ÐèÒª


Ïà¹ØÎĵµ£º

oracleС¼Í

INSERT INTO hydlsrs@remote_£ú£úh
SELECT * from hydlsrs where zzh='2'
hydlsrsΪ±íÃû¡¡£Àremote_zzhΪ¿âÃû
select * from hydlsrsΪÁí1¿âÖбíÃû£¬
²»Í¬¿âÖÐÏàͬ±í½á¹¹£¬¿ÉÒÔ¿ç¿â²åÈë¡£ÓÃÓÚ
2µØµ¹Èë±íÄÚÈÝ¡£  ......

oracle logical standby ÈÕ³£¹ÜÀí³£ÓõÄһЩÓï¾ä

// Ö´ÐÐÌø¹ý£¬Ìø¹ýµÄ½á¹ûÔÚ
execute dbms_logstdby.skip(stmt => 'DML',schema_name => '%', object_name => '%');
stmtµÄÈ¡Öµ¿ÉÒÔÊÇ£º
http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10802/d_lsbydb.htm#997290
// Ìø¹ýµÄÄÚÈݼÇÔØÔÚÏÂÃæ
select * from dba_logstdby_skip
......

OracleÊý¾ÝÎļþµÄÌØÐÔ

ÎÒÃÇ´ó¼Ò¶¼ÖªµÀÿ¸öOracleÊý¾Ý¿â¶¼»áÓÐÒ»¸ö»òÊǶà¸öÎïÀíµÄOracleÊý¾ÝÎļþ,Êý¾Ý¿âÐÅÏ¢(½á¹¹,Êý¾Ý)µÄÖ÷Òª×÷ÓÃÊÇÀ´±£´æÔÚÕâЩÏà¹ØµÄÊý¾ÝÎļþ,¶øÇÒÖ»ÓÐÕâЩÏà¹ØµÄÎļþOracle²ÅÄܹ»½âÊÍÓë¹ÜÀíÕâЩ´æ´¢.OracleÊý¾ÝÎļþ¾ßÓÐÒÔÏÂһЩÌØÐÔ:
1.Ò»¸öÊý¾ÝÎļþ½ö½ö¹ØÁªÒ»¸öÊý¾Ý¿â,OracleÊý¾ÝÎļþÓëÊý¾Ý¿âÖ®¼ä¶ÔÓ¦¹ØϵÊÇÒ»¶ÔÒ»¹Øϵ,µ±È»· ......

Oracle log files

Oracle log files : An introduction
 
The Oracle server maintains the redo Oracle log files to minimize the loss of data in the Database in case of an uncontrolled shutdown.
Online redo Oracle log files are filled with redo records. A redo record, also called a redo entry, is made up of a gr ......

Oracle ADDM ×Ô¶¯Õï¶Ï¼àÊÓ¹¤¾ß ½éÉÜ


Oracle AWR ½éÉÜ(AWR -- Automatic Workload Repository)
http://blog.csdn.net/tianlesoftware/archive/2009/10/17/4682300.aspx
Ò». ADDM¸ÅÊö
 ADDM(Automatic Database Diagnostic Monitor) ÊÇÖ²ÈëOracleÊý¾Ý¿âµÄÒ»¸ö×ÔÕï¶ÏÒýÇæ.ADDM Í¨¹ý¼ì²éºÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ