ORA-29380: resource plan string is currently active and cannot be deleted

文档解释

ORA-29380: resource plan string is currently active and cannot be deleted

Cause: An attempt was made to delete an active plan in the pending area. No changes can be made to active plans.

Action: Delete the plan when it is not in use.

这个错误表示您正试图删除的资源计划字符串当前正在使用中,不能被删除。

官方解释

常见案例

一般处理方法及步骤

1.首先,您需要更改当前正在使用的资源计划,以确保该资源计划不再被使用。

2.然后,可以使用以下DROP RESOURCE PLAN语句来删除该资源计划:

DROP RESOURCE PLAN ;

3.最后,您可以使用以下语句来查看所有资源计划:

SELECT * from V$RSRC_PLAN_DIR;

你可能感兴趣的