From: Diego <diego@unimedijui.com.br>
To: pgsql-admin@postgresql.org
Subject: Re: Delete slow...
Date: Tue, 29 Nov 2005 18:32:43 -0300
Message-ID: <438CC8FB.6040001@unimedijui.com.br> (raw)
In-Reply-To: <1133295605.28236.1.camel@ekim>
References: <438CC473.9030409@unimedijui.com.br>
<1133295605.28236.1.camel@ekim>
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
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: diego@unimedijui.com.br
Subject: Re: Delete slow...
In-Reply-To: <438CC8FB.6040001@unimedijui.com.br>
References: <438CC473.9030409@unimedijui.com.br> <1133295605.28236.1.camel@ekim> <438CC8FB.6040001@unimedijui.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox