| Limit (cost=340.35..340.36 rows=3 width=286) |
| -> Sort (cost=340.35..340.36 rows=3 width=286) |
| Sort Key: s.is_draft DESC, s.end_at DESC |
| -> Group (cost=340.30..340.33 rows=3 width=286) |
| Group Key: s.id |
| -> Sort (cost=340.30..340.31 rows=3 width=270) |
| Sort Key: s.id |
| -> Hash Right Join (cost=160.57..340.28 rows=3 width=270) |
| Hash Cond: (ccr.work_log_id = s.id) |
| -> Seq Scan on tbl_work_log_carbon_copy_rels ccr (cost=0.00..144.60 rows=9360 width=4) |
| -> Hash (cost=160.53..160.53 rows=3 width=270) |
| -> Hash Right Join (cost=15.96..160.53 rows=3 width=270) |
| Hash Cond: (rvr.work_log_id = s.id) |
| -> Seq Scan on tbl_work_log_verify_rels rvr (cost=0.00..123.66 rows=7966 width=4) |
| -> Hash (cost=15.92..15.92 rows=3 width=270) |
| -> Bitmap Heap Scan on tbl_work_logs s (cost=4.31..15.92 rows=3 width=270) |
| Recheck Cond: (project_id = 4048) |
| 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 = 4048) |