[ { "Plan": { "Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Finalize", "Parallel Aware": false, "Startup Cost": 98291.94, "Total Cost": 98291.95, "Plan Rows": 1, "Plan Width": 96, "Actual Startup Time": 1508.241, "Actual Total Time": 1508.242, "Actual Rows": 1, "Actual Loops": 1, "Output": ["min((cn.name)::text)", "min((mc.note)::text)", "min((t.title)::text)"], "Shared Hit Blocks": 112840, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Plans": [ { "Node Type": "Gather", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 98291.71, "Total Cost": 98291.92, "Plan Rows": 2, "Plan Width": 96, "Actual Startup Time": 1450.951, "Actual Total Time": 1529.792, "Actual Rows": 3, "Actual Loops": 1, "Output": ["(PARTIAL min((cn.name)::text))", "(PARTIAL min((mc.note)::text))", "(PARTIAL min((t.title)::text))"], "Workers Planned": 2, "Workers Launched": 2, "Single Copy": false, "Shared Hit Blocks": 112840, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Plans": [ { "Node Type": "Aggregate", "Strategy": "Plain", "Partial Mode": "Partial", "Parent Relationship": "Outer", "Parallel Aware": false, "Startup Cost": 97291.71, "Total Cost": 97291.72, "Plan Rows": 1, "Plan Width": 96, "Actual Startup Time": 1460.573, "Actual Total Time": 1460.574, "Actual Rows": 1, "Actual Loops": 3, "Output": ["PARTIAL min((cn.name)::text)", "PARTIAL min((mc.note)::text)", "PARTIAL min((t.title)::text)"], "Shared Hit Blocks": 112840, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 1491.651, "Actual Total Time": 1491.652, "Actual Rows": 1, "Actual Loops": 1, "Shared Hit Blocks": 48366, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 1439.691, "Actual Total Time": 1439.691, "Actual Rows": 1, "Actual Loops": 1, "Shared Hit Blocks": 33043, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 93646.05, "Total Cost": 97243.87, "Plan Rows": 6379, "Plan Width": 49, "Actual Startup Time": 1404.956, "Actual Total Time": 1458.471, "Actual Rows": 5103, "Actual Loops": 3, "Output": ["cn.name", "mc.note", "t.title"], "Inner Unique": true, "Shared Hit Blocks": 112840, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 1401.646, "Actual Total Time": 1488.133, "Actual Rows": 8178, "Actual Loops": 1, "Shared Hit Blocks": 48366, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 1401.662, "Actual Total Time": 1437.934, "Actual Rows": 4091, "Actual Loops": 1, "Shared Hit Blocks": 33043, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 93645.63, "Total Cost": 94397.47, "Plan Rows": 6388, "Plan Width": 34, "Actual Startup Time": 1404.914, "Actual Total Time": 1427.147, "Actual Rows": 5110, "Actual Loops": 3, "Output": ["mc.note", "mc.company_id", "t.title"], "Inner Unique": false, "Hash Cond": "(ml.movie_id = mc.movie_id)", "Shared Hit Blocks": 51514, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 1401.592, "Actual Total Time": 1443.804, "Actual Rows": 8178, "Actual Loops": 1, "Shared Hit Blocks": 15653, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 1401.621, "Actual Total Time": 1409.655, "Actual Rows": 4097, "Actual Loops": 1, "Shared Hit Blocks": 16654, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Nested Loop", "Parent Relationship": "Outer", "Parallel Aware": false, "Join Type": "Inner", "Startup Cost": 50218.17, "Total Cost": 50961.53, "Plan Rows": 608, "Plan Width": 29, "Actual Startup Time": 533.590, "Actual Total Time": 541.382, "Actual Rows": 487, "Actual Loops": 3, "Output": ["mk.movie_id", "ml.movie_id", "t.title", "t.id"], "Inner Unique": true, "Join Filter": "(ml.movie_id = t.id)", "Rows Removed by Join Filter": 0, "Shared Hit Blocks": 31409, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 533.924, "Actual Total Time": 535.795, "Actual Rows": 141, "Actual Loops": 1, "Shared Hit Blocks": 9030, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 533.368, "Actual Total Time": 539.845, "Actual Rows": 384, "Actual Loops": 1, "Shared Hit Blocks": 10110, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 50217.74, "Total Cost": 50657.25, "Plan Rows": 608, "Plan Width": 8, "Actual Startup Time": 533.518, "Actual Total Time": 538.093, "Actual Rows": 487, "Actual Loops": 3, "Output": ["mk.movie_id", "ml.movie_id"], "Inner Unique": true, "Hash Cond": "(ml.link_type_id = lt.id)", "Shared Hit Blocks": 25567, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 533.839, "Actual Total Time": 534.905, "Actual Rows": 141, "Actual Loops": 1, "Shared Hit Blocks": 8465, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 533.304, "Actual Total Time": 537.019, "Actual Rows": 384, "Actual Loops": 1, "Shared Hit Blocks": 8573, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 50216.50, "Total Cost": 50654.03, "Plan Rows": 608, "Plan Width": 12, "Actual Startup Time": 533.428, "Actual Total Time": 537.727, "Actual Rows": 487, "Actual Loops": 3, "Output": ["mk.movie_id", "ml.link_type_id", "ml.movie_id"], "Inner Unique": false, "Hash Cond": "(ml.movie_id = mk.movie_id)", "Shared Hit Blocks": 25566, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 533.747, "Actual Total Time": 534.696, "Actual Rows": 141, "Actual Loops": 1, "Shared Hit Blocks": 8465, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 533.223, "Actual Total Time": 536.724, "Actual Rows": 384, "Actual Loops": 1, "Shared Hit Blocks": 8573, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "movie_link", "Schema": "public", "Alias": "ml", "Startup Cost": 0.00, "Total Cost": 287.99, "Plan Rows": 12499, "Plan Width": 8, "Actual Startup Time": 0.011, "Actual Total Time": 1.115, "Actual Rows": 9999, "Actual Loops": 3, "Output": ["ml.id", "ml.movie_id", "ml.linked_movie_id", "ml.link_type_id"], "Shared Hit Blocks": 163, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.013, "Actual Total Time": 0.159, "Actual Rows": 1295, "Actual Loops": 1, "Shared Hit Blocks": 7, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.956, "Actual Rows": 8167, "Actual Loops": 1, "Shared Hit Blocks": 45, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] }, { "Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 49969.61, "Total Cost": 49969.61, "Plan Rows": 19751, "Plan Width": 4, "Actual Startup Time": 532.865, "Actual Total Time": 532.865, "Actual Rows": 15801, "Actual Loops": 3, "Output": ["mk.movie_id"], "Hash Buckets": 65536, "Original Hash Buckets": 65536, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 2432, "Shared Hit Blocks": 25403, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 533.124, "Actual Total Time": 533.124, "Actual Rows": 15746, "Actual Loops": 1, "Shared Hit Blocks": 8458, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 532.343, "Actual Total Time": 532.343, "Actual Rows": 15863, "Actual Loops": 1, "Shared Hit Blocks": 8528, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 1717.69, "Total Cost": 49969.61, "Plan Rows": 19751, "Plan Width": 4, "Actual Startup Time": 13.248, "Actual Total Time": 523.775, "Actual Rows": 15801, "Actual Loops": 3, "Output": ["mk.movie_id"], "Inner Unique": true, "Hash Cond": "(mk.keyword_id = k.id)", "Shared Hit Blocks": 25403, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 13.173, "Actual Total Time": 523.170, "Actual Rows": 15746, "Actual Loops": 1, "Shared Hit Blocks": 8458, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 13.357, "Actual Total Time": 525.025, "Actual Rows": 15863, "Actual Loops": 1, "Shared Hit Blocks": 8528, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "movie_keyword", "Schema": "public", "Alias": "mk", "Startup Cost": 0.00, "Total Cost": 43303.71, "Plan Rows": 1884971, "Plan Width": 8, "Actual Startup Time": 0.006, "Actual Total Time": 172.464, "Actual Rows": 1507977, "Actual Loops": 3, "Output": ["mk.id", "mk.movie_id", "mk.keyword_id"], "Shared Hit Blocks": 24454, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.006, "Actual Total Time": 171.346, "Actual Rows": 1505715, "Actual Loops": 1, "Shared Hit Blocks": 8139, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.008, "Actual Total Time": 173.140, "Actual Rows": 1518975, "Actual Loops": 1, "Shared Hit Blocks": 8211, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] }, { "Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 1717.68, "Total Cost": 1717.68, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 13.107, "Actual Total Time": 13.108, "Actual Rows": 1, "Actual Loops": 3, "Output": ["k.id"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 104, "Shared Hit Blocks": 949, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 13.112, "Actual Total Time": 13.112, "Actual Rows": 1, "Actual Loops": 1, "Shared Hit Blocks": 319, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 13.096, "Actual Total Time": 13.097, "Actual Rows": 1, "Actual Loops": 1, "Shared Hit Blocks": 317, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "keyword", "Schema": "public", "Alias": "k", "Startup Cost": 0.00, "Total Cost": 1717.68, "Plan Rows": 1, "Plan Width": 4, "Actual Startup Time": 0.647, "Actual Total Time": 13.054, "Actual Rows": 1, "Actual Loops": 3, "Output": ["k.id"], "Filter": "((k.keyword)::text = ANY ('{sequel,revenge,based-on-novel}'::text[]))", "Rows Removed by Filter": 44722, "Shared Hit Blocks": 949, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.799, "Actual Total Time": 13.032, "Actual Rows": 1, "Actual Loops": 1, "Shared Hit Blocks": 319, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.554, "Actual Total Time": 13.074, "Actual Rows": 1, "Actual Loops": 1, "Shared Hit Blocks": 317, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] } ] } ] } ] } ] }, { "Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 1.11, "Total Cost": 1.11, "Plan Rows": 11, "Plan Width": 4, "Actual Startup Time": 0.054, "Actual Total Time": 0.054, "Actual Rows": 6, "Actual Loops": 3, "Output": ["lt.id"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 40, "Shared Hit Blocks": 1, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.063, "Actual Total Time": 0.063, "Actual Rows": 0, "Actual Loops": 1, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.056, "Actual Total Time": 0.056, "Actual Rows": 0, "Actual Loops": 1, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "link_type", "Schema": "public", "Alias": "lt", "Startup Cost": 0.00, "Total Cost": 1.11, "Plan Rows": 11, "Plan Width": 4, "Actual Startup Time": 0.006, "Actual Total Time": 0.007, "Actual Rows": 6, "Actual Loops": 3, "Output": ["lt.id"], "Shared Hit Blocks": 1, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 0, "Actual Loops": 1, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.001, "Actual Total Time": 0.001, "Actual Rows": 0, "Actual Loops": 1, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] } ] } ] }, { "Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "title_pkey", "Relation Name": "title", "Schema": "public", "Alias": "t", "Startup Cost": 0.43, "Total Cost": 0.49, "Plan Rows": 1, "Plan Width": 21, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 1460, "Output": ["t.id", "t.title", "t.imdb_index", "t.kind_id", "t.production_year", "t.imdb_id", "t.phonetic_code", "t.episode_of_id", "t.season_nr", "t.episode_nr", "t.series_years", "t.md5sum"], "Index Cond": "(t.id = mk.movie_id)", "Rows Removed by Index Recheck": 0, "Filter": "(t.production_year > 1950)", "Rows Removed by Filter": 0, "Shared Hit Blocks": 5842, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 141, "Shared Hit Blocks": 565, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 384, "Shared Hit Blocks": 1537, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] } ] }, { "Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 36790.76, "Total Cost": 36790.76, "Plan Rows": 530936, "Plan Width": 21, "Actual Startup Time": 861.401, "Actual Total Time": 861.401, "Actual Rows": 424749, "Actual Loops": 3, "Output": ["mc.note", "mc.movie_id", "mc.company_id"], "Hash Buckets": 2097152, "Original Hash Buckets": 2097152, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 101056, "Shared Hit Blocks": 20042, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 867.404, "Actual Total Time": 867.404, "Actual Rows": 414490, "Actual Loops": 1, "Shared Hit Blocks": 6593, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 867.517, "Actual Total Time": 867.517, "Actual Rows": 405595, "Actual Loops": 1, "Shared Hit Blocks": 6514, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Hash Join", "Parent Relationship": "Outer", "Parallel Aware": true, "Join Type": "Inner", "Startup Cost": 1.05, "Total Cost": 36790.76, "Plan Rows": 530936, "Plan Width": 21, "Actual Startup Time": 0.109, "Actual Total Time": 634.096, "Actual Rows": 424749, "Actual Loops": 3, "Output": ["mc.note", "mc.movie_id", "mc.company_id"], "Inner Unique": true, "Hash Cond": "(mc.company_type_id = ct.id)", "Shared Hit Blocks": 20042, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.130, "Actual Total Time": 629.554, "Actual Rows": 414490, "Actual Loops": 1, "Shared Hit Blocks": 6593, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.131, "Actual Total Time": 629.768, "Actual Rows": 405595, "Actual Loops": 1, "Shared Hit Blocks": 6514, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "movie_companies", "Schema": "public", "Alias": "mc", "Startup Cost": 0.00, "Total Cost": 30912.37, "Plan Rows": 1087137, "Plan Width": 25, "Actual Startup Time": 0.048, "Actual Total Time": 237.353, "Actual Rows": 869710, "Actual Loops": 3, "Output": ["mc.id", "mc.movie_id", "mc.company_id", "mc.company_type_id", "mc.note"], "Filter": "(mc.note IS NOT NULL)", "Rows Removed by Filter": 0, "Shared Hit Blocks": 20041, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.070, "Actual Total Time": 233.370, "Actual Rows": 859591, "Actual Loops": 1, "Shared Hit Blocks": 6593, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.055, "Actual Total Time": 233.529, "Actual Rows": 850697, "Actual Loops": 1, "Shared Hit Blocks": 6514, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] }, { "Node Type": "Hash", "Parent Relationship": "Inner", "Parallel Aware": true, "Startup Cost": 1.03, "Total Cost": 1.03, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.007, "Actual Rows": 1, "Actual Loops": 3, "Output": ["ct.id"], "Hash Buckets": 1024, "Original Hash Buckets": 1024, "Hash Batches": 1, "Original Hash Batches": 1, "Peak Memory Usage": 40, "Shared Hit Blocks": 1, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 0, "Actual Loops": 1, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.002, "Actual Total Time": 0.002, "Actual Rows": 0, "Actual Loops": 1, "Shared Hit Blocks": 0, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ], "Plans": [ { "Node Type": "Seq Scan", "Parent Relationship": "Outer", "Parallel Aware": true, "Relation Name": "company_type", "Schema": "public", "Alias": "ct", "Startup Cost": 0.00, "Total Cost": 1.03, "Plan Rows": 2, "Plan Width": 4, "Actual Startup Time": 0.007, "Actual Total Time": 0.010, "Actual Rows": 3, "Actual Loops": 1, "Output": ["ct.id"], "Filter": "((ct.kind IS NOT NULL) AND ((ct.kind)::text <> 'production companies'::text))", "Rows Removed by Filter": 1, "Shared Hit Blocks": 1, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] } ] } ] } ] }, { "Node Type": "Index Scan", "Parent Relationship": "Inner", "Parallel Aware": false, "Scan Direction": "Forward", "Index Name": "company_name_pkey", "Relation Name": "company_name", "Schema": "public", "Alias": "cn", "Startup Cost": 0.42, "Total Cost": 0.45, "Plan Rows": 1, "Plan Width": 23, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 15331, "Output": ["cn.id", "cn.name", "cn.country_code", "cn.imdb_id", "cn.name_pcode_nf", "cn.name_pcode_sf", "cn.md5sum"], "Index Cond": "(cn.id = mc.company_id)", "Rows Removed by Index Recheck": 0, "Filter": "((cn.country_code)::text <> '[pl]'::text)", "Rows Removed by Filter": 0, "Shared Hit Blocks": 61326, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0, "Workers": [ { "Worker Number": 0, "Actual Startup Time": 0.005, "Actual Total Time": 0.005, "Actual Rows": 1, "Actual Loops": 8178, "Shared Hit Blocks": 32713, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 }, { "Worker Number": 1, "Actual Startup Time": 0.006, "Actual Total Time": 0.006, "Actual Rows": 1, "Actual Loops": 4097, "Shared Hit Blocks": 16389, "Shared Read Blocks": 0, "Shared Dirtied Blocks": 0, "Shared Written Blocks": 0, "Local Hit Blocks": 0, "Local Read Blocks": 0, "Local Dirtied Blocks": 0, "Local Written Blocks": 0, "Temp Read Blocks": 0, "Temp Written Blocks": 0 } ] } ] } ] } ] } ] }, "Planning Time": 27.389, "Triggers": [ ], "Execution Time": 1530.141, "Using aqo": true, "AQO mode": "FROZEN", "Query hash": 2099284927, "JOINS": 7 } ]