News for hackers. Stuff that matters.
Re:When to Avoid JSONB in a PostgreSQL Schema by malisper on Thursday September 01, 2016 @06:30PM (#12409355)
Your queries are executing different plans. The first one is executing a nested loop join which filters out 1,246,035,384 intermediate rows. The second one is executing a index join which doesn't filter out any intermediate rows at all. This seems like it was caused either by the scientist_labs_pkey index not being there in the first trial or just random luck due to a difference in statistics.

There are no comments on this comment yet.