From: alexandre - aldeia digital <adaldeia@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Discovering the most searched values for a field
Date: Fri, 13 Jan 2012 16:08:59 -0200
Message-ID: <4F10733B.3000704@gmail.com> (raw)
Hi,
Is there a simple way (or a tool) to discover the most searched values
in a field from a table ?
In the pg_stats, I can see the most common values generated by ANALYZE,
but I want to know how many queries are using this values. With this
information and the other statistics, I want to create partial indexes
or use table partitioning to create some benchmarks to speed up the
database access.
Best regards.
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-performance@postgresql.org
Cc: adaldeia@gmail.com
Subject: Re: Discovering the most searched values for a field
In-Reply-To: <4F10733B.3000704@gmail.com>
* 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