问题描述
我有一个数据库链接,该链接连接到运行11g (11.2.0.4.0) 的数据库。
它创建的数据库最近升级到19c。升级后,我无法再使用完全限定的表名访问远程表。
升级前:
和
两者都很好。
升级后:
作品
有人见过这个吗?我的DBA向我保证,表空间都有足够的空间。
升级后的数据库为oracle RDS实例。
谢谢。
它创建的数据库最近升级到19c。升级后,我无法再使用完全限定的表名访问远程表。
升级前:
select * from schema.table@link;
和
select * from table@link;
两者都很好。
升级后:
select * from table@link;
作品
select * from schema.table@link; gives the following error: ORA-02002: error while writing to audit trail ORA-00942: table or view does not exist 02002. 0000 - "error while writing to audit trail" *Cause: *Action:
有人见过这个吗?我的DBA向我保证,表空间都有足够的空间。
升级后的数据库为oracle RDS实例。
谢谢。
专家解答
听起来您正在击中已知的错误:
Bug 30464250 - Select Statement Fails With ORA-2002 ORA-942 With Audit Select Any Table
这会影响12.2、19.3和19.5。目前没有补丁。
当前的解决方法是:
Either of the following may workaround the error.
- Do not qualify the table name with schema name.
- Disable auditing by using following statement:
NOAUDIT SELECT ANY TABLE by;
Bug 30464250 - Select Statement Fails With ORA-2002 ORA-942 With Audit Select Any Table
这会影响12.2、19.3和19.5。目前没有补丁。
当前的解决方法是:
Either of the following may workaround the error.
- Do not qualify the table name with schema name.
- Disable auditing by using following statement:
NOAUDIT SELECT ANY TABLE by
文章转载自ASKTOM,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




