RE: Question about DELETE

2010-03-18 Thread Price, Randall
.com] Sent: Thursday, March 18, 2010 11:15 AM To: Price, Randall Cc: Ian Simpson; Johan De Meersman; [MySQL] Subject: Re: Question about DELETE delete will also cause the undo(before image) to be generated, in case u want to rollback. This will also add up to the delete completion time. After each m

Re: Question about DELETE

2010-03-18 Thread Ananda Kumar
umber of deletes. > > So I am at a quandary as to how to make this delete process perform better. > > Thanks, > > -Randall Price > > > -Original Message- > From: Ian Simpson [mailto:i...@it.myjobgroup.co.uk] > Sent: Thursday, March 18, 2010 10:11 AM > To

RE: Question about DELETE

2010-03-18 Thread Price, Randall
: Thursday, March 18, 2010 10:11 AM To: Price, Randall Cc: Johan De Meersman; Ananda Kumar; [MySQL] Subject: RE: Question about DELETE Hi Randall, If you're talking about processes that are taking that long, then running SHOW PROCESSLIST several times during the operation should give you a rough

RE: Question about DELETE

2010-03-18 Thread Ian Simpson
he more records you delete, > unless the indexing is happening multiple times? > > Thanks, > > -Randall Price > > > From: vegiv...@gmail.com [mailto:vegiv...@gmail.com] On Behalf Of Johan De > Meersman > Sent: Thursday, March 18, 2010 6:48 AM > To: Ananda Kumar >

RE: Question about DELETE

2010-03-18 Thread Price, Randall
] On Behalf Of Johan De Meersman Sent: Thursday, March 18, 2010 6:48 AM To: Ananda Kumar Cc: Price, Randall; [MySQL] Subject: Re: Question about DELETE Given that OP is talking about a single delete statement, I'm gonna be very surprised if he manages to squeeze an intermediate commit in

Re: Question about DELETE

2010-03-18 Thread Johan De Meersman
Given that OP is talking about a single delete statement, I'm gonna be very surprised if he manages to squeeze an intermediate commit in there :-) For a single-statement delete on a single table, the indexes will be rebuilt only once. I'm not entirely sure what happens to cascaded deletes, though.

Re: Question about DELETE

2010-03-17 Thread Ananda Kumar
Hi, It depends how frequently ur doing a commit. If you have written a plsql, with loop and if you commit after each row is deleted, then it get update for each row. Else if you commit at the end the loop, it commits only once for all the rows deleted. regards anandkl On Thu, Mar 18, 2010 at 1:21

Re: Question about DELETE and Index.

2001-07-04 Thread Sinisa Milivojevic
Fournier Jocelyn [Presence-PC] writes: > Hi, > > Does DELETE take advantage of index to locate more quickly row to be deleted ? > > Thank you :) > > Jocelyn Fournier > Presence-PC Of course. -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL