Limit (cost=337.86..337.87 rows=3 width=312) |
-> Sort (cost=337.86..337.87 rows=3 width=312) |
Sort Key: s.is_draft DESC, s.end_at DESC |
-> Group (cost=337.81..337.84 rows=3 width=312) |
Group Key: s.id |
-> Sort (cost=337.81..337.82 rows=3 width=296) |
Sort Key: s.id |
-> Hash Right Join (cost=158.20..337.79 rows=3 width=296) |
Hash Cond: (ccr.work_log_id = s.id) |
-> Seq Scan on tbl_work_log_carbon_copy_rels ccr (cost=0.00..144.51 rows=9351 width=4) |
-> Hash (cost=158.17..158.17 rows=3 width=296) |
-> Hash Right Join (cost=15.96..158.17 rows=3 width=296) |
Hash Cond: (rvr.work_log_id = s.id) |
-> Seq Scan on tbl_work_log_verify_rels rvr (cost=0.00..121.58 rows=7858 width=4) |
-> Hash (cost=15.92..15.92 rows=3 width=296) |
-> Bitmap Heap Scan on tbl_work_logs s (cost=4.31..15.92 rows=3 width=296) |
Recheck Cond: (project_id = 3955) |
Filter: (NOT is_draft) |
-> Bitmap Index Scan on tbl_work_logs_project_id_idx (cost=0.00..4.31 rows=3 width=0) |
Index Cond: (project_id = 3955) |