| Limit (cost=732.61..732.64 rows=10 width=288) |
| -> Sort (cost=732.61..732.94 rows=130 width=288) |
| Sort Key: s.is_draft DESC, s.end_at DESC |
| -> Group (cost=728.83..729.80 rows=130 width=288) |
| Group Key: s.id |
| -> Sort (cost=728.83..729.15 rows=130 width=272) |
| Sort Key: s.id |
| -> Hash Right Join (cost=544.24..724.26 rows=130 width=272) |
| 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=542.61..542.61 rows=130 width=272) |
| -> Hash Right Join (cost=394.69..542.61 rows=130 width=272) |
| Hash Cond: (rvr.work_log_id = s.id) |
| -> Seq Scan on tbl_work_log_verify_rels rvr (cost=0.00..126.52 rows=8152 width=4) |
| -> Hash (cost=393.07..393.07 rows=130 width=272) |
| -> Bitmap Heap Scan on tbl_work_logs s (cost=5.30..393.07 rows=130 width=272) |
| Recheck Cond: (client_id = 982) |
| Filter: (NOT is_draft) |
| -> Bitmap Index Scan on tbl_work_logs_client_id_idx (cost=0.00..5.26 rows=130 width=0) |
| Index Cond: (client_id = 982) |