ORA-26855: STREAMS string has insufficient database privilege to access the queue.
Cause: The GoldenGate, XStream or Streams user did not have sufficient database privilege to access the queue.
Action: Grant GoldenGate, XStream or Streams user database privileges to access the queue.
ORA-26855错误是Oracle 数据库中发出的一种警告,指出调用中断涉及到Streams角色,但用户拥有不足的数据库特权,无法访问该队列。
1.检查用户是否被正确授予了Streams特权,即“GRANT SELECT ON sys.dba_queue_schedules TO user_name”;
2.修改运行用户使用恰当的Streams特权,即“GRANT EXECUTE ON sys.dbms_aqadm_sys_prvt TO user_name”;
3.该可执行权限允许用户访问共享池中的消息队列;
4.重启共享池,以确保更改后的变更被应用,即使用“alter system flush shared_pool”。
5.在调用streams功能之前,检查用户是否具有足够的拥有流特权;
6.如果Streams没有足够的权限,则执行:
`GRANT SELECT ON sys.dba_queue_schedules TO ;`
`GRANT EXECUTE ON sys.dbms_aqadm_sys_prvt TO ;`
`ALTER SYSTEM FLUSH SHARED_POOL;`