Re: 8.1beta3 performance - Mailing list pgsql-performance

From Tom Lane
Subject Re: 8.1beta3 performance
Date
Msg-id 5353.1130942474@sss.pgh.pa.us
Whole thread Raw
In response to Re: 8.1beta3 performance  ("PostgreSQL" <martin@portant.com>)
List pgsql-performance
"PostgreSQL" <martin@portant.com> writes:
> I'm seeing some other little oddities in the beta as well.  I'm watching an
> ALTER TABLE ADD COLUMN right now that has been running almost two hours.  I
> stopped it the first time at 1 hour; I suppose I'll let it go this time and
> see if it ever completes.  The table is about 150K rows.  Top, vmstat, and
> iostat show almost no cpu or disk activity (1 to 3%) - it's as if it just
> went to sleep.

You sure it's not blocked on a lock?  Check pg_locks ... if that sheds
no light, try attaching to the backend process with gdb and getting a
stack trace.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: insert performance for win32
Next
From: Joost Kraaijeveld
Date:
Subject: Re: pgbench results interpretation?