Re: Minor verbosity increase for analyze

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Minor verbosity increase for analyze
Date: 2003-08-26 15:38:50
Message-ID: 200308261538.h7QFco607286@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Newest version of patch applied. Thanks.

---------------------------------------------------------------------------

Mark Kirkwood wrote:
> Attached is a (very small) patch to make analyze display some
> interesting info in
> verbose mode about the analyzed relation (pages, rows per block and rows ).
>
> This is all available in the statistics catalog but I have found it
> useful to see it appear as
> you run...
>
> mods to :
>
> src/backend/commands/analyze.c
>
> plain diff against current CVS (31/07/2003 NZST)
>
> Best wishes
>
> Mark
>
>

> 696a697,702
> > /*
> > * emit some interesting relation info
> > */
> > elog(elevel, " pages = %d rows/page = %d rows = %d",
> > onerel->rd_nblocks, (int)tuplesperpage, (int)*totalrows);
> >

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-08-26 15:39:20 Re: Minor verbosity increase for analyze
Previous Message Hartmut Raschick 2003-08-26 13:06:13 [Fwd: fixes for psqlodbc-07.03.0100 - part 2 of 2]