Re: Indexing on JSONB field not working

Поиск
Список
Период
Сортировка
От Zhihong Zhang
Тема Re: Indexing on JSONB field not working
Дата
Msg-id BB32C709-8342-4920-BE99-5FA4BF32122E@gmail.com
обсуждение исходный текст
Ответ на Re: Indexing on JSONB field not working  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-bugs


On Jan 3, 2020, at 8:54 AM, Jeff Janes <jeff.janes@gmail.com> wrote:

You told us vociferously that ANALYZE was run after the index was created.


I did have that problem but can’t reproduce it right now.  I am just trying to concentrate on the issues I can reproduce easily.

We have been dealing with the slow query issue for months. The first advice is always to run vacuum/analyze. That didn’t help. I think things changed when I accidentally restarted the server by applying some configuration changes. Now, bouncing the server always brings the stats back, without running ‘analyze’.

We had the same issue on another server. I made a snapshot of the database before I restarted the server. Anything I can capture to help nail the issue?

Thanks!

Zhihong



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: BUG #16183: PREPARED STATEMENT slowed down by jit
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16185: Trigger fires twice and with wrong TG_OP when updating partion key on partitioned table