| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
| Cc: | Semen Yefimenko <semen(dot)yefimenko(at)gmail(dot)com>, Vijaykumar Jain <vijaykumarjain(dot)github(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Very slow Query compared to Oracle / SQL - Server |
| Date: | 2021-05-07 16:28:42 |
| Message-ID: | 41316.1620404922@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
Justin Pryzby <pryzby(at)telsasoft(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Geoghegan | 2021-05-07 21:28:33 | Re: Very slow Query compared to Oracle / SQL - Server |
| Previous Message | Justin Pryzby | 2021-05-07 16:15:51 | Re: Very slow Query compared to Oracle / SQL - Server |