Re: Very slow Query compared to Oracle / SQL - Server

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Very slow Query compared to Oracle / SQL - Server
Дата
Msg-id 41316.1620404922@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Very slow Query compared to Oracle / SQL - Server  (Semen Yefimenko <semen.yefimenko@gmail.com>)
Список pgsql-performance
Justin Pryzby <pryzby@telsasoft.com> writes:
> On Fri, May 07, 2021 at 05:57:19PM +0200, Semen Yefimenko wrote:
>> For testing purposes I set up a separate postgres 13.2 instance on windows.
>> To my surprise, it works perfectly fine. Also indexes, have about 1/4 of
>> the size they had on 12.6.

> In pg13, indexes are de-duplicated by default.
> But I suspect the performance is better because data was reload, and the
> smaller indexes are a small, additional benefit.

Index bloat is often a consequence of inadequate vacuuming.  You might
need to dial up autovacuum's aggressiveness to keep their sizes in check.

            regards, tom lane



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

Предыдущее
От: Semen Yefimenko
Дата:
Сообщение: Re: Very slow Query compared to Oracle / SQL - Server
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Very slow Query compared to Oracle / SQL - Server