Error
Error Code:
ORA-29385
Oracle Error ORA-29385: Self-Referencing Plan
Description
The ORA-29385 error in Oracle Database occurs when attempting to create a resource manager plan directive that points a plan to itself. This typically happens when the `PLAN` and `GROUP_OR_SUBPLAN` arguments in the `DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE` procedure are identical.
Error Message
ORA-29385: cannot create plan directive from string to string
Known Causes
3 known causesIdentical Plan Arguments
The `PLAN` and `GROUP_OR_SUBPLAN` parameters in `DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE` were inadvertently set to the same plan name.
Typographical Error
A typo in the plan name used as either the `PLAN` or `GROUP_OR_SUBPLAN` argument resulted in a self-referential directive.
Incorrect Logic
The application logic incorrectly generated the plan directive parameters, leading to the same plan being used for both source and target.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service