Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Slow delete

Re: Slow delete

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Mon, 26 Jun 2000 10:39:47 -0400
Message-Id: <10540.110418@fatcity.com>


This is a multi-part message in MIME format.

------=_NextPart_000_0066_01BFDF5A.D92E3CC0
Content-Type: text/plain;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Check if Primary Key of your table is referenced by Foreign Keys in = other tables and if these Foreign Keys have appropriate indexes.

Igor Neyman, OCP DBA
Perceptron, Inc.
(734)414-4627
ineyman_at_perceptron.com
 =20

  Any idea why a delete of all the rows in a table might take hours when = there are only 30,000 rows? There are no other users on the system. = Rowlength is about 120.=20

                                                                         =
         Dave Turner=20

--

Dave Turner, Senior Database Administrator, Linuxcare, Inc. 913.383.3052 tel, 913.579.3803 cel, 913.652.0687 fax, 877.443.9553 pager =

dturner@linuxcare.com, http://www.linuxcare.com/ Linuxcare. Support for the revolution.
--

   =20

------=_NextPart_000_0066_01BFDF5A.D92E3CC0
Content-Type: text/html;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Check if Primary Key of your table is referenced by =
Foreign=20
Keys in other tables and if these Foreign Keys have appropriate=20 indexes.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Igor Neyman, OCP DBA<BR>Perceptron, Inc.<BR>(734)414-4627<BR><A=20 href=3D"mailto:ineyman_at_perceptron.com">ineyman_at_perceptron.com</A><BR>&nbs= p;=20
<BR></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">   <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>   <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20
  <A href=3D"mailto:dturner_at_linuxcare.com" = title=3Ddturner_at_linuxcare.com>David=20
  Turner</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = href=3D"mailto:ORACLE-L_at_fatcity.com"=20
  title=3DORACLE-L_at_fatcity.com>Multiple recipients of list ORACLE-L</A> = </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, June 26, 2000 = 11:11=20
AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Slow delete</DIV>
  <DIV><BR></DIV>Any idea why a delete of all the rows in a table might =
take=20
  hours when there are only 30,000 rows? There are no other users on the = system.=20
  Rowlength is about 120.=20
  =
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20   Dave Turner <PRE>--
Dave Turner, Senior Database Administrator, Linuxcare, Inc. 913.383.3052 tel, 913.579.3803 cel, 913.652.0687 fax, 877.443.9553 = pager&nbsp;
dturner_at_linuxcare.com, <A =
href=3D"http://www.linuxcare.com/">http://www.linuxcare.com/</A> Linuxcare. Support for the revolution. Received on Mon Jun 26 2000 - 09:39:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US