If I do an auto trace in SQLplus, I get one result.
For example:
SQL> set autotrace on
SQL> select * from employees;
0 recursive calls
0 db block gets
1 consistent gets
0 physical reads
0 redo size
407 bytes sent via SQL*Net to client
381 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
But when I enable auto trace in the Toad editor, I do not get the same result.
In Toad I get the following.
select * from employees;
0 recursive calls
0 db block gets
3 consistent gets
0 physical reads
0 redo size
1183 bytes sent via SQL*Net to client
927 bytes received via SQL*Net from client
4 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
Why do I see discrepancies?
You need to be signed in and under a current maintenance contract to view premium knowledge articles.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center