Oracle Data Gurad ÀíÂÛ֪ʶ
RAC£¬ Data Gurad£¬ Stream ÊÇOracle ¸ß¿ÉÓÃÐÔÌåϵÖеÄÈýÖÖ¹¤¾ß£¬Ã¿¸ö¹¤¾ß¼´¿ÉÒÔ¶ÀÁ¢Ó¦Óã¬Ò²¿ÉÒÔÏ໥ÅäºÏ¡£ ËûÃǸ÷×ԵIJàÖص㲻ͬ£¬ÊÊÓó¡¾°Ò²²»Í¬¡£
RAC ËüµÄÇ¿ÏîÔÚÓÚ½â¾öµ¥µã¹ÊÕϺ͸ºÔؾùºâ£¬Òò´ËRAC ·½°¸³£ÓÃÓÚ7*24 µÄºËÐÄϵͳ£¬µ«RAC ·½°¸ÖеÄÊý¾ÝÖ»ÓÐÒ»·Ý£¬¾¡¹Ü¿ÉÒÔͨ¹ýRAID µÈ»úÖÆ¿ÉÒÔ±ÜÃâ´æ´¢¹ÊÕÏ£¬µ«ÊÇÊý¾Ý±¾ÉíÊÇûÓÐÈßÓàµÄ£¬ÈÝÒ×Ðγɵ¥µã¹ÊÕÏ¡£
Data Gurad ͨ¹ýÈßÓàÊý¾ÝÀ´ÌṩÊý¾Ý±£»¤£¬Data Gurad ͨ¹ýÈÕ־ͬ²½»úÖƱ£Ö¤ÈßÓàÊý¾ÝºÍÖ÷Êý¾Ý֮ǰµÄͬ²½£¬ÕâÖÖͬ²½¿ÉÒÔÊÇʵʱ£¬ÑÓʱ£¬Í¬²½£¬Òì²½¶àÖÖÐÎʽ¡£Data Gurad ³£ÓÃÓÚÒìµØÈÝÔÖºÍСÆóÒµµÄ¸ß¿ÉÓÃÐÔ·½°¸£¬ËäÈ»¿ÉÒÔÔÚStandby »úÆ÷ÉÏÖ´ÐÐÖ»¶Á²éѯ£¬´Ó¶ø·ÖÉ¢Primary ËÕ¾Õ¿ÞµÄÐÔÄÜѹÁ¦£¬µ«ÊÇData Gurad ¾ö²»ÊÇÐÔÄܽâ¾ö·½°¸¡£
Stream ÊÇÒÔOracle Advanced QueueΪ»ù´¡ÊµÏÖµÄÊý¾Ýͬ²½£¬ÌṩÁ˶àÖÖ¼¶±ðµÄÁé»îÅäÖ㬲¢ÇÒOracle ÌṩÁ˷ḻµÄAPIµÈ¿ª·¢Ö§³Ö£¬Stream ¸üÊÊÓÃÔÚÓ¦ÓòãÃæµÄÊý¾Ý¹²Ïí¡£
ÔÚData Gurad »·¾³ÖУ¬ÖÁÉÙÓÐÁ½¸öÊý¾Ý¿â£¬Ò»¸ö´¦ÓÚOpen ״̬¶ÔÍâÌṩ·þÎñ£¬Õâ¸öÊý¾Ý¿â½Ð×÷Primary Database¡£ µÚ¶þ¸ö´¦ÓÚ»Ö¸´×´Ì¬£¬½Ð×÷Standby Database¡£ ÔËÐÐʱprimary Database ¶ÔÍâÌṩ·þÎñ£¬Óû§ÔÚPrimary Database ÉϽøÐвÙ×÷£¬²Ù×÷±»¼Ç¼ÔÚÁª»úÈÕÖ¾ºÍ¹éµµÈÕÖ¾ÖУ¬ÕâЩÈÕ־ͨ¹ýÍøÂç´«µÝ¸øStandby Database¡£ Õâ¸öÈÕÖ¾»áÔÚStandby Database ÉÏÖØÑÝ£¬´Ó¶øʵÏÖPrimary Database ºÍStandby Database µÄÊý¾Ýͬ²½¡£
Oracle Data Gurad ¶ÔÕâÒ»¹ý³Ì½øÒ»²½µÄÓÅ»¯Éè¼Æ£¬Ê¹µÃÈÕÖ¾µÄ´«µÝ£¬»Ö¸´¹¤×÷¸ü¼Ó×Ô¶¯»¯£¬ÖÇÄÜ»¯£¬²¢ÇÒÌṩһϵÁвÎÊýºÍÃüÁî¼ò»¯ÁËDBA¹¤×÷¡£
Èç¹ûÊÇ¿ÉÔ¤¼ûÒòËØÐèÒª¹Ø±ÕPrimary Database£¬±ÈÈçÈíÓ²¼þÉý¼¶£¬¿ÉÒÔ°ÑStandby Database Çл»ÎªPrimary Database ¼ÌÐø¶ÔÍâ·þÎñ£¬ÕâÑù¼´¼õÉÙÁË·þÎñֹͣʱ¼ä£¬²¢ÇÒÊý¾Ý²»»á¶ªÊ§¡£Èç¹ûÒì³£ÔÒòµ¼ÖÂPrimary Database ²»¿ÉÓã¬Ò²¿ÉÒÔ°ÑStandby Database Ç¿ÖÆÇл»ÎªPrimary Database¼ÌÐø¶ÔÍâ·þÎñ£¬ÕâʱÊý¾ÝËðʧ³É¶¼ºÍÅäÖõÄÊý¾Ý±£»¤¼¶±ðÓйØϵ¡£Òò´ËPrimary ºÍStandby Ö»ÊÇÒ»¸ö½ÇÉ«¸ÅÄî
Ïà¹ØÎĵµ£º
SVRMGR> select * from dba_jobs;
³õʼ»¯Ïà¹Ø²ÎÊýjob_queue_processes
alter system set job_queue_processes=39 scope=spfile;//×î´óÖµ²»Äܳ¬¹ý1000 ;job_queue_interval = 10 //µ÷¶È×÷ҵˢÐÂƵÂÊÃëΪµ¥Î»
DBA_JOBS describes all jobs in the database.
USER_JOBS describes all jobs owned by the c ......
OracleÖÐÁÙʱ±í²úÉú¹ýÁ¿RedoµÄ˵Ã÷
×î½ü,ÔÚOracle9iÖÐÄãÓùýÁÙʱ±íÂð?
ËüÊÇ·ñ¸øÄã´øÀ´ÁËÐÔÄÜÌá¸ß?Äã×¢Òâ¹ýô?
--------------------------------------------------------------------------------
ºÃÁËÑÔ¹éÕý´«.
ÎÒÃÇÖªµÀÁÙʱ±íÔÚDML²Ù×÷ÖпÉÒÔ¼õÉÙredoµÄÉú³É,´Ó¶øÔÚ±£´æÖмä½á¹û¼¯Ê±¿ÉÒÔ´øÀ´½Ï´óµÄÐÔÄÜÌá¸ß.
¿ÉÊÇ,È ......
²éѯ·¢ÉúËÀËøµÄselectÓï¾ä
select sql_text from v$sql where hash_value in
(select sql_hash_value from v$session where sid in
(select session_id from v$locked_object))
---------------------------------------------------------
¹ØÓÚÊý¾Ý¿âËÀËøµÄ¼ì²é·½·¨
Ò»¡¢   ......
1¡¢²é¿´ORACLE×î´óÓαêÊý
C:\Documents and Settings\Administrator>sqlplus "sys/admin@test151 as sysdba" £¨sysÒÔdbaµÇ¼test151·þÎñ£©
SQL*Plus: Release 9.2.0.1.0 - Production on ÐÇÆÚËÄ 11ÔÂ 5 09:08:04 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights ......