Re: Working slow

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Judith Altamirano <jaltamirano(at)lux(dot)com(dot)mx>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Working slow
Date: 2009-09-22 01:56:06
Message-ID: dcc563d10909211856x54e8aewefef5d5ba058c3f1@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Sep 21, 2009 at 7:58 AM, Judith Altamirano
<jaltamirano(at)lux(dot)com(dot)mx> wrote:
> hello every body, I'm having a data base in a point of sale that is getting
> frozen, I already have run a vacuum -z -d to reindex the data base and
> nothing happens...... Some suggestions to speed the process, Do you guys
> think that the data base is nearly to broke?

vacuumdb does not reindex, reindexdb does that.

Hard to say with so little evidence.

What does top, or vmstat 1, or iostat 10 or

select datname, current_query, waiting, (now()-query_start)::time(0) as runtime
from pg_stat_Activity
where current_query not ilike '%idle%'
order by query_start limit 10

have to say?

Is the database already bloated? If so, how big is /data/base
compared to usual?

In response to

  • Working slow at 2009-09-21 13:58:56 from Judith Altamirano

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2009-09-22 02:45:02 Re: Working slow
Previous Message Judith Altamirano 2009-09-21 13:58:56 Working slow