Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HashAggregate (cost=1141685.72..1141686.14 rows=28 width=41) (actual time=55824.222..55827.068 rows=3358 loops=1)
- Group Key: b.dimension3
- -> Hash Join (cost=63915.68..1139740.91 rows=259308 width=41) (actual time=9956.393..55684.492 rows=267004 loops=1)
- Hash Cond: (c.basedimensionid = b.id)
- -> Seq Scan on interestingData c (cost=0.00..628619.84 rows=28705684 width=20) (actual time=0.007..31909.112 rows=28705684 loops=1)
- -> Hash (cost=62303.57..62303.57 rows=83369 width=29) (actual time=93.587..93.587 rows=81101 loops=1)
- Buckets: 131072 Batches: 2 Memory Usage: 3565kB
- -> Index Scan using baseDimensions_dimensions_key on baseDimensions b (cost=0.56..62303.57 rows=83369 width=29) (actual time=0.021..59.422 rows=81101 loops=1)
- Index Cond: (dimension1 = '2016-08-20'::date)
- Planning time: 0.232 ms
- Execution time: 55827.909 ms
- HashAggregate (cost=1790548.21..1790548.63 rows=28 width=41) (actual time=1023.655..1025.661 rows=3358 loops=1)
- Group Key: b.dimension3
- -> Nested Loop (cost=1.12..1788603.40 rows=259308 width=41) (actual time=0.034..848.152 rows=267004 loops=1)
- -> Index Scan using baseDimensions_dimensions_key on baseDimensions b (cost=0.56..62303.57 rows=83369 width=29) (actual time=0.019..76.750 rows=81101 loops=1)
- Index Cond: (fordate = '2016-08-20'::date)
- -> Index Scan using interestingData_pkey on interestingData c (cost=0.56..20.08 rows=63 width=20) (actual time=0.003..0.007 rows=3 loops=81101)
- Index Cond: (basedimensionid = b.id)
- Planning time: 0.250 ms
- Execution time: 1026.478 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement