文档解释 ORA-13776: User “string” has not been granted the “SELECT” privilege on the “sql tuni
ORA-13776: User “string” has not been granted the “SELECT” privilege on the “sql tuning set” DBA views.
Cause: The user attempted to read a SQL tuning set belonging to someone else without having SELECT privilege on the DBA views
Action: User should be granted the privilege or only access his own STS
这条ORA-13776错误信息是指用户没有被授予“SELECT”权限在SQL优化集DBA视图上。 换句话说,这个用户没有足够的权限来提取SQL优化集相关的信息。
官方文档:ORA-13776表示操作失败,原因是指定的用户没有获得相应的SELECT权限,以查看有关SQL tuning Sets的DBA视图,例如V_$SQL_TUNING_SET。
1、使用管理员帐号登录oracle,执行以下SQL语句:
GRANT SELECT ON V_$SQL_TUNING_SET TO 用户名;
2、重新登录数据库,使用新增用户登录,可以使用SQL优化集视图查询了;
--结束END--
本文标题: ORA-13776: User “string” has not been granted the “SELECT” privilege on the
本文链接: https://www.lsjlt.com/news/540498.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0