Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "Sort (cost=31520.95..31521.07 rows=49 width=218) (actual time=4121.610..4121.612 rows=26 loops=1)"
- " Sort Key: a.doc_date, a.doc_no"
- " Sort Method: quicksort Memory: 31kB"
- " -> Nested Loop (cost=21292.29..31519.58 rows=49 width=218) (actual time=303.446..4121.420 rows=26 loops=1)"
- " -> Seq Scan on m_brand c (cost=0.00..4.49 rows=1 width=24) (actual time=0.012..0.031 rows=1 loops=1)"
- " Filter: (brand_id = 100093)"
- " Rows Removed by Filter: 118"
- " -> Hash Right Join (cost=21292.29..31476.50 rows=49 width=202) (actual time=161.190..220.248 rows=26 loops=1)"
- " Hash Cond: ((e.ref_id = d.in_out_exchange_id) AND (e.ref_doc_type_id = d.doc_type_id))"
- " -> Seq Scan on in_in_out_exchange e (cost=0.00..8603.06 rows=210806 width=60) (actual time=0.002..24.174 rows=210806 loops=1)"
- " -> Hash (cost=21291.55..21291.55 rows=49 width=158) (actual time=161.112..161.112 rows=26 loops=1)"
- " Buckets: 1024 Batches: 1 Memory Usage: 6kB"
- " -> Hash Right Join (cost=11638.25..21291.55 rows=49 width=158) (actual time=92.678..161.091 rows=26 loops=1)"
- " Hash Cond: ((d.req_doc_type_id = a.doc_type_id) AND (d.req_id = a.in_out_exchange_id))"
- " -> Seq Scan on in_in_out_exchange d (cost=0.00..9130.08 rows=69742 width=60) (actual time=0.006..60.345 rows=70355 loops=1)"
- " Filter: (req_doc_type_id = 599)"
- " Rows Removed by Filter: 140451"
- " -> Hash (cost=11637.52..11637.52 rows=49 width=114) (actual time=92.623..92.623 rows=26 loops=1)"
- " Buckets: 1024 Batches: 1 Memory Usage: 4kB"
- " -> Hash Join (cost=3376.37..11637.52 rows=49 width=114) (actual time=82.687..92.605 rows=26 loops=1)"
- " Hash Cond: (a.partner_id = b.partner_id)"
- " -> Bitmap Heap Scan on in_in_out_exchange a (cost=3227.03..11487.18 rows=136 width=88) (actual time=72.934..82.784 rows=338 loops=1)"
- " Recheck Cond: ((tenant_id = 10) AND (ou_id = 10) AND (doc_type_id = 599))"
- " Filter: (((doc_date)::text >= '20171201'::text) AND ((doc_date)::text <= '20171231'::text) AND (brand_id = 100093))"
- " Rows Removed by Filter: 70036"
- " -> Bitmap Index Scan on idx_in_in_out_exchange_01 (cost=0.00..3226.99 rows=70606 width=0) (actual time=22.077..22.077 rows=70374 loops=1)"
- " Index Cond: ((tenant_id = 10) AND (ou_id = 10) AND (doc_type_id = 599))"
- " -> Hash (cost=136.60..136.60 rows=1019 width=34) (actual time=9.746..9.746 rows=160 loops=1)"
- " Buckets: 1024 Batches: 1 Memory Usage: 12kB"
- " -> Seq Scan on m_partner b (cost=0.00..136.60 rows=1019 width=34) (actual time=0.032..9.588 rows=160 loops=1)"
- " Filter: ((upper((partner_code)::text) ~~ '%NI%'::text) OR (upper((partner_name)::text) ~~ '%NI%'::text))"
- " Rows Removed by Filter: 2670"
- "Total runtime: 4121.896 ms"
- -------------------------------------------------------------------------------------------------------
- hilangkan function status report dari select
- "Sort (cost=31484.20..31484.32 rows=49 width=202) (actual time=184.482..184.484 rows=26 loops=1)"
- " Sort Key: a.doc_date, a.doc_no"
- " Sort Method: quicksort Memory: 31kB"
- " -> Nested Loop (cost=21292.29..31482.83 rows=49 width=202) (actual time=126.024..184.315 rows=26 loops=1)"
- " -> Seq Scan on m_brand c (cost=0.00..4.49 rows=1 width=24) (actual time=0.019..0.033 rows=1 loops=1)"
- " Filter: (brand_id = 100093)"
- " Rows Removed by Filter: 118"
- " -> Hash Right Join (cost=21292.29..31476.50 rows=49 width=186) (actual time=125.990..184.214 rows=26 loops=1)"
- " Hash Cond: ((e.ref_id = d.in_out_exchange_id) AND (e.ref_doc_type_id = d.doc_type_id))"
- " -> Seq Scan on in_in_out_exchange e (cost=0.00..8603.06 rows=210806 width=52) (actual time=0.001..23.102 rows=210806 loops=1)"
- " -> Hash (cost=21291.55..21291.55 rows=49 width=158) (actual time=125.914..125.914 rows=26 loops=1)"
- " Buckets: 1024 Batches: 1 Memory Usage: 6kB"
- " -> Hash Right Join (cost=11638.25..21291.55 rows=49 width=158) (actual time=55.877..125.886 rows=26 loops=1)"
- " Hash Cond: ((d.req_doc_type_id = a.doc_type_id) AND (d.req_id = a.in_out_exchange_id))"
- " -> Seq Scan on in_in_out_exchange d (cost=0.00..9130.08 rows=69742 width=60) (actual time=0.007..61.400 rows=70355 loops=1)"
- " Filter: (req_doc_type_id = 599)"
- " Rows Removed by Filter: 140451"
- " -> Hash (cost=11637.52..11637.52 rows=49 width=114) (actual time=55.807..55.807 rows=26 loops=1)"
- " Buckets: 1024 Batches: 1 Memory Usage: 4kB"
- " -> Hash Join (cost=3376.37..11637.52 rows=49 width=114) (actual time=48.094..55.790 rows=26 loops=1)"
- " Hash Cond: (a.partner_id = b.partner_id)"
- " -> Bitmap Heap Scan on in_in_out_exchange a (cost=3227.03..11487.18 rows=136 width=88) (actual time=45.047..52.700 rows=338 loops=1)"
- " Recheck Cond: ((tenant_id = 10) AND (ou_id = 10) AND (doc_type_id = 599))"
- " Filter: (((doc_date)::text >= '20171201'::text) AND ((doc_date)::text <= '20171231'::text) AND (brand_id = 100093))"
- " Rows Removed by Filter: 70036"
- " -> Bitmap Index Scan on idx_in_in_out_exchange_01 (cost=0.00..3226.99 rows=70606 width=0) (actual time=9.858..9.858 rows=70374 loops=1)"
- " Index Cond: ((tenant_id = 10) AND (ou_id = 10) AND (doc_type_id = 599))"
- " -> Hash (cost=136.60..136.60 rows=1019 width=34) (actual time=3.035..3.035 rows=160 loops=1)"
- " Buckets: 1024 Batches: 1 Memory Usage: 12kB"
- " -> Seq Scan on m_partner b (cost=0.00..136.60 rows=1019 width=34) (actual time=0.044..3.005 rows=160 loops=1)"
- " Filter: ((upper((partner_code)::text) ~~ '%NI%'::text) OR (upper((partner_name)::text) ~~ '%NI%'::text))"
- " Rows Removed by Filter: 2670"
- "Total runtime: 184.802 ms"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement