Re: Odd problem with performance in duplicate database

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance(at)postgreSQL(dot)org
Subject: Re: Odd problem with performance in duplicate database
Date: 2003-08-12 00:43:48
Message-ID: 200308111743.48564.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Tom,

> Partly. The numbers suggest that in ANALYZE's default sample of 3000
> rows, it's only finding about a dozen non-null tgroup_ids (yielding the
> 0.996 null_frac value); and that in one case all dozen are different and
> in the other case there are two duplicates. It would help if you
> boosted the stats target for this column by a factor of 10. (You can
> do that in 7.2, btw --- IIRC the only problem is that a pg_dump won't
> show that you did so.)

Also, there doesn't seem to be any way in 7.2 for me to find out what the
current statistics target for a column is. What am I missing?

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-08-12 00:50:48 Re: Perfomance Tuning
Previous Message Tom Lane 2003-08-12 00:29:22 Re: Odd problem with performance in duplicate database