Row_Processed

hii all
there is one thing that I did not clarified ,
example ,table t has only one column is "no"
begin
for i in 1..10
loop
insert into test values(i);
end loop;
end; --> In v$SQLAREA Execution is 1 but row processed is 1 ?
begin
update test set no=1;
end; -- In v$SQLAREA Execution is 1 but row processed is 1 ?
update test set no=1; -- In v$SQLAREA execution is 1 row processed is 10 statements between begin/end row processed always count 1 ? What is reason of this issue ?
10.2.0.4 on AIX
Best Regards
Edited by: EB on Mar 10, 2010 12:48 AM

First of all:
Databases have a 4 digit version. Post it!
Secondly: tables don't have 'fields'. They have columns. We are talking relation databases, not flat file systems.
Your question can not be answered because you didn't post the version number. 10g and higher automatically do array fetching and bulk binding behind the covers, even when you didn't write it.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • V$sqlarea and ROWS_PROCESSED

    Hii all
    when I looking v$sqlare for a statement that is I suspect to create so much redo, the Statement is updating a table row (there is not index on table)but ROWS PROCESSED' value is almost 138 million but table has only 15.000 row  also executions value is 13000 How it could be possible ? Pls explain what is the exact mean is ROW PROCESSED and EXECUTIONS colums in the v$sqlarea ? if there is index on table when updating a table, row_processed could be higher than actual updated rows ?
    10.2.0.4 On AIX
    Best Regards

    These values are totals across all executions of the statement whilst it has been in the SQL area:
    executions:- Total number of executions, totalled over all the child cursors
    rows_processed:- Total number of rows processed on behalf of this SQL statement
    You could try looking in the AWR data (dba_hist_sqlstat - 10G and above) to view more granular information about this SQL_ID after each snapshot (it records the values for the snapshot period i.e. delta's), if it really is executed so often it will more than likely have been captured by AWR.
    Thanks
    Paul

Maybe you are looking for