Re: Indexing on JSONB field not working - Mailing list pgsql-bugs

From Zhihong Zhang
Subject Re: Indexing on JSONB field not working
Date
Msg-id BB32C709-8342-4920-BE99-5FA4BF32122E@gmail.com
Whole thread Raw
In response to Re: Indexing on JSONB field not working  (Jeff Janes <jeff.janes@gmail.com>)
List 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 by date:

Previous
From: Jeff Janes
Date:
Subject: Re: BUG #16183: PREPARED STATEMENT slowed down by jit
Next
From: PG Bug reporting form
Date:
Subject: BUG #16185: Trigger fires twice and with wrong TG_OP when updating partion key on partitioned table