Skip site navigation (1) Skip section navigation (2)

Re: Delete slow...

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Diego <diego(at)unimedijui(dot)com(dot)br>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Delete slow...
Date: 2005-11-29 21:39:04
Message-ID: 20051129213903.GJ78939@pervasive.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-es-ayuda
Can you provide the output of EXPLAIN ANALYZE for one of these deletes?

On Tue, Nov 29, 2005 at 06:32:43PM -0300, Diego wrote:
> Thanks by answers...
> 
> For each record deleted, my postgresql server spended 4 seconds...
> I know because i have logged each sql instruction, showing the time spended.
> 
> My question is: is normal this time to a big table (400,000 records)
> 
> Thanks!
> Diego Ziquinatti
> From Brazil (excuse me my english, rsrsrs)
> 
> Mario Splivalo escreveu:
> 
> >On Tue, 2005-11-29 at 18:13 -0300, Diego wrote:
> > 
> >
> >>Hi,
> >>I have a table with 400,000 records, but in delete comand is very slow 
> >>(4 seconds for operation)
> >>Why is very slow? There is some special configuration for this?
> >>
> >>Ps.: Version = Postgresql 7.4.6
> >>   
> >>
> >
> >That smells like a bad design. What do you delete from a 400.000 records
> >table?
> >
> >I guess it's ok to be slow. 
> >
> >	Mike
> > 
> >
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 

-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby(at)pervasive(dot)com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

In response to

pgsql-admin by date

Next:From: Dan The ManDate: 2005-11-29 21:45:16
Subject: invalid length of startup packet
Previous:From: Jaime CasanovaDate: 2005-11-29 21:33:17
Subject: Re: [ADMIN] Fatal : IDENT authentication

pgsql-es-ayuda by date

Next:From: Jaime CasanovaDate: 2005-11-29 21:41:01
Subject: Re: Consulta sobre Set Returning Functions con Record
Previous:From: Raul CasoDate: 2005-11-29 21:34:24
Subject: Consulta sobre Set Returning Functions con Record

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group