pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim Nasby <Jim.Nasby@BlueTreble.com>
Cc: Josh berkus <josh@agliodbs.com>
Cc: Tomasz Ostrowski <tometzky+pg@ato.waw.pl>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [BUGS] Routine analyze of single column prevents standard autoanalyze from running at all
Date: Tue, 07 Jun 2016 23:04:05 -0400
Message-ID: <26771.1465355045@sss.pgh.pa.us> (raw)
In-Reply-To: <3d9303dc-f99c-b63c-73be-aa2214bebe73@BlueTreble.com>
References: <ef99c1bd-ff60-5f32-2733-c7b504eb960c@ato.waw.pl>
	<28700.1465238280@sss.pgh.pa.us>
	<WM!3b713ccc015c0c47227d1456caf75c57fb15350b789ac43e940c60b7507990cad27fa6afdc0df2c3e2d3afaa80b692c8!@mailstronghold-2.zmailcloud.com>
	<5755DBC2.9040007@agliodbs.com>
	<3d9303dc-f99c-b63c-73be-aa2214bebe73@BlueTreble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> Is there any significant advantage to not analyzing all columns? Only 
> case I can think of is if you have a fair number of columns that have 
> been toasted; otherwise I'd think IO would completely swamp any other 
> considerations.

Yeah, my guess is that the OP's example where analyzing just one column
was significantly cheaper boiled down to some of the other columns being
mostly toasted data.  Otherwise it's hard to see how there's much more
expense in analyzing them all.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (8+ messages)  latest in thread

Message-ID: <26771.1465355045@sss.pgh.pa.us>
Permalink:  ../26771.1465355045@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26771.1465355045@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Jim.Nasby@BlueTreble.com, josh@agliodbs.com, tometzky+pg@ato.waw.pl, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] Routine analyze of single column prevents standard autoanalyze from running at all
  In-Reply-To: <26771.1465355045@sss.pgh.pa.us>
  References: <ef99c1bd-ff60-5f32-2733-c7b504eb960c@ato.waw.pl> <28700.1465238280@sss.pgh.pa.us> <WM!3b713ccc015c0c47227d1456caf75c57fb15350b789ac43e940c60b7507990cad27fa6afdc0df2c3e2d3afaa80b692c8!@mailstronghold-2.zmailcloud.com> <5755DBC2.9040007@agliodbs.com> <3d9303dc-f99c-b63c-73be-aa2214bebe73@BlueTreble.com> <26771.1465355045@sss.pgh.pa.us>

* 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