Re: [PERFORM] Index-Advisor Tools

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: [PERFORM] Index-Advisor Tools
Дата
Msg-id CAOBaU_ZmCQ_NnVXXEwjf-sprVXt=oKGepc3e_e4tsWpSRMq=yw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PERFORM] Index-Advisor Tools  (Alexandre de Arruda Paes <adaldeia@gmail.com>)
Ответы Re: [PERFORM] Index-Advisor Tools  (Baron Schwartz <baron.schwartz@gmail.com>)
Список pgsql-performance
On Tue, Oct 31, 2017 at 8:25 PM, Alexandre de Arruda Paes
<adaldeia@gmail.com> wrote:
> I will be very happy with a tool(or a stats table) that shows the most
> searched values from a table(since a statistic reset).  i.e.:
>
> table foo (id int, year int)
>
> top 3 searched value for year field: 2017(500x), 2016(300x), 2015(55x)
>
> With this info we can create partial indexes or do a table partitioning.
>
>
>
> 2017-10-31 15:25 GMT-02:00 Neto pr <netopr9@gmail.com>:
>>
>> Thanks for reply Antony.
>> But from what I've read, HYPOPG only allows you to create hypothetical
>> indexes, so the DBA can analyze if it brings benefits.
>> What I would like is a tool that from a SQL Query indicates which indexes
>> would be recommended to decrease the response time.

powa + pg_qualstats will give you this kind of information, and it can
analyse the actual queries and suggest indexes that could boost them,
or show constant repartition for the different WHERE clauses.

You can get more information on http://powa.readthedocs.io/en/latest/.


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

В списке pgsql-performance по дате отправления:

Предыдущее
От: Yves Dorfsman
Дата:
Сообщение: Re: [PERFORM] Index-Advisor Tools
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [PERFORM] Cursor vs Set Operation