Re: Statistics on array values

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marco Colli <collimarco91(at)gmail(dot)com>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Statistics on array values
Date: 2020-02-02 18:32:02
Message-ID: 21162.1580668322@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Marco Colli <collimarco91(at)gmail(dot)com> writes:
> Unfortunately I don't get actual improvements. I use PG 11 and I run the
> following commands:
> ALTER TABLE subscriptions ALTER tags SET STATISTICS 1000;
> ANALYZE subscriptions;
> However the bias remains pretty much the same (slightly worse after). Any
> idea?

So what have you got in the pg_stats fields I asked about?
How big is this table anyway (how many rows, how many different tag
values)?

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Marco Colli 2020-02-02 18:55:59 Re: Statistics on array values
Previous Message Marco Colli 2020-02-02 18:26:19 Re: Statistics on array values