Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Executions != Rows_Processed for single-row INSERT
Hi,
I've noticed strange discrepancy in Oracle statistics: for particular
singe-row INSERT statement
value of V$SQL statistics Executions != Rows_Processed. For example:
INST_ID EXECUTIONS FIRST_LOAD_TIME ROWS_PROCESSED
---------- ---------- ------------------- --------------SQL_TEXT
1 480394 2007-05-11/03:33:04 3898236
INSERT INTO ec_journal (saveid, ip, jo_type, jo_process,
jo_subprocess, jo_servi
ce, jo_function, jo_message_id, jo_request_time, jo_response_time,
jo_timediff, jo_retries, jo_maxretries, jo_returncode, jo_errorcode, jo_errormessage) VALUES
2 109531 2007-05-11/03:40:24 538666
INSERT INTO ec_journal (saveid, ip, jo_type, jo_process,
jo_subprocess, jo_servi
ce, jo_function, jo_message_id, jo_request_time, jo_response_time,
jo_timediff, jo_retries, jo_maxretries, jo_returncode, jo_errorcode, jo_errormessage) VALUES
The value in ROWS_PROCESSED is correct as we know how many rows gets inserted in this table per day.
All other frequently executed single-row insert statements have Executions = Rows_Processed.
This is 9.2.0.6.0 two-node RAC.
Thanks Received on Tue May 15 2007 - 01:54:20 CDT
![]() |
![]() |