After migration to 12c one SQL runs very slow under named users. Under schema owner runs fast (as ea
Recently migrated from 10 to 12c. (both linux, 10 was 32bit, 12c is 64bit)
Everything is OK, except ONE sql became very slow. (thousands of times).
Normally all sql-s are executed under named users which have been granted via roles access rights to main schema objects.
Thousands of SQL-s run well after this migration. So far only one has shown "new" behavior.
HOWEVER - this SQL runs FAST if executed under schema owner!
This SQL is complex. Contains with clause, union-s and has several PL/SQL functions (also in where clauses)
Could it be that some right (or quota) is missing (or to small)?