RyanMarcus

Untitled

May 18th, 2019
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. Aggregate (cost=12424.43..12424.44 rows=1 width=32)
  2. -> Nested Loop (cost=9.06..12424.43 rows=1 width=17)
  3. -> Nested Loop (cost=8.63..12423.97 rows=1 width=21)
  4. -> Nested Loop (cost=8.20..12418.45 rows=12 width=25)
  5. Join Filter: (t.id = ci.movie_id)
  6. -> Nested Loop (cost=7.64..12412.40 rows=3 width=29)
  7. Join Filter: (t.kind_id = kt.id)
  8. -> Seq Scan on kind_type kt (cost=0.00..1.09 rows=1 width=4)
  9. Filter: ((kind)::text = 'movie'::text)
  10. -> Nested Loop (cost=7.64..12411.05 rows=21 width=33)
  11. -> Nested Loop (cost=7.21..12399.83 rows=23 width=8)
  12. Join Filter: (cc.status_id = cct2.id)
  13. -> Seq Scan on comp_cast_type cct2 (cost=0.00..1.05 rows=1 width=4)
  14. Filter: ((kind)::text ~~ '%complete%'::text)
  15. -> Nested Loop (cost=7.21..12397.63 rows=92 width=12)
  16. Join Filter: (cc.subject_id = cct1.id)
  17. -> Seq Scan on comp_cast_type cct1 (cost=0.00..1.05 rows=1 width=4)
  18. Filter: ((kind)::text = 'cast'::text)
  19. -> Nested Loop (cost=7.21..12392.00 rows=366 width=16)
  20. -> Nested Loop (cost=6.79..12263.49 rows=270 width=4)
  21. -> Seq Scan on keyword k (cost=0.00..3632.40 rows=8 width=4)
  22. Filter: ((keyword)::text = ANY ('{superhero,sequel,second-part,marvel-comics,based-on-comic,tv-special,fight,violence}'::text[]))
  23. -> Bitmap Heap Scan on movie_keyword mk (cost=6.79..1075.85 rows=304 width=8)
  24. Recheck Cond: (keyword_id = k.id)
  25. -> Bitmap Index Scan on keyword_id_movie_keyword (cost=0.00..6.71 rows=304 width=0)
  26. Index Cond: (keyword_id = k.id)
  27. -> Index Scan using movie_id_complete_cast on complete_cast cc (cost=0.42..0.46 rows=2 width=12)
  28. Index Cond: (movie_id = mk.movie_id)
  29. -> Index Scan using title_pkey on title t (cost=0.43..0.49 rows=1 width=25)
  30. Index Cond: (id = mk.movie_id)
  31. Filter: (production_year > 1950)
  32. -> Index Scan using movie_id_cast_info on cast_info ci (cost=0.56..1.54 rows=38 width=12)
  33. Index Cond: (movie_id = mk.movie_id)
  34. -> Index Scan using char_name_pkey on char_name chn (cost=0.43..0.46 rows=1 width=4)
  35. Index Cond: (id = ci.person_role_id)
  36. Filter: (((name)::text !~~ '%Sherlock%'::text) AND (((name)::text ~~ '%Tony%Stark%'::text) OR ((name)::text ~~ '%Iron%Man%'::text)))
  37. -> Index Only Scan using name_pkey on name n (cost=0.43..0.45 rows=1 width=4)
  38. Index Cond: (id = ci.person_id)
Advertisement
Add Comment
Please, Sign In to add comment