Re: Really really slow select count(*)

From: felix <crucialfelix(at)gmail(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: sthomas(at)peak6(dot)com, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Really really slow select count(*)
Date: 2011-02-04 19:59:45
Message-ID: AANLkTim+s+LcLWWjsf1cToPiDrrLxwO30PdN_3=U=7JO@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

ah right, duh.
yes, I did it as -U postgres, verified as a superuser

just now did it from inside psql as postgres

\c djns4
vacuum verbose analyze;

still no advice on the pages

On Fri, Feb 4, 2011 at 8:34 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>wrote:

> On Fri, Feb 4, 2011 at 12:26 PM, felix <crucialfelix(at)gmail(dot)com> wrote:
> > I just sudo tried it but still no report
>
> It's not about who you are in Unix / Linux, it's about who you are in
> Postgresql. \du will show you who is a superusr. psql -U username
> will let you connect as that user.
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Shaun Thomas 2011-02-04 20:00:38 Re: Really really slow select count(*)
Previous Message Shaun Thomas 2011-02-04 19:40:19 Re: Really really slow select count(*)