|
Re: functions.. [message #233245 is a reply to message #233233] |
Wed, 25 April 2007 06:12 |
martijn
Messages: 286 Registered: December 2006 Location: Netherlands
|
Senior Member |
|
|
Oracle doesn't know what data you have in the rows. So it will have a look in all rows and check the condition and then decide whether to update or not.
If you have defined indexes oracle can decide to only look at the rows it needs.
(however....oracle will read as a minimum 1 block. 5 rows will probably be all in the same block. Oracle will then read 1 block (with all rows) into memory, and then see only the appropriate rows.
|
|
|