Limit (cost=640.75..640.80 rows=20 width=312) |
-> Sort (cost=640.75..640.99 rows=98 width=312) |
Sort Key: s.is_draft DESC, s.end_at DESC, s.updated_at DESC |
-> Group (cost=637.41..638.14 rows=98 width=312) |
Group Key: s.id |
-> Sort (cost=637.41..637.65 rows=98 width=296) |
Sort Key: s.id |
-> Hash Right Join (cost=454.33..634.17 rows=98 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=453.10..453.10 rows=98 width=296) |
-> Hash Right Join (cost=310.90..453.10 rows=98 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=309.67..309.67 rows=98 width=296) |
-> Bitmap Heap Scan on tbl_work_logs s (cost=5.05..309.67 rows=98 width=296) |
Recheck Cond: (created_by = 1001) |
Filter: (NOT is_draft) |
-> Bitmap Index Scan on tbl_work_logs_created_by_idx (cost=0.00..5.03 rows=98 width=0) |
Index Cond: (created_by = 1001) |