Re: Really really slow select count(*) - Mailing list pgsql-performance

From Greg Smith
Subject Re: Really really slow select count(*)
Date
Msg-id 4D51BED9.3000407@2ndquadrant.com
Whole thread Raw
In response to Re: Really really slow select count(*)  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: Really really slow select count(*)
List pgsql-performance
Scott Marlowe wrote:
> Are there any settings in postgresql.conf that would make it unsafe to
> use -m immediate?
>

Two concerns:

-Clients will be killed without any review, and data related to them lost

-The server will have to go through recovery to start back up again,
which could potentially take a long time.  If you manage a successful
shutdown that doesn't happen.

Shouldn't be unsafe, just has those issues.

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books


pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Bad query plan when the wrong data type is used
Next
From: Scott Marlowe
Date:
Subject: Re: Really really slow select count(*)