iis服务器助手广告广告
返回顶部
首页 > 资讯 > 错误编码 >ORA-13787: missing SQL profile for statement object “string” for tuning task “stri
  • 819
分享到

ORA-13787: missing SQL profile for statement object “string” for tuning task “stri

报错故障SQL 2023-11-05 19:11:26 819人浏览 泡泡鱼
摘要

文档解释 ORA-13787: missing sql profile for statement object “string” for tuning task “string” Cause

文档解释

ORA-13787: missing sql profile for statement object “string” for tuning task “string”

Cause: The user attempted to accept a SQL profile for an object that has not a SQL profile associated to it.

Action: Check the identifier of the object and retry the operation.

ORA-13787 是oracle数据库报错代码。

官方解释

ORA-13787:”缺少SQL配置文件(即SQL Profile),用于语句对象”string”的优化任务”string”。

常见案例

此错误通常发生在客户正在试图使用Oracle的优化器库中的SQL Profiles解决性能问题时,但却缺少SQL Profile。

正常处理方法及步骤

1. 确定SQL Profile是否真的缺失:在数据库的library cache中检查当前的SCRIPT是否存在SQL Profile的引用。

2. 使用DBMS_SQLTUNE.IMPORT_SQL_PROFILE将缺少的SQL Profile导入到数据库中。

3. 检查语句对象。

4. 重新运行优化任务,查看SQL Profile是否正确导入。

5. 使用DBMS_SQLTUNE.EVAluaTE_SQL_PROFILE检查优化参数是否正确。

--结束END--

本文标题: ORA-13787: missing SQL profile for statement object “string” for tuning task “stri

本文链接: https://www.lsjlt.com/news/541928.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作