Are indexes blown?

From: "Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com>
To: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Are indexes blown?
Date: 2008-02-15 10:55:18
Message-ID: e373d31e0802150255m1dc208d2o219876e91c11de33@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have an index on the user_id field in the query below:

myuser=# delete from clients where user_id like '64.22.91.%';
DELETE 22
Time: 220324.975 ms

Is there any reason why it's taking 220 seconds to run this simple
query? There are about 3 million rows in this table.

How can I debug this? How can I check if the index is bloated or
blown? From the VACUUM ANALYZE output, nothing like this is apparent.

Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shoaib Mir 2008-02-15 11:05:13 Re: Are indexes blown?
Previous Message Balázs Klein 2008-02-15 08:52:03 Re: dynamic crosstab