上面说如果在主库上使用online关键字来创建索引,就会导致逻辑standby上导致这个bug发生,晕,生产库要创建索引,才有几个是不需要online的啊?oracle这个bug也有点搞了。
Bug 3023540 "Create index ... online" does not create index on logical standby
Affects:
Product (Component) Oracle Server (Rdbms)
Range of versions believed to be affected Versions < 11
Versions confirmed as being affected
10.2.0.2
10.2.0.3
Platforms affected Generic (all / most platforms affected)
Fixed:
This issue is fixed in 10.2.0.4 (Server Patch Set)
11.1.0.6 (Base Release)
Description
Create Index Online statements may be skipped by a Logical Standby.
An error appears in the DBA_LOGSTDBY_EVENTS table:
ORA-16227: DDL skipped due to missing object
Workaround:
Execute the Create Index statement without the ONLINE clause on the
primary, or execute the Create Index Online statement directly on the
Logical Standby.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25016/viewspace-1000844/ ,如需转载,请注明出处,否则将追究法律责任。