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 RegardsThese 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
-
Urgent help needed with installation of Logic!
Hi I just installed Logic Pro 9 on the Macbook Pro I bought today and it failed because 'this version of OSX is not compatible with Logic 9.1.1.' What should I do? Two years ago I installed the same version on my previous Macbook. Both Apple and the
-
Custom field type - get column name in code
All, I have a custom field type. In the code, I would like to get the column name that the user input. For example, user creates a new column called "Customer" with my custom field type. How can I get the name "Customer" that the user has just input?
-
Firewire to USB or Thunderbolt cable
Need to get an adapter to bring video from firewire to USB or thunderbolt. Suggestions?
-
My Lightroom CC always crash when it is trying to upload the preview of big images
My Lightroom CC always crash when it is trying to upload the preview of big images like photo merge images from 3 or 4 RAW images together. Thank You. Marco
-
I tried to update my iPhone 5 to iOS7.2 and now it wants me to plug it into a computer. I do not have a computer, so I obviously can't plug it in. I don't know how to fix this.