-
Notifications
You must be signed in to change notification settings - Fork 185
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORA-06598 on rebuild_annotation_cache from SYS #883
Comments
Why do you need to run that as |
This is standard behavior. |
I agree with @jgebal. If you really need to run it from |
My fried who reported the issue is a DBA. They use CloneDB technology to prepare test/dev environments. They prepare base image which is used for further clones when they obfuscate personal data and do some other tasks. Now they want to install utplsql and build cache at that point so that all CloneDB images already have it installed and cache built. Here is a gread example and description of what's happening: The problem is solved by executing
So the question is do we want to add this to the headless installation (probably not) or may be we should mention it in doc as a tip & tricks. |
We could add it in documentation next to with link to oracle doc. |
I think the use case described by @Pazus is valid. Refresh utPLSQL application caches at the end of a database cloning process to speed up initial test runs. However, the Instead I suggest to add a |
I agree that having a |
Two API's are available in
|
Describe the bug
If you have utPLSQL installed in a schema and try to rebuild cache from SYS user you face ORA-06598 (insufficient INHERIT PRIVILEGES privilege error).
Provide version info
utPLSQL v3.1.6 and older I suppose.
To Reproduce
Execute the following code from SYS. Instead of APP you may provide any other schema except SYS and schema where utplsql is installed.
Expected behavior
Cache has to be rebuilt correctly.
Additional context
As problem is connected to INHERIT PRIVILEGES it affects 12c+ only.
The text was updated successfully, but these errors were encountered: