dbTalk Databases Forums  

Do you know what is fater?

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Do you know what is fater? in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
noam gariani
 
Posts: n/a

Default Do you know what is fater? - 11-25-2009 , 04:19 PM






To do update for a record , or insert a record to a db?

Reply With Quote
  #2  
Old   
Ed Prochak
 
Posts: n/a

Default Re: Do you know what is fater? - 11-27-2009 , 09:46 AM






On Nov 25, 5:19*pm, noam gariani <noamgari... (AT) gmail (DOT) com> wrote:
Quote:
To do update for a record , or insert a record to a db?
Depends.

Why do you care?

Reply With Quote
  #3  
Old   
test
 
Posts: n/a

Default Re: Do you know what is fater? - 12-02-2009 , 03:57 PM



Ed Prochak schrieb:
Quote:
On Nov 25, 5:19 pm, noam gariani <noamgari... (AT) gmail (DOT) com> wrote:
To do update for a record , or insert a record to a db?

Depends.

Why do you care?
As I know in many cases an Insert can be done faster, because the DB
does not have take care of concurrency, to lock the row, keep the before
image for rollback and find the rows to update .... unlock ....after the
commit ... so there are many easy points the DB-Engine can be optimized
in performance doing an insert, but this does not say inserts are always
faster than updates and does never mean do an delete+insert instead of
updates.


Some Databases do any update as an kind of insert operation.
Like find the block -- change it in memory -- insert changed block to
datafile and mark old block as deleted. In that databases inserts and
updates are quite equal.

Reply With Quote
  #4  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: Do you know what is fater? - 12-10-2009 , 01:29 PM



noam gariani wrote:
Quote:
To do update for a record , or insert a record to a db?
Mauve.

It's been green for a while, but now it's back to mauve.
If you don't believe me, query CDO* ng's for mauve.
--

Regards,
Frank van Bortel

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.