2009-06 月份文章 顯示方式:簡文 | 列表

2009年06月29日

11g logical standby的一個bug

在測11g的 logical standby 遇到一個 ORA-600 ,沒想到最終的解決還是要先重做一次 logical standby了....
不過oracle也太不厚道了,從9i就知道這個問題,到11g了還有這個問題="=

metalink_link
...繼續閱讀

Posted by my_work at 22:33回應(0)引用(0)DB
標籤:oracle

2009年06月15日

解決oracle 11g ORA-16191

在練習題  oracle 11g guard時,遇到10g沒有遇過的問題

------------- 取出一段的log -----------
Mon Jun 15 22:49:50 2009
Error 1017 received logging on to the standby
------------------------------------------------------------
Check that the primary and standby are using a password file
and remote_login_passwordfile is set to SHARED or EXCLUSIVE, 
and that the SYS password is same in the password files.
      returning error ORA-16191
------------------------------------------------------------
Errors in file /u01/app/oracle/diag/rdbms/tguard140/tguard/trace/tguard_arc0_16298.trc:
ORA-16191: Primary log shipping client not logged on standby
PING[ARC0]: Heartbeat failed to connect to standby 'tguard141'. Error is 16191.
Mon Jun 15 22:54:52 2009
Error 1017 received logging on to the standby
 

...繼續閱讀

Posted by my_work at 23:16回應(0)引用(0)DB
標籤:oracle

2009年06月11日

pl/sql小記

今天在修改一個PL/SQL,不過真是隔行如隔山~
卡在一個小地方快1個小時
原來在帶入sql進cursor是不需要";"

一開的寫法如:
v_query := 'SELECT name FROM employee WHERE employee_id=5;';
OPEN l_cursor FOR v_query;

正確的寫法是
v_query := 'SELECT name FROM employee WHERE employee_id=5';


害我今天又加班了快2個小時~~Orz

Posted by my_work at 22:08回應(0)引用(0)DB
標籤:oracle
 [1]