pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Greg Smith <greg@2ndquadrant.com>
Cc: felix <crucialfelix@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Really really slow select count(*)
Date: Tue, 08 Feb 2011 07:55:56 +0800
Message-ID: <4D50868C.1020209@postnewspapers.com.au> (raw)
In-Reply-To: <4D504275.5040103@2ndquadrant.com>
References: <AANLkTinAJcm5A+i1O_R87aiYyu8N2OWgoaL9RfR=tUR9@mail.gmail.com>
	<4D4C138C.7010304@2ndquadrant.com>
	<4D4C1555.40209@peak6.com>
	<AANLkTikrS5JkJDMjAXpcRWRnuLbX+MHB=CWb_mFa9qb-@mail.gmail.com>
	<4D4C2AC3.5020804@peak6.com>
	<AANLkTin8ndBSU9ZJ2uAdnvYQ7oLBg2S04bqAXn-s5qv+@mail.gmail.com>
	<AANLkTim+aLaihKbNSsiiL4exgtCeRqCh_50j48jHFDQm@mail.gmail.com>
	<AANLkTimnFc-hKG+PFEfwBPLAoK6q9kx=nc_4Fr++C_QB@mail.gmail.com>
	<4D4F6109.1090209@postnewspapers.com.au>
	<4D504275.5040103@2ndquadrant.com>

On 02/08/2011 03:05 AM, Greg Smith wrote:

> Accordingly I would expect any serious
> attempt to add some auto-reduction behavior to be beset with argument,
> and I'd never consider writing such a thing as a result. Too many
> non-controversial things I could work on instead.

Yep. I expressed my own doubts in the post I suggested that in.

If Pg did auto-correct down, it'd be necessary to scream about it 
angrily and continuously, not just once during startup. Given that it's 
clear many people never even look at the logs ("what logs? where are 
they?") I think Pg would also have to send notices to the client. 
Problem is, many clients don't process notices/warnings, so particularly 
slack admins won't see that either.

I'm not particularly excited about the idea.

--
Craig Ringer



view thread (66+ messages)  latest in thread

Message-ID: <4D50868C.1020209@postnewspapers.com.au>
Permalink:  ../4D50868C.1020209@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4D50868C.1020209@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: craig@postnewspapers.com.au, greg@2ndquadrant.com, crucialfelix@gmail.com
  Subject: Re: Really really slow select count(*)
  In-Reply-To: <4D50868C.1020209@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox