query gets very slow when :jsonb ?& operator is used - Mailing list pgsql-performance

From
Subject query gets very slow when :jsonb ?& operator is used
Date
Msg-id 401454367.836254.1536277906458@mail.yahoo.com
Whole thread Raw
Responses Re: query gets very slow when :jsonb ?& operator is used
List pgsql-performance
I have also asked this question on Stackoverflow and DBA stack exchange with no answer. It's a fairly long post, so I will post a link to it, as on Stackoverflow it is formatted nicely 

https://stackoverflow.com/questions/52212878/query-gets-very-slow-when-jsonb-operator-is-used

Any idea why my query slows down so much when I add account.residence_details::jsonb ?& array['city', 'state', 'streetName'] ?

pgsql-performance by date:

Previous
From: Jeremy Schneider
Date:
Subject: Re: Guideline To Resolve LWLock:SubtransControlLock
Next
From: Jeff Janes
Date:
Subject: Re: query gets very slow when :jsonb ?& operator is used