14 05, 2008

ÔÚÂß¼­STANDBYÉÏʹÓÃEXPDP½øÐÐÊý¾Ýµ¼³ö±¸·ÝµÄÎÊÌ⣬ORA-39004£¬ORA-39091£¬ORA-16103

ÒòΪÔÚÂß¼­STANDBYÉϽ¨ÁËÁíÍâµÄSCHEMAÀ´×ö±¨±í£¬¶øÇÒ±¨±í¿âºÜС£¬ËùÒÔ´òËãÿÌìʹÓÃEXPDP°Ñ±¨±í¿â±¸·Ýһϣ¬¿ÉÊÇʹÓÃEXPDP½øÐб¸·ÝµÄʱºò£¬È´³öÏÖ´íÎóÌáʾ£º
ORA-39004: invalid state
ORA-39091: unable to determine logical standby and streams status
ORA-16103: Logical Standby apply must be stopped to allow this operation
ÌáʾºÜÇå³þ£¬Ö´ÐÐÕâ¸ö²Ù×÷µÄʱºò£¬±ØÐëÍ£Ö¹STANDBY APPLY£¬ÓÚÊǰÑAPPLYÍ££¬¼û¹íµÄÊǾÓÈ»»¹ÊDz»ÐУ¬ÕâÕ¦»ØÊÂÄØ£¿


ÒÔǰÅö¼ûÎÊÌ⻹ÏÈBAIDUºÍGOOGLEÏ£¬Åö¼ûÎÊÌâ¶àÁË£¬Ñø³Éϰ¹ßÁË£¬Åö¼ûÎÊÌâÖ±½ÓMETALINKÁË¡£

ÉÏÈ¥¿´ÁË¿´£¬¾ÓÈ»»¹ÕæµÄÓÖÊÇÒ»¸öbugÁË£¬À´¿´¿´METALINKÊÇÔõô˵µÄ£º
https://metalink.oracle.com/metalink/plsql/f?p=130:15:1842879902240308917::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,5360422,1,1,1,helvetica

Assigning to logical standby team since the problems identified above are in the SYS.DBMS_INTERNAL_LOGSTDBY package. We'll be looking at this some more in the next release. For now, the simplest workaround is to use/create a non-standby instance and make a network link to the standby instance. The then use a network export to export from the secondary through the link. Unfortunately, there is no similar solution for handling the import case.

Ò²¾ÍÊÇ˵£¬Õâ¸öÊÇÒ»¸öBUG£¬ÎÊÌâ³öÏÖÔÚSYS.DBMS_INTERNAL_LOGSTDBY°üÉÏ£¬Õâ¸öÎÊÌâÒѾ­±»Ìá½»¸øÂß¼­STANDBYС×éÁË£¬Õâ¸öÎÊÌ⽫ÔÚ11.1µÄ°æ±¾Öнâ¾ö¡£Ç°Á½ÌìÅö¼ûµÄÂß¼­STANDBYÉϲ»ÄÜ´´½¨JOBµÄ˵·¨£¨²Î¿¼£ºhttp://zhang41082.itpub.net/post/7167/461793£©£¬ÎÊÌâÒ²ÊÇ×îºó¶¨Î»ÔÚSYS.DBMS_INTERNAL_LOGSTDBY°üÉÏ£¬ÄÇʱºò¾Í¾õµÃÒòΪJOB ID³åÍ»¶ø²»ÄÜÔÚÂß¼­STANDBYÉÏ´´½¨JOBµÄ˵·¨ºÜǣǿ£¬»òÐíºÍEXPDPÒ»Ñù£¬ÎÊÌâ¶¼ÊdzöÔÚÁËSYS.DBMS_INTERNAL_LOGSTDBY°üÉÏÁË¡£

²é¿´11.1µÄÎĵµ£¬½á¹ûÉÏÃæµÄ˵·¨ºÍ10GÀïÃæÒ»Ñù£º
Job execution is suspended on a logical standby database and jobs cannot be scheduled directly on the standby database¡£

ҲûÓÐ11µÄ»·¾³£¬²»ÖªµÀÕâЩ¹íÎÊÌâÄÜ·ñÔÚ11GÖб»½â¾ö¡£

×îлظ´
·¢±íÆÀÂÛ













Bold Italic Link