Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. "Unique (cost=8419738.53..8442329.47 rows=1462381 width=46) (actual time=778183.637..778754.779 rows=38399 loops=1)"
  2. " -> Sort (cost=8419738.53..8425386.26 rows=2259094 width=46) (actual time=778183.636..778556.458 rows=1248982 loops=1)"
  3. " Sort Key: movies.movieid, movies.title, movies.mvyear"
  4. " Sort Method: external merge Disk: 53704kB"
  5. " -> Hash Join (cost=653015.57..8042329.51 rows=2259094 width=46) (actual time=599182.051..776878.241 rows=1248982 loops=1)"
  6. " Hash Cond: (actormovie.movieid = movies.movieid)"
  7. " -> Hash Join (cost=592952.99..7920701.39 rows=2259094 width=8) (actual time=444667.407..770776.935 rows=1248982 loops=1)"
  8. " Hash Cond: (generomovie.genero_id = genero.genero_id)"
  9. " Join Filter: ((lower((actor.name)::text) ~~ ANY ('{"zuidinga, fran%"}'::text[])) OR (lower((personagem.as_character)::text) ~~ ANY ('{[tony%}'::text[])) OR (lower((genero.descricao)::text) = 'romance'::text))"
  10. " Rows Removed by Join Filter: 19327392"
  11. " -> Hash Join (cost=592951.34..6576421.25 rows=51210609 width=45) (actual time=67904.631..740244.185 rows=20576374 loops=1)"
  12. " Hash Cond: (actormovie.characterid = personagem.characterid)"
  13. " -> Hash Join (cost=74600.93..3670603.31 rows=51210609 width=32) (actual time=990.216..638042.161 rows=20576374 loops=1)"
  14. " Hash Cond: (actormovie.actor_id = actor.actor_id)"
  15. " -> Merge Join (cost=1663.18..2217237.43 rows=51210609 width=20) (actual time=0.026..540246.985 rows=20576374 loops=1)"
  16. " Merge Cond: (generomovie.movieid = actormovie.movieid)"
  17. " -> Index Scan using generomovie_movieid_idx on generomovie (cost=0.42..37262.94 rows=853027 width=8) (actual time=0.013..35384.674 rows=853027 loops=1)"
  18. " -> Materialize (cost=0.56..1483914.09 rows=29692304 width=12) (actual time=0.012..498024.007 rows=38111561 loops=1)"
  19. " -> Index Scan using actormovie_movieid_idx on actormovie (cost=0.56..1409683.33 rows=29692304 width=12) (actual time=0.008..494059.192 rows=29692392 loops=1)"
  20. " -> Hash (cost=34889.89..34889.89 rows=2072389 width=20) (actual time=788.186..788.186 rows=2072389 loops=1)"
  21. " Buckets: 65536 Batches: 64 Memory Usage: 2178kB"
  22. " -> Seq Scan on actor (cost=0.00..34889.89 rows=2072389 width=20) (actual time=0.014..294.780 rows=2072389 loops=1)"
  23. " -> Hash (cost=245782.96..245782.96 rows=14846196 width=21) (actual time=39616.240..39616.240 rows=14846196 loops=1)"
  24. " Buckets: 65536 Batches: 256 Memory Usage: 3561kB"
  25. " -> Seq Scan on personagem (cost=0.00..245782.96 rows=14846196 width=21) (actual time=0.006..33891.856 rows=14846196 loops=1)"
  26. " -> Hash (cost=1.29..1.29 rows=29 width=222) (actual time=16.625..16.625 rows=29 loops=1)"
  27. " Buckets: 1024 Batches: 1 Memory Usage: 10kB"
  28. " -> Seq Scan on genero (cost=0.00..1.29 rows=29 width=222) (actual time=16.605..16.608 rows=29 loops=1)"
  29. " -> Hash (cost=28929.81..28929.81 rows=1462381 width=46) (actual time=2122.111..2122.111 rows=1462381 loops=1)"
  30. " Buckets: 65536 Batches: 64 Memory Usage: 2298kB"
  31. " -> Seq Scan on movies (cost=0.00..28929.81 rows=1462381 width=46) (actual time=9.222..1727.341 rows=1462381 loops=1)"
  32. "Planning time: 204.132 ms"
  33. "Execution time: 778794.119 ms"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement