Nested Loop (cost=0.00..194705.88 rows=1340602 width=213) (actual time=0.018..3739.905 rows=1339642 loops=1)" Output: ci.conversation_uuid, ci.item_uuid, ci.tenant_id, it.item_subject, it.item_body_start" Inner Unique: true" Buffers: shared hit=2681522 read=90343 dirtied=203" I/O Timings: shared/local read=233.152" WAL: records=203 fpi=203 bytes=428058" -> Seq Scan on item_text it (cost=0.00..105892.07 rows=1350507 width=193) (actual time=0.011..628.038 rows=1339642 loops=1)" Output: it.item_subject, it.item_body_start, it.item_uuid" Buffers: shared hit=2044 read=90343 dirtied=193" I/O Timings: shared/local read=233.152" WAL: records=193 fpi=193 bytes=380966" -> Index Scan using conversation_item_item_hash_index on conversation_item ci (cost=0.00..0.07 rows=1 width=36) (actual time=0.002..0.002 rows=1 loops=1339642)" Output: ci.conversation_uuid, ci.item_uuid, ci.tenant_id" Index Cond: (ci.item_uuid = it.item_uuid)" Rows Removed by Index Recheck: 0" Buffers: shared hit=2679478 dirtied=10" WAL: records=10 fpi=10 bytes=47092" Settings: effective_cache_size = '16053152kB', jit = 'off'" Query Identifier: 5005100605804837348" Planning:" Buffers: shared hit=12 read=4" I/O Timings: shared/local read=0.015" Planning Time: 0.236 ms" Execution Time: 3829.002 ms" Generated with: EXPLAIN(ANALYZE, VERBOSE, COSTS, SETTINGS, BUFFERS, WAL, TIMING, SUMMARY) SELECT ci.conversation_uuid, ci.item_uuid, ci.tenant_id, it.item_subject, it.item_body_start FROM conversation_item AS ci INNER JOIN item_text AS it ON it.item_uuid = ci.item_uuid;