Limit (cost=499.49..499.54 rows=20 width=313) |
-> Sort (cost=499.49..499.62 rows=52 width=313) |
Sort Key: s.is_draft DESC, s.end_at DESC |
-> Group (cost=497.72..498.11 rows=52 width=313) |
Group Key: s.id |
-> Sort (cost=497.72..497.85 rows=52 width=297) |
Sort Key: s.id |
-> Hash Right Join (cost=316.75..496.24 rows=52 width=297) |
Hash Cond: (ccr.work_log_id = s.id) |
-> Seq Scan on tbl_work_log_carbon_copy_rels ccr (cost=0.00..144.34 rows=9334 width=4) |
-> Hash (cost=316.10..316.10 rows=52 width=297) |
-> Hash Right Join (cost=179.38..316.10 rows=52 width=297) |
Hash Cond: (rvr.work_log_id = s.id) |
-> Seq Scan on tbl_work_log_verify_rels rvr (cost=0.00..116.82 rows=7582 width=4) |
-> Hash (cost=178.73..178.73 rows=52 width=297) |
-> Bitmap Heap Scan on tbl_work_logs s (cost=4.69..178.73 rows=52 width=297) |
Recheck Cond: (project_id = 1018) |
Filter: (NOT is_draft) |
-> Bitmap Index Scan on tbl_work_logs_project_id_idx (cost=0.00..4.68 rows=52 width=0) |
Index Cond: (project_id = 1018) |