Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hash Left Join (cost=971.05..1347.18 rows=1 width=349) (actual time=0.174..0.174 rows=0 loops=1)
- Hash Cond: (ahr.target = siss.id)
- Join Filter: (ahr.hold_type = 'I'::text)
- -> Nested Loop Left Join (cost=969.87..1345.96 rows=1 width=339) (actual time=0.174..0.174 rows=0 loops=1)
- -> Nested Loop Anti Join (cost=969.73..1345.78 rows=1 width=343) (actual time=0.173..0.173 rows=0 loops=1)
- Join Filter: (((csp.org_depth IS NULL) AND (ahr.pickup_lib = ausp.org_unit)) OR ((csp.org_depth IS NOT NULL) AND (SubPlan 1)))
- -> Nested Loop (cost=969.59..1343.15 rows=1 width=351) (actual time=0.173..0.173 rows=0 loops=1)
- -> Nested Loop (cost=969.45..1342.99 rows=1 width=348) (actual time=0.173..0.173 rows=0 loops=1)
- -> Nested Loop Left Join (cost=969.33..1342.83 rows=1 width=351) (actual time=0.173..0.173 rows=0 loops=1)
- -> Nested Loop (cost=968.91..1342.34 rows=1 width=347) (actual time=0.172..0.172 rows=0 loops=1)
- -> Nested Loop (cost=968.47..1341.72 rows=1 width=337) (actual time=0.172..0.172 rows=0 loops=1)
- -> Hash Join (cost=968.04..1333.26 rows=1 width=276) (actual time=0.171..0.171 rows=0 loops=1)
- Hash Cond: (copy_location.id = acp.location)
- -> WindowAgg (cost=934.30..1150.72 rows=10821 width=37) (never executed)
- -> Sort (cost=934.30..961.35 rows=10821 width=37) (never executed)
- Sort Key: copy_location.name
- -> Seq Scan on copy_location (cost=0.00..209.21 rows=10821 width=37) (never executed)
- -> Hash (cost=33.73..33.73 rows=1 width=268) (actual time=0.150..0.150 rows=0 loops=1)
- Buckets: 1024 Batches: 1 Memory Usage: 0kB
- -> Nested Loop (cost=1.29..33.73 rows=1 width=268) (actual time=0.150..0.150 rows=0 loops=1)
- -> Nested Loop (cost=0.85..17.08 rows=1 width=252) (actual time=0.150..0.150 rows=0 loops=1)
- -> Index Scan using hold_request_pkey on hold_request ahr (cost=0.43..8.45 rows=1 width=244) (actual time=0.149..0.149 rows=0 loops=1)
- Index Cond: (id = 4489817)
- Filter: ((capture_time IS NULL) AND (cancel_time IS NULL) AND ((expire_time IS NULL) OR (expire_time > now())))
- Rows Removed by Filter: 1
- -> GroupAggregate (cost=0.42..8.61 rows=1 width=12) (never executed)
- Group Key: hold_copy_map.hold
- -> Index Only Scan using copy_once_per_hold on hold_copy_map (cost=0.42..8.56 rows=8 width=12) (never executed)
- Index Cond: (hold = 4489817)
- Heap Fetches: 0
- -> Append (cost=0.43..16.62 rows=2 width=24) (never executed)
- -> Index Scan using copy_pkey on copy acp (cost=0.43..8.46 rows=1 width=24) (never executed)
- Index Cond: (id = ahr.current_copy)
- Filter: (status = ANY ('{0,7}'::integer[]))
- -> Index Scan using unit_pkey on unit acp_1 (cost=0.14..8.17 rows=1 width=24) (never executed)
- Index Cond: (id = ahr.current_copy)
- Filter: (status = ANY ('{0,7}'::integer[]))
- -> Index Scan using usr_pkey on usr au (cost=0.43..8.45 rows=1 width=61) (never executed)
- Index Cond: (id = ahr.usr)
- -> Index Scan using call_number_pkey on call_number acn (cost=0.44..0.61 rows=1 width=26) (never executed)
- Index Cond: (id = acp.call_number)
- -> Index Scan using actor_usr_standing_penalty_usr_idx on usr_standing_penalty ausp (cost=0.42..0.47 rows=2 width=12) (never executed)
- Index Cond: (au.id = usr)
- Filter: ((stop_date IS NULL) OR (stop_date > now()))
- -> Index Scan using call_number_suffix_pkey on call_number_suffix acns (cost=0.12..0.15 rows=1 width=5) (never executed)
- Index Cond: (id = acn.suffix)
- -> Index Scan using call_number_prefix_pkey on call_number_prefix acnp (cost=0.14..0.16 rows=1 width=11) (never executed)
- Index Cond: (id = acn.prefix)
- -> Index Scan using standing_penalty_pkey on standing_penalty csp (cost=0.14..0.16 rows=1 width=8) (never executed)
- Index Cond: (id = ausp.standing_penalty)
- Filter: (((org_depth IS NULL) OR (org_depth IS NOT NULL)) AND (block_list ~~ '%CAPTURE%'::text))
- SubPlan 1
- -> Function Scan on org_unit_descendants (cost=0.25..3.75 rows=350 width=4) (never executed)
- -> Index Scan using acplo_once_per_org on copy_location_order acplo (cost=0.14..0.17 rows=1 width=12) (never executed)
- Index Cond: ((acp.location = location) AND (acp.circ_lib = org))
- -> Hash (cost=1.08..1.08 rows=8 width=14) (never executed)
- -> Seq Scan on issuance siss (cost=0.00..1.08 rows=8 width=14) (never executed)
- Planning time: 192.897 ms
- Execution time: 1.148 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement