I found this in a trace file recently
INSERT
INTO T (X)
VALUES(:B1)
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 15 0.00 0.00 0 0 0 0
Execute 15 0.00 0.00 0 4 44 2
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 30 0.00 0.00 0 4 44 2
the obvious question being: How can I execute an insert-values 15 times and only insert 2 rows.
Background Information:
- There are no triggers of any kind on the table, and no database-wide triggers that might impact the experiment
- No ‘special interception code’ (eg row level security, views, query rewrite etc)
- No errors are raised by any of the 15 inserts.
- No indexes on the table




Leave a reply to Sean Molloy Cancel reply