From: Álvaro Herrera <alvherre@alvh.no-ip.org>
To: Guillermo E. Villanueva <guillermovil@gmail.com>
Cc: Horacio Miranda <hmiranda@gmail.com>
Cc: Jairo Graterón <jgrateron@gmail.com>
Cc: pgsql-es-ayuda <pgsql-es-ayuda@postgresql.org>
Subject: Re: plan de ejecución
Date: Wed, 5 Feb 2025 16:49:30 +0100
Message-ID: <202502051549.tr3wty3vu2im@alvherre.pgsql> (raw)
In-Reply-To: <CANm+PCBaghoJQBNQ_oPNujEQD5s0N9i=6suexJa9FAqtufQ76Q@mail.gmail.com>
Guillermo E. Villanueva escribió:
> Hola Alvaro cómo estas?
> Los índices de los que hablo tienen unos 27GB cada uno
> La tabla tiene unos 1.4TB
>
> effective_cache_size = 48GB
> shared_buffers = 24GB
¿y qué dice esto?
select attname, cardinality(histogram_bounds), cardinality(most_common_freqs)
from pg_stats
where tablename = 'companies';
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
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-es-ayuda@postgresql.org
Cc: alvherre@alvh.no-ip.org, guillermovil@gmail.com, hmiranda@gmail.com, jgrateron@gmail.com
Subject: Re: plan de ejecución
In-Reply-To: <202502051549.tr3wty3vu2im@alvherre.pgsql>
* 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