Re: Index bloat and REINDEX/VACUUM optimization for partial index

2023-09-01 Thread Maxim Boguk
> > But anyway, PostgreSQL has features to prevent the index bloat from > becoming too severe of a problem, and you should figure out why they are > not working for you. The most common ones I know of are 1) long open > snapshots preventing clean up, 2) all index scans being bitmap index scans, >

Re: Queries containing ORDER BY and LIMIT started to work slowly

2023-09-01 Thread Rondat Flyag
Hello Jeff.Thank you too for your efforts and help. The problem was in the dropped index for asins_statistics(asin_id). It existed, but was dropped during the dump I suppose. I created it again and everything is fine now. Cheers,Serg 31.08.2023, 19:52, "Jeff Janes" :On Wed, Aug 30, 2023 at 1:31 PM

Re: Queries containing ORDER BY and LIMIT started to work slowly

2023-09-01 Thread Rondat Flyag
Hi David. Thank you so much for your help. The problem was in the dropped asins_statistics(asin_id) index. I had set it, but it was dropped somehow during the dump. I set it again andeverything works fine now.Thank you again. P.S. There are two close terms: ASIN and ISBN. I use ASIN in my tables, b