Advertisement
dimuska139

Untitled

Oct 18th, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. GroupAggregate (cost=228702.40..244294.18 rows=692968 width=15) (actual time=3321.765..3458.410 rows=1651 loops=1)
  2. Group Key: l.name, ((c.created_at)::date)
  3. Buffers: shared hit=205824, temp read=15838 written=15840
  4. -> Sort (cost=228702.40..230434.82 rows=692968 width=7) (actual time=3319.804..3409.309 rows=578665 loops=1)
  5. Sort Key: l.name, ((c.created_at)::date)
  6. Sort Method: external merge Disk: 10192kB
  7. Buffers: shared hit=205824, temp read=15838 written=15840
  8. -> Hash Join (cost=59612.88..159581.19 rows=692968 width=7) (actual time=1185.872..3132.727 rows=578665 loops=1)
  9. Hash Cond: (fi.locale_id = l.id)
  10. Buffers: shared hit=205824, temp read=14564 written=14564
  11. -> Hash Join (cost=59608.54..155983.49 rows=692968 width=12) (actual time=1172.079..2983.317 rows=578665 loops=1)
  12. Hash Cond: (fi.film_id = f.id)
  13. Buffers: shared hit=205822, temp read=14564 written=14564
  14. -> Seq Scan on films_info fi (cost=0.00..66192.40 rows=5094100 width=8) (actual time=0.007..686.829 rows=5086436 loops=1)
  15. Buffers: shared hit=152514
  16. -> Hash (cost=55082.37..55082.37 rows=348477 width=12) (actual time=1170.700..1170.703 rows=378852 loops=1)
  17. Buckets: 524288 Batches: 2 Memory Usage: 12234kB
  18. Buffers: shared hit=53308, temp read=5121 written=5860
  19. -> Hash Join (cost=18265.37..55082.37 rows=348477 width=12) (actual time=187.131..1099.840 rows=378852 loops=1)
  20. Hash Cond: (f.content_id = c.id)
  21. Buffers: shared hit=53308, temp read=5121 written=5121
  22. -> Seq Scan on films f (cost=0.00..27900.52 rows=2561702 width=8) (actual time=0.011..325.667 rows=2563650 loops=1)
  23. Buffers: shared hit=22835
  24. -> Hash (cost=13196.44..13196.44 rows=390267 width=12) (actual time=185.797..185.798 rows=378852 loops=1)
  25. Buckets: 524288 Batches: 2 Memory Usage: 12254kB
  26. Buffers: shared hit=30473, temp written=738
  27. -> Bitmap Heap Scan on content c (cost=4679.40..13196.44 rows=390267 width=12) (actual time=26.666..124.224 rows=378852 loops=1)
  28. Recheck Cond: ((content_type)::text = 'movie'::text)
  29. Heap Blocks: exact=29019
  30. Buffers: shared hit=30473
  31. -> Bitmap Index Scan on content_type_created_at_idx (cost=0.00..4581.83 rows=390267 width=0) (actual time=22.669..22.669 rows=378852 loops=1)
  32. Index Cond: ((content_type)::text = 'movie'::text)
  33. Buffers: shared hit=1454
  34. -> Hash (cost=2.04..2.04 rows=184 width=7) (actual time=13.783..13.784 rows=184 loops=1)
  35. Buckets: 1024 Batches: 1 Memory Usage: 16kB
  36. Buffers: shared hit=2
  37. -> Seq Scan on locales l (cost=0.00..2.04 rows=184 width=7) (actual time=13.740..13.758 rows=184 loops=1)
  38. Buffers: shared hit=2
  39. Planning Time: 0.421 ms
  40. JIT:
  41. Functions: 32
  42. Options: Inlining false, Optimization false, Expressions true, Deforming true
  43. Timing: Generation 1.919 ms, Inlining 0.000 ms, Optimization 0.525 ms, Emission 13.007 ms, Total 15.451 ms
  44. Execution Time: 3463.730 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement