| Limit (cost=343.89..343.90 rows=3 width=311) |
| -> Sort (cost=343.89..343.90 rows=3 width=311) |
| Sort Key: s.is_draft DESC, s.end_at DESC |
| -> Group (cost=343.84..343.87 rows=3 width=311) |
| Group Key: s.id |
| -> Sort (cost=343.84..343.85 rows=3 width=295) |
| Sort Key: s.id |
| -> Hash Right Join (cost=164.12..343.82 rows=3 width=295) |
| Hash Cond: (ccr.work_log_id = s.id) |
| -> Seq Scan on tbl_work_log_carbon_copy_rels ccr (cost=0.00..144.59 rows=9359 width=4) |
| -> Hash (cost=164.09..164.09 rows=3 width=295) |
| -> Hash Right Join (cost=15.96..164.09 rows=3 width=295) |
| Hash Cond: (rvr.work_log_id = s.id) |
| -> Seq Scan on tbl_work_log_verify_rels rvr (cost=0.00..126.68 rows=8168 width=4) |
| -> Hash (cost=15.93..15.93 rows=3 width=295) |
| -> Bitmap Heap Scan on tbl_work_logs s (cost=4.31..15.93 rows=3 width=295) |
| Recheck Cond: (project_id = 4103) |
| Filter: (NOT is_draft) |
| -> Bitmap Index Scan on tbl_work_logs_project_end_at_idx (cost=0.00..4.31 rows=3 width=0) |
| Index Cond: (project_id = 4103) |