Sorry - I can't reproduce your problem. I just did this on a fresh 4.1.3 install, talking to 12.1.0.2 database
SQL> create user demo identified by demo;
User created.
SQL> grant create session to demo;
Grant succeeded.
SQL>
SQL> grant select on scott.emp to demo;
Grant succeeded.
SQL> grant select on scott.dept to demo;
Grant succeeded.
so "demo" has pretty much the bare minimum. Then did:
select * from scott.emp e, scott.dept d
where e.deptno = d.deptno;
and the explain plan (F10) in SQL Dev...that worked.
Then I did
explain plan for
select * from scott.emp e, scott.dept d
where e.deptno = d.deptno;
select * from table(dbms_xplan.display);
and that works fine too.
Then I clicked Autotrace and got:
Failed to access V$MYSTAT.
Please obtain read catalog privilege
from your database administrator:
grant SELECT_CATALOG_ROLE to DEMO
grant SELECT ANY DICTIONARY to DEMO
NOTE: you need to reconnect your current session
in order for the settings change to have an effect
which is what I would have expected.
So I'm a bit lost on where precisely you're seeing the errors you are seeing.