Part of my program runs a sequence many times, to be more specific about 300,000 times.
My problem is that when I analyze the trace of running one of the slower instructions is exactly the
select sequence.nextval from dualbelow follows the part of the trace of this query
SELECT sequence.NEXTVAL
FROM
DUAL
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 295452 3.00 172596.12 0 0 0 0
Fetch 295452 2.53 193335.00 0 0 30 295452
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 590905 5.53 365931.12 0 0 30 295452I do not know if it is some configuration of my bank ... something with the dual perhaps ... The queries the tables are very fast ... it is the one that is slow.
Thanks
Alex



