firtst release
Revision | 3fb05c9aad1a66fa3bf07edc301e0fb6f0328af6 (tree) |
---|---|
Time | 2018-12-05 17:31:27 |
Author | Kyotaro Horiguchi <horiguchi.kyotaro@lab....> |
Commiter | Kyotaro Horiguchi |
Adjust regression test
Some regression test items need adjustment due to change of server
behavior. The way the regression test ignores unstable portions of
EXPLAIN output is changed along with that.
@@ -159,8 +159,9 @@ SELECT name, setting, category | ||
159 | 159 | OR name = 'client_min_messages' |
160 | 160 | ORDER BY category, name; |
161 | 161 | SELECT * FROM settings; |
162 | - name | setting | category | |
163 | ---------------------------------+-----------+--------------------------------------------- | |
162 | + name | setting | category | |
163 | +--------------------------------+-----------+------------------------------------------------- | |
164 | + client_min_messages | notice | Client Connection Defaults / Statement Behavior | |
164 | 165 | geqo | on | Query Tuning / Genetic Query Optimizer |
165 | 166 | geqo_effort | 5 | Query Tuning / Genetic Query Optimizer |
166 | 167 | geqo_generations | 0 | Query Tuning / Genetic Query Optimizer |
@@ -173,8 +174,9 @@ SELECT * FROM settings; | ||
173 | 174 | default_statistics_target | 100 | Query Tuning / Other Planner Options |
174 | 175 | force_parallel_mode | off | Query Tuning / Other Planner Options |
175 | 176 | from_collapse_limit | 8 | Query Tuning / Other Planner Options |
176 | - jit | off | Query Tuning / Other Planner Options | |
177 | + jit | on | Query Tuning / Other Planner Options | |
177 | 178 | join_collapse_limit | 8 | Query Tuning / Other Planner Options |
179 | + plan_cache_mode | auto | Query Tuning / Other Planner Options | |
178 | 180 | cpu_index_tuple_cost | 0.005 | Query Tuning / Planner Cost Constants |
179 | 181 | cpu_operator_cost | 0.0025 | Query Tuning / Planner Cost Constants |
180 | 182 | cpu_tuple_cost | 0.01 | Query Tuning / Planner Cost Constants |
@@ -205,7 +207,6 @@ SELECT * FROM settings; | ||
205 | 207 | enable_seqscan | on | Query Tuning / Planner Method Configuration |
206 | 208 | enable_sort | on | Query Tuning / Planner Method Configuration |
207 | 209 | enable_tidscan | on | Query Tuning / Planner Method Configuration |
208 | - client_min_messages | notice | Reporting and Logging / When to Log | |
209 | -(45 rows) | |
210 | +(46 rows) | |
210 | 211 | |
211 | 212 | ANALYZE; |
@@ -8748,11 +8748,10 @@ EXPLAIN SELECT * FROM t1 JOIN t2 ON (t1.id = t2.id); | ||
8748 | 8748 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8749 | 8749 | QUERY PLAN |
8750 | 8750 | ------------------------------------------------------------------------------ |
8751 | - Merge Join (cost=xxx rows=1000 width=xxx) | |
8751 | + Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
8752 | 8752 | Merge Cond: (t1.id = t2.id) |
8753 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8754 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8755 | -(4 rows) | |
8753 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8754 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8756 | 8755 | |
8757 | 8756 | \o results/pg_hint_plan.tmpout |
8758 | 8757 | /*+ Rows(t1 t2 #99) */ |
@@ -8768,11 +8767,10 @@ error hint: | ||
8768 | 8767 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8769 | 8768 | QUERY PLAN |
8770 | 8769 | ------------------------------------------------------------------------------ |
8771 | - Merge Join (cost=xxx rows=99 width=xxx) | |
8770 | + Merge Join (cost=xxx..xxx rows=99 width=xxx) | |
8772 | 8771 | Merge Cond: (t1.id = t2.id) |
8773 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8774 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8775 | -(4 rows) | |
8772 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8773 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8776 | 8774 | |
8777 | 8775 | \o results/pg_hint_plan.tmpout |
8778 | 8776 | /*+ Rows(t1 t2 +99) */ |
@@ -8788,11 +8786,10 @@ error hint: | ||
8788 | 8786 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8789 | 8787 | QUERY PLAN |
8790 | 8788 | ------------------------------------------------------------------------------ |
8791 | - Merge Join (cost=xxx rows=1099 width=xxx) | |
8789 | + Merge Join (cost=xxx..xxx rows=1099 width=xxx) | |
8792 | 8790 | Merge Cond: (t1.id = t2.id) |
8793 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8794 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8795 | -(4 rows) | |
8791 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8792 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8796 | 8793 | |
8797 | 8794 | \o results/pg_hint_plan.tmpout |
8798 | 8795 | /*+ Rows(t1 t2 -99) */ |
@@ -8808,11 +8805,10 @@ error hint: | ||
8808 | 8805 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8809 | 8806 | QUERY PLAN |
8810 | 8807 | ------------------------------------------------------------------------------ |
8811 | - Merge Join (cost=xxx rows=901 width=xxx) | |
8808 | + Merge Join (cost=xxx..xxx rows=901 width=xxx) | |
8812 | 8809 | Merge Cond: (t1.id = t2.id) |
8813 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8814 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8815 | -(4 rows) | |
8810 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8811 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8816 | 8812 | |
8817 | 8813 | \o results/pg_hint_plan.tmpout |
8818 | 8814 | /*+ Rows(t1 t2 *99) */ |
@@ -8828,11 +8824,10 @@ error hint: | ||
8828 | 8824 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8829 | 8825 | QUERY PLAN |
8830 | 8826 | ------------------------------------------------------------------------------ |
8831 | - Merge Join (cost=xxx rows=99000 width=xxx) | |
8827 | + Merge Join (cost=xxx..xxx rows=99000 width=xxx) | |
8832 | 8828 | Merge Cond: (t1.id = t2.id) |
8833 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8834 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8835 | -(4 rows) | |
8829 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8830 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8836 | 8831 | |
8837 | 8832 | \o results/pg_hint_plan.tmpout |
8838 | 8833 | /*+ Rows(t1 t2 *0.01) */ |
@@ -8848,11 +8843,10 @@ error hint: | ||
8848 | 8843 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8849 | 8844 | QUERY PLAN |
8850 | 8845 | ------------------------------------------------------------------------------ |
8851 | - Merge Join (cost=xxx rows=10 width=xxx) | |
8846 | + Merge Join (cost=xxx..xxx rows=10 width=xxx) | |
8852 | 8847 | Merge Cond: (t1.id = t2.id) |
8853 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8854 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8855 | -(4 rows) | |
8848 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8849 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8856 | 8850 | |
8857 | 8851 | \o results/pg_hint_plan.tmpout |
8858 | 8852 | /*+ Rows(t1 t2 #aa) */ |
@@ -8870,11 +8864,10 @@ Rows(t1 t2 #aa) | ||
8870 | 8864 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8871 | 8865 | QUERY PLAN |
8872 | 8866 | ------------------------------------------------------------------------------ |
8873 | - Merge Join (cost=xxx rows=1000 width=xxx) | |
8867 | + Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
8874 | 8868 | Merge Cond: (t1.id = t2.id) |
8875 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8876 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8877 | -(4 rows) | |
8869 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8870 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8878 | 8871 | |
8879 | 8872 | \o results/pg_hint_plan.tmpout |
8880 | 8873 | /*+ Rows(t1 t2 /99) */ |
@@ -8892,11 +8885,10 @@ Rows(t1 t2 /99) | ||
8892 | 8885 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8893 | 8886 | QUERY PLAN |
8894 | 8887 | ------------------------------------------------------------------------------ |
8895 | - Merge Join (cost=xxx rows=1000 width=xxx) | |
8888 | + Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
8896 | 8889 | Merge Cond: (t1.id = t2.id) |
8897 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8898 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8899 | -(4 rows) | |
8890 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8891 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8900 | 8892 | |
8901 | 8893 | -- round up to 1 |
8902 | 8894 | \o results/pg_hint_plan.tmpout |
@@ -8914,11 +8906,10 @@ error hint: | ||
8914 | 8906 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8915 | 8907 | QUERY PLAN |
8916 | 8908 | ------------------------------------------------------------------------------ |
8917 | - Merge Join (cost=xxx rows=1 width=xxx) | |
8909 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
8918 | 8910 | Merge Cond: (t1.id = t2.id) |
8919 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8920 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8921 | -(4 rows) | |
8911 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8912 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8922 | 8913 | |
8923 | 8914 | -- complex join tree |
8924 | 8915 | \o results/pg_hint_plan.tmpout |
@@ -8927,16 +8918,15 @@ EXPLAIN SELECT * FROM t1 JOIN t2 ON (t1.id = t2.id) JOIN t3 ON (t3.id = t2.id); | ||
8927 | 8918 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8928 | 8919 | QUERY PLAN |
8929 | 8920 | ------------------------------------------------------------------------------------ |
8930 | - Merge Join (cost=xxx rows=10 width=xxx) | |
8921 | + Merge Join (cost=xxx..xxx rows=10 width=xxx) | |
8931 | 8922 | Merge Cond: (t1.id = t3.id) |
8932 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
8923 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
8933 | 8924 | Merge Cond: (t1.id = t2.id) |
8934 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8935 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8936 | - -> Sort (cost=xxx rows=100 width=xxx) | |
8925 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8926 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8927 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
8937 | 8928 | Sort Key: t3.id |
8938 | - -> Seq Scan on t3 (cost=xxx rows=100 width=xxx) | |
8939 | -(9 rows) | |
8929 | + -> Seq Scan on t3 (cost=xxx..xxx rows=100 width=xxx) | |
8940 | 8930 | |
8941 | 8931 | \o results/pg_hint_plan.tmpout |
8942 | 8932 | /*+ Rows(t1 t2 #22) */ |
@@ -8952,16 +8942,15 @@ error hint: | ||
8952 | 8942 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8953 | 8943 | QUERY PLAN |
8954 | 8944 | ------------------------------------------------------------------------------------ |
8955 | - Merge Join (cost=xxx rows=1 width=xxx) | |
8945 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
8956 | 8946 | Merge Cond: (t1.id = t3.id) |
8957 | - -> Merge Join (cost=xxx rows=22 width=xxx) | |
8947 | + -> Merge Join (cost=xxx..xxx rows=22 width=xxx) | |
8958 | 8948 | Merge Cond: (t1.id = t2.id) |
8959 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8960 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8961 | - -> Sort (cost=xxx rows=100 width=xxx) | |
8949 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8950 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8951 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
8962 | 8952 | Sort Key: t3.id |
8963 | - -> Seq Scan on t3 (cost=xxx rows=100 width=xxx) | |
8964 | -(9 rows) | |
8953 | + -> Seq Scan on t3 (cost=xxx..xxx rows=100 width=xxx) | |
8965 | 8954 | |
8966 | 8955 | \o results/pg_hint_plan.tmpout |
8967 | 8956 | /*+ Rows(t1 t3 *10) */ |
@@ -8978,16 +8967,15 @@ set max_parallel_workers_per_gather to DEFAULT; | ||
8978 | 8967 | \! sql/maskout.sh results/pg_hint_plan.tmpout |
8979 | 8968 | QUERY PLAN |
8980 | 8969 | ------------------------------------------------------------------------------------ |
8981 | - Merge Join (cost=xxx rows=100 width=xxx) | |
8970 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
8982 | 8971 | Merge Cond: (t1.id = t3.id) |
8983 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
8972 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
8984 | 8973 | Merge Cond: (t1.id = t2.id) |
8985 | - -> Index Scan using t1_pkey on t1 (cost=xxx rows=10000 width=xxx) | |
8986 | - -> Index Scan using t2_pkey on t2 (cost=xxx rows=1000 width=xxx) | |
8987 | - -> Sort (cost=xxx rows=100 width=xxx) | |
8974 | + -> Index Scan using t1_pkey on t1 (cost=xxx..xxx rows=10000 width=xxx) | |
8975 | + -> Index Scan using t2_pkey on t2 (cost=xxx..xxx rows=1000 width=xxx) | |
8976 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
8988 | 8977 | Sort Key: t3.id |
8989 | - -> Seq Scan on t3 (cost=xxx rows=100 width=xxx) | |
8990 | -(9 rows) | |
8978 | + -> Seq Scan on t3 (cost=xxx..xxx rows=100 width=xxx) | |
8991 | 8979 | |
8992 | 8980 | \! rm results/pg_hint_plan.tmpout |
8993 | 8981 | -- hint error level |
@@ -2014,8 +2014,10 @@ SHOW pg_hint_plan.parse_messages; | ||
2014 | 2014 | /*+Set*/SELECT 1; |
2015 | 2015 | ERROR: pg_hint_plan: hint syntax error at or near "" |
2016 | 2016 | DETAIL: Opening parenthesis is necessary. |
2017 | -SET client_min_messages TO fatal; | |
2017 | +SET client_min_messages TO error; | |
2018 | 2018 | /*+Set*/SELECT 1; |
2019 | +ERROR: pg_hint_plan: hint syntax error at or near "" | |
2020 | +DETAIL: Opening parenthesis is necessary. | |
2019 | 2021 | -- No. A-8-4-11 |
2020 | 2022 | RESET client_min_messages; |
2021 | 2023 | SET pg_hint_plan.parse_messages TO DEFAULT; |
@@ -3226,6 +3228,7 @@ NestLoop(t1 t1) | ||
3226 | 3228 | SELECT name, setting FROM settings; |
3227 | 3229 | name | setting |
3228 | 3230 | --------------------------------+----------- |
3231 | + client_min_messages | log | |
3229 | 3232 | geqo | on |
3230 | 3233 | geqo_effort | 5 |
3231 | 3234 | geqo_generations | 0 |
@@ -3238,8 +3241,9 @@ SELECT name, setting FROM settings; | ||
3238 | 3241 | default_statistics_target | 100 |
3239 | 3242 | force_parallel_mode | off |
3240 | 3243 | from_collapse_limit | 8 |
3241 | - jit | off | |
3244 | + jit | on | |
3242 | 3245 | join_collapse_limit | 8 |
3246 | + plan_cache_mode | auto | |
3243 | 3247 | cpu_index_tuple_cost | 0.005 |
3244 | 3248 | cpu_operator_cost | 0.0025 |
3245 | 3249 | cpu_tuple_cost | 0.01 |
@@ -3270,8 +3274,7 @@ SELECT name, setting FROM settings; | ||
3270 | 3274 | enable_seqscan | on |
3271 | 3275 | enable_sort | on |
3272 | 3276 | enable_tidscan | on |
3273 | - client_min_messages | log | |
3274 | -(45 rows) | |
3277 | +(46 rows) | |
3275 | 3278 | |
3276 | 3279 | SET pg_hint_plan.parse_messages TO error; |
3277 | 3280 | /*+Set(enable_seqscan off)Set(geqo_threshold 100)SeqScan(t1)MergeJoin(t1 t2)NestLoop(t1 t1)*/ |
@@ -3281,6 +3284,7 @@ DETAIL: Relation name "t1" is duplicated. | ||
3281 | 3284 | SELECT name, setting FROM settings; |
3282 | 3285 | name | setting |
3283 | 3286 | --------------------------------+----------- |
3287 | + client_min_messages | log | |
3284 | 3288 | geqo | on |
3285 | 3289 | geqo_effort | 5 |
3286 | 3290 | geqo_generations | 0 |
@@ -3293,8 +3297,9 @@ SELECT name, setting FROM settings; | ||
3293 | 3297 | default_statistics_target | 100 |
3294 | 3298 | force_parallel_mode | off |
3295 | 3299 | from_collapse_limit | 8 |
3296 | - jit | off | |
3300 | + jit | on | |
3297 | 3301 | join_collapse_limit | 8 |
3302 | + plan_cache_mode | auto | |
3298 | 3303 | cpu_index_tuple_cost | 0.005 |
3299 | 3304 | cpu_operator_cost | 0.0025 |
3300 | 3305 | cpu_tuple_cost | 0.01 |
@@ -3325,8 +3330,7 @@ SELECT name, setting FROM settings; | ||
3325 | 3330 | enable_seqscan | on |
3326 | 3331 | enable_sort | on |
3327 | 3332 | enable_tidscan | on |
3328 | - client_min_messages | log | |
3329 | -(45 rows) | |
3333 | +(46 rows) | |
3330 | 3334 | |
3331 | 3335 | /*+Set(enable_seqscan off)Set(geqo_threshold 100)SeqScan(t1)MergeJoin(t1 t2)*/ |
3332 | 3336 | EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; |
@@ -3355,6 +3359,7 @@ error hint: | ||
3355 | 3359 | SELECT name, setting FROM settings; |
3356 | 3360 | name | setting |
3357 | 3361 | --------------------------------+----------- |
3362 | + client_min_messages | log | |
3358 | 3363 | geqo | on |
3359 | 3364 | geqo_effort | 5 |
3360 | 3365 | geqo_generations | 0 |
@@ -3367,8 +3372,9 @@ SELECT name, setting FROM settings; | ||
3367 | 3372 | default_statistics_target | 100 |
3368 | 3373 | force_parallel_mode | off |
3369 | 3374 | from_collapse_limit | 8 |
3370 | - jit | off | |
3375 | + jit | on | |
3371 | 3376 | join_collapse_limit | 8 |
3377 | + plan_cache_mode | auto | |
3372 | 3378 | cpu_index_tuple_cost | 0.005 |
3373 | 3379 | cpu_operator_cost | 0.0025 |
3374 | 3380 | cpu_tuple_cost | 0.01 |
@@ -3399,8 +3405,7 @@ SELECT name, setting FROM settings; | ||
3399 | 3405 | enable_seqscan | on |
3400 | 3406 | enable_sort | on |
3401 | 3407 | enable_tidscan | on |
3402 | - client_min_messages | log | |
3403 | -(45 rows) | |
3408 | +(46 rows) | |
3404 | 3409 | |
3405 | 3410 | SET pg_hint_plan.parse_messages TO error; |
3406 | 3411 | /*+Set(enable_seqscan off)Set(geqo_threshold 100)SeqScan(t1)MergeJoin(t1 t2)NestLoop(t1 t1)*/ |
@@ -3410,6 +3415,7 @@ DETAIL: Relation name "t1" is duplicated. | ||
3410 | 3415 | SELECT name, setting FROM settings; |
3411 | 3416 | name | setting |
3412 | 3417 | --------------------------------+----------- |
3418 | + client_min_messages | log | |
3413 | 3419 | geqo | on |
3414 | 3420 | geqo_effort | 5 |
3415 | 3421 | geqo_generations | 0 |
@@ -3422,8 +3428,9 @@ SELECT name, setting FROM settings; | ||
3422 | 3428 | default_statistics_target | 100 |
3423 | 3429 | force_parallel_mode | off |
3424 | 3430 | from_collapse_limit | 8 |
3425 | - jit | off | |
3431 | + jit | on | |
3426 | 3432 | join_collapse_limit | 8 |
3433 | + plan_cache_mode | auto | |
3427 | 3434 | cpu_index_tuple_cost | 0.005 |
3428 | 3435 | cpu_operator_cost | 0.0025 |
3429 | 3436 | cpu_tuple_cost | 0.01 |
@@ -3454,8 +3461,7 @@ SELECT name, setting FROM settings; | ||
3454 | 3461 | enable_seqscan | on |
3455 | 3462 | enable_sort | on |
3456 | 3463 | enable_tidscan | on |
3457 | - client_min_messages | log | |
3458 | -(45 rows) | |
3464 | +(46 rows) | |
3459 | 3465 | |
3460 | 3466 | EXPLAIN (COSTS false) EXECUTE p1; |
3461 | 3467 | QUERY PLAN |
@@ -3473,6 +3479,7 @@ EXPLAIN (COSTS false) EXECUTE p1; | ||
3473 | 3479 | SELECT name, setting FROM settings; |
3474 | 3480 | name | setting |
3475 | 3481 | --------------------------------+----------- |
3482 | + client_min_messages | log | |
3476 | 3483 | geqo | on |
3477 | 3484 | geqo_effort | 5 |
3478 | 3485 | geqo_generations | 0 |
@@ -3485,8 +3492,9 @@ SELECT name, setting FROM settings; | ||
3485 | 3492 | default_statistics_target | 100 |
3486 | 3493 | force_parallel_mode | off |
3487 | 3494 | from_collapse_limit | 8 |
3488 | - jit | off | |
3495 | + jit | on | |
3489 | 3496 | join_collapse_limit | 8 |
3497 | + plan_cache_mode | auto | |
3490 | 3498 | cpu_index_tuple_cost | 0.005 |
3491 | 3499 | cpu_operator_cost | 0.0025 |
3492 | 3500 | cpu_tuple_cost | 0.01 |
@@ -3517,8 +3525,7 @@ SELECT name, setting FROM settings; | ||
3517 | 3525 | enable_seqscan | on |
3518 | 3526 | enable_sort | on |
3519 | 3527 | enable_tidscan | on |
3520 | - client_min_messages | log | |
3521 | -(45 rows) | |
3528 | +(46 rows) | |
3522 | 3529 | |
3523 | 3530 | SET pg_hint_plan.parse_messages TO error; |
3524 | 3531 | EXPLAIN (COSTS false) EXECUTE p2; |
@@ -3559,6 +3566,7 @@ EXPLAIN (COSTS false) EXECUTE p1; | ||
3559 | 3566 | SELECT name, setting FROM settings; |
3560 | 3567 | name | setting |
3561 | 3568 | --------------------------------+----------- |
3569 | + client_min_messages | log | |
3562 | 3570 | geqo | on |
3563 | 3571 | geqo_effort | 5 |
3564 | 3572 | geqo_generations | 0 |
@@ -3571,8 +3579,9 @@ SELECT name, setting FROM settings; | ||
3571 | 3579 | default_statistics_target | 100 |
3572 | 3580 | force_parallel_mode | off |
3573 | 3581 | from_collapse_limit | 8 |
3574 | - jit | off | |
3582 | + jit | on | |
3575 | 3583 | join_collapse_limit | 8 |
3584 | + plan_cache_mode | auto | |
3576 | 3585 | cpu_index_tuple_cost | 0.005 |
3577 | 3586 | cpu_operator_cost | 0.0025 |
3578 | 3587 | cpu_tuple_cost | 0.01 |
@@ -3603,14 +3612,14 @@ SELECT name, setting FROM settings; | ||
3603 | 3612 | enable_seqscan | on |
3604 | 3613 | enable_sort | on |
3605 | 3614 | enable_tidscan | on |
3606 | - client_min_messages | log | |
3607 | -(45 rows) | |
3615 | +(46 rows) | |
3608 | 3616 | |
3609 | 3617 | -- No. A-12-1-4 |
3610 | 3618 | -- No. A-12-2-4 |
3611 | 3619 | SELECT name, setting FROM settings; |
3612 | 3620 | name | setting |
3613 | 3621 | --------------------------------+----------- |
3622 | + client_min_messages | log | |
3614 | 3623 | geqo | on |
3615 | 3624 | geqo_effort | 5 |
3616 | 3625 | geqo_generations | 0 |
@@ -3623,8 +3632,9 @@ SELECT name, setting FROM settings; | ||
3623 | 3632 | default_statistics_target | 100 |
3624 | 3633 | force_parallel_mode | off |
3625 | 3634 | from_collapse_limit | 8 |
3626 | - jit | off | |
3635 | + jit | on | |
3627 | 3636 | join_collapse_limit | 8 |
3637 | + plan_cache_mode | auto | |
3628 | 3638 | cpu_index_tuple_cost | 0.005 |
3629 | 3639 | cpu_operator_cost | 0.0025 |
3630 | 3640 | cpu_tuple_cost | 0.01 |
@@ -3655,8 +3665,7 @@ SELECT name, setting FROM settings; | ||
3655 | 3665 | enable_seqscan | on |
3656 | 3666 | enable_sort | on |
3657 | 3667 | enable_tidscan | on |
3658 | - client_min_messages | log | |
3659 | -(45 rows) | |
3668 | +(46 rows) | |
3660 | 3669 | |
3661 | 3670 | SET pg_hint_plan.parse_messages TO error; |
3662 | 3671 | EXPLAIN (COSTS false) EXECUTE p2; |
@@ -3675,6 +3684,7 @@ EXPLAIN (COSTS false) EXECUTE p1; | ||
3675 | 3684 | SELECT name, setting FROM settings; |
3676 | 3685 | name | setting |
3677 | 3686 | --------------------------------+----------- |
3687 | + client_min_messages | log | |
3678 | 3688 | geqo | on |
3679 | 3689 | geqo_effort | 5 |
3680 | 3690 | geqo_generations | 0 |
@@ -3687,8 +3697,9 @@ SELECT name, setting FROM settings; | ||
3687 | 3697 | default_statistics_target | 100 |
3688 | 3698 | force_parallel_mode | off |
3689 | 3699 | from_collapse_limit | 8 |
3690 | - jit | off | |
3700 | + jit | on | |
3691 | 3701 | join_collapse_limit | 8 |
3702 | + plan_cache_mode | auto | |
3692 | 3703 | cpu_index_tuple_cost | 0.005 |
3693 | 3704 | cpu_operator_cost | 0.0025 |
3694 | 3705 | cpu_tuple_cost | 0.01 |
@@ -3719,8 +3730,7 @@ SELECT name, setting FROM settings; | ||
3719 | 3730 | enable_seqscan | on |
3720 | 3731 | enable_sort | on |
3721 | 3732 | enable_tidscan | on |
3722 | - client_min_messages | log | |
3723 | -(45 rows) | |
3733 | +(46 rows) | |
3724 | 3734 | |
3725 | 3735 | DEALLOCATE p1; |
3726 | 3736 | SET pg_hint_plan.parse_messages TO LOG; |
@@ -3754,6 +3764,7 @@ EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
3754 | 3764 | SELECT name, setting FROM settings; |
3755 | 3765 | name | setting |
3756 | 3766 | --------------------------------+----------- |
3767 | + client_min_messages | log | |
3757 | 3768 | geqo | on |
3758 | 3769 | geqo_effort | 5 |
3759 | 3770 | geqo_generations | 0 |
@@ -3766,8 +3777,9 @@ SELECT name, setting FROM settings; | ||
3766 | 3777 | default_statistics_target | 100 |
3767 | 3778 | force_parallel_mode | off |
3768 | 3779 | from_collapse_limit | 8 |
3769 | - jit | off | |
3780 | + jit | on | |
3770 | 3781 | join_collapse_limit | 8 |
3782 | + plan_cache_mode | auto | |
3771 | 3783 | cpu_index_tuple_cost | 0.005 |
3772 | 3784 | cpu_operator_cost | 0.0025 |
3773 | 3785 | cpu_tuple_cost | 0.01 |
@@ -3798,8 +3810,7 @@ SELECT name, setting FROM settings; | ||
3798 | 3810 | enable_seqscan | on |
3799 | 3811 | enable_sort | on |
3800 | 3812 | enable_tidscan | on |
3801 | - client_min_messages | log | |
3802 | -(45 rows) | |
3813 | +(46 rows) | |
3803 | 3814 | |
3804 | 3815 | /*+Set(enable_indexscan on)Set(geqo_threshold 100)IndexScan(t2)MergeJoin(t1 t2)Leading(t2 t1)*/ |
3805 | 3816 | EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; |
@@ -3825,6 +3836,7 @@ error hint: | ||
3825 | 3836 | SELECT name, setting FROM settings; |
3826 | 3837 | name | setting |
3827 | 3838 | --------------------------------+----------- |
3839 | + client_min_messages | log | |
3828 | 3840 | geqo | on |
3829 | 3841 | geqo_effort | 5 |
3830 | 3842 | geqo_generations | 0 |
@@ -3837,8 +3849,9 @@ SELECT name, setting FROM settings; | ||
3837 | 3849 | default_statistics_target | 100 |
3838 | 3850 | force_parallel_mode | off |
3839 | 3851 | from_collapse_limit | 8 |
3840 | - jit | off | |
3852 | + jit | on | |
3841 | 3853 | join_collapse_limit | 8 |
3854 | + plan_cache_mode | auto | |
3842 | 3855 | cpu_index_tuple_cost | 0.005 |
3843 | 3856 | cpu_operator_cost | 0.0025 |
3844 | 3857 | cpu_tuple_cost | 0.01 |
@@ -3869,8 +3882,7 @@ SELECT name, setting FROM settings; | ||
3869 | 3882 | enable_seqscan | on |
3870 | 3883 | enable_sort | on |
3871 | 3884 | enable_tidscan | on |
3872 | - client_min_messages | log | |
3873 | -(45 rows) | |
3885 | +(46 rows) | |
3874 | 3886 | |
3875 | 3887 | EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; |
3876 | 3888 | QUERY PLAN |
@@ -3898,6 +3910,7 @@ EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
3898 | 3910 | SELECT name, setting FROM settings; |
3899 | 3911 | name | setting |
3900 | 3912 | --------------------------------+----------- |
3913 | + client_min_messages | log | |
3901 | 3914 | geqo | on |
3902 | 3915 | geqo_effort | 5 |
3903 | 3916 | geqo_generations | 0 |
@@ -3910,8 +3923,9 @@ SELECT name, setting FROM settings; | ||
3910 | 3923 | default_statistics_target | 100 |
3911 | 3924 | force_parallel_mode | off |
3912 | 3925 | from_collapse_limit | 8 |
3913 | - jit | off | |
3926 | + jit | on | |
3914 | 3927 | join_collapse_limit | 8 |
3928 | + plan_cache_mode | auto | |
3915 | 3929 | cpu_index_tuple_cost | 0.005 |
3916 | 3930 | cpu_operator_cost | 0.0025 |
3917 | 3931 | cpu_tuple_cost | 0.01 |
@@ -3942,8 +3956,7 @@ SELECT name, setting FROM settings; | ||
3942 | 3956 | enable_seqscan | on |
3943 | 3957 | enable_sort | on |
3944 | 3958 | enable_tidscan | on |
3945 | - client_min_messages | log | |
3946 | -(45 rows) | |
3959 | +(46 rows) | |
3947 | 3960 | |
3948 | 3961 | BEGIN; |
3949 | 3962 | /*+Set(enable_indexscan on)Set(geqo_threshold 100)IndexScan(t2)MergeJoin(t1 t2)Leading(t2 t1)*/ |
@@ -3972,6 +3985,7 @@ BEGIN; | ||
3972 | 3985 | SELECT name, setting FROM settings; |
3973 | 3986 | name | setting |
3974 | 3987 | --------------------------------+----------- |
3988 | + client_min_messages | log | |
3975 | 3989 | geqo | on |
3976 | 3990 | geqo_effort | 5 |
3977 | 3991 | geqo_generations | 0 |
@@ -3984,8 +3998,9 @@ SELECT name, setting FROM settings; | ||
3984 | 3998 | default_statistics_target | 100 |
3985 | 3999 | force_parallel_mode | off |
3986 | 4000 | from_collapse_limit | 8 |
3987 | - jit | off | |
4001 | + jit | on | |
3988 | 4002 | join_collapse_limit | 8 |
4003 | + plan_cache_mode | auto | |
3989 | 4004 | cpu_index_tuple_cost | 0.005 |
3990 | 4005 | cpu_operator_cost | 0.0025 |
3991 | 4006 | cpu_tuple_cost | 0.01 |
@@ -4016,8 +4031,7 @@ SELECT name, setting FROM settings; | ||
4016 | 4031 | enable_seqscan | on |
4017 | 4032 | enable_sort | on |
4018 | 4033 | enable_tidscan | on |
4019 | - client_min_messages | log | |
4020 | -(45 rows) | |
4034 | +(46 rows) | |
4021 | 4035 | |
4022 | 4036 | EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; |
4023 | 4037 | QUERY PLAN |
@@ -4046,6 +4060,7 @@ EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
4046 | 4060 | SELECT name, setting FROM settings; |
4047 | 4061 | name | setting |
4048 | 4062 | --------------------------------+----------- |
4063 | + client_min_messages | log | |
4049 | 4064 | geqo | on |
4050 | 4065 | geqo_effort | 5 |
4051 | 4066 | geqo_generations | 0 |
@@ -4058,8 +4073,9 @@ SELECT name, setting FROM settings; | ||
4058 | 4073 | default_statistics_target | 100 |
4059 | 4074 | force_parallel_mode | off |
4060 | 4075 | from_collapse_limit | 8 |
4061 | - jit | off | |
4076 | + jit | on | |
4062 | 4077 | join_collapse_limit | 8 |
4078 | + plan_cache_mode | auto | |
4063 | 4079 | cpu_index_tuple_cost | 0.005 |
4064 | 4080 | cpu_operator_cost | 0.0025 |
4065 | 4081 | cpu_tuple_cost | 0.01 |
@@ -4090,8 +4106,7 @@ SELECT name, setting FROM settings; | ||
4090 | 4106 | enable_seqscan | on |
4091 | 4107 | enable_sort | on |
4092 | 4108 | enable_tidscan | on |
4093 | - client_min_messages | log | |
4094 | -(45 rows) | |
4109 | +(46 rows) | |
4095 | 4110 | |
4096 | 4111 | /*+Set(enable_indexscan on)Set(geqo_threshold 100)IndexScan(t2)MergeJoin(t1 t2)Leading(t2 t1)*/ |
4097 | 4112 | EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; |
@@ -4121,6 +4136,7 @@ LOAD 'pg_hint_plan'; | ||
4121 | 4136 | SELECT name, setting FROM settings; |
4122 | 4137 | name | setting |
4123 | 4138 | --------------------------------+----------- |
4139 | + client_min_messages | notice | |
4124 | 4140 | geqo | on |
4125 | 4141 | geqo_effort | 5 |
4126 | 4142 | geqo_generations | 0 |
@@ -4133,8 +4149,9 @@ SELECT name, setting FROM settings; | ||
4133 | 4149 | default_statistics_target | 100 |
4134 | 4150 | force_parallel_mode | off |
4135 | 4151 | from_collapse_limit | 8 |
4136 | - jit | off | |
4152 | + jit | on | |
4137 | 4153 | join_collapse_limit | 8 |
4154 | + plan_cache_mode | auto | |
4138 | 4155 | cpu_index_tuple_cost | 0.005 |
4139 | 4156 | cpu_operator_cost | 0.0025 |
4140 | 4157 | cpu_tuple_cost | 0.01 |
@@ -4165,8 +4182,7 @@ SELECT name, setting FROM settings; | ||
4165 | 4182 | enable_seqscan | on |
4166 | 4183 | enable_sort | on |
4167 | 4184 | enable_tidscan | on |
4168 | - client_min_messages | notice | |
4169 | -(45 rows) | |
4185 | +(46 rows) | |
4170 | 4186 | |
4171 | 4187 | EXPLAIN (COSTS false) SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; |
4172 | 4188 | QUERY PLAN |
@@ -797,18 +797,17 @@ error hint: | ||
797 | 797 | \! sql/maskout.sh results/ut-J.tmpout |
798 | 798 | QUERY PLAN |
799 | 799 | --------------------------------------------------------------------------------------------- |
800 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
800 | + Nested Loop (cost={inf}..{inf} rows=1 width=xxx) | |
801 | 801 | InitPlan 1 (returns $1) |
802 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
803 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
804 | - -> Seq Scan on t2 st2 (cost=xxx rows=100 width=xxx) | |
805 | - -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx rows=1 width=xxx) | |
802 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
803 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
804 | + -> Seq Scan on t2 st2 (cost=xxx..xxx rows=100 width=xxx) | |
805 | + -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx..xxx rows=1 width=xxx) | |
806 | 806 | Index Cond: (c1 = st2.c1) |
807 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
807 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
808 | 808 | Index Cond: (c1 = $1) |
809 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
809 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
810 | 810 | Filter: (c1 = $1) |
811 | -(11 rows) | |
812 | 811 | |
813 | 812 | -- |
814 | 813 | -- There are cases where difference in the measured value and predicted value |
@@ -4745,13 +4744,12 @@ error hint: | ||
4745 | 4744 | |
4746 | 4745 | \o |
4747 | 4746 | \! sql/maskout.sh results/ut-J.tmpout |
4748 | - QUERY PLAN | |
4749 | --------------------------------------------------------------------------- | |
4750 | - Hash Full Join (cost=xxx rows=1000 width=xxx) | |
4747 | + QUERY PLAN | |
4748 | +------------------------------------------------------------------------------- | |
4749 | + Hash Full Join (cost={inf}..{inf} rows=1000 width=xxx) | |
4751 | 4750 | Hash Cond: (t1.c1 = t2.c1) |
4752 | - -> Seq Scan on t1 (cost=xxx rows=1000 width=xxx) | |
4753 | - -> Hash (cost=xxx rows=100 width=xxx) | |
4754 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4755 | -(5 rows) | |
4751 | + -> Seq Scan on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4752 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
4753 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4756 | 4754 | |
4757 | 4755 | \! rm results/ut-J.tmpout |
@@ -9,13 +9,12 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
9 | 9 | \! sql/maskout.sh results/ut-R.tmpout |
10 | 10 | QUERY PLAN |
11 | 11 | --------------------------------------------------------------------------- |
12 | - Merge Join (cost=xxx rows=100 width=xxx) | |
12 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
13 | 13 | Merge Cond: (t1.c1 = t2.c1) |
14 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
15 | - -> Sort (cost=xxx rows=100 width=xxx) | |
14 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
15 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
16 | 16 | Sort Key: t2.c1 |
17 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
18 | -(6 rows) | |
17 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
19 | 18 | |
20 | 19 | ---- |
21 | 20 | ---- No. R-1-1 specified pattern of the object name |
@@ -35,13 +34,12 @@ error hint: | ||
35 | 34 | \! sql/maskout.sh results/ut-R.tmpout |
36 | 35 | QUERY PLAN |
37 | 36 | --------------------------------------------------------------------------- |
38 | - Merge Join (cost=xxx rows=1 width=xxx) | |
37 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
39 | 38 | Merge Cond: (t1.c1 = t2.c1) |
40 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
41 | - -> Sort (cost=xxx rows=100 width=xxx) | |
39 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
40 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
42 | 41 | Sort Key: t2.c1 |
43 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
44 | -(6 rows) | |
42 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
45 | 43 | |
46 | 44 | -- No. R-1-1-2 |
47 | 45 | \o results/ut-R.tmpout |
@@ -58,13 +56,12 @@ error hint: | ||
58 | 56 | \! sql/maskout.sh results/ut-R.tmpout |
59 | 57 | QUERY PLAN |
60 | 58 | ------------------------------------------------------------------------------- |
61 | - Merge Join (cost=xxx rows=100 width=xxx) | |
59 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
62 | 60 | Merge Cond: (t_1.c1 = t_2.c1) |
63 | - -> Index Scan using t1_i1 on t1 t_1 (cost=xxx rows=1000 width=xxx) | |
64 | - -> Sort (cost=xxx rows=100 width=xxx) | |
61 | + -> Index Scan using t1_i1 on t1 t_1 (cost=xxx..xxx rows=1000 width=xxx) | |
62 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
65 | 63 | Sort Key: t_2.c1 |
66 | - -> Seq Scan on t2 t_2 (cost=xxx rows=100 width=xxx) | |
67 | -(6 rows) | |
64 | + -> Seq Scan on t2 t_2 (cost=xxx..xxx rows=100 width=xxx) | |
68 | 65 | |
69 | 66 | -- No. R-1-1-3 |
70 | 67 | \o results/ut-R.tmpout |
@@ -81,13 +78,12 @@ error hint: | ||
81 | 78 | \! sql/maskout.sh results/ut-R.tmpout |
82 | 79 | QUERY PLAN |
83 | 80 | ------------------------------------------------------------------------------- |
84 | - Merge Join (cost=xxx rows=1 width=xxx) | |
81 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
85 | 82 | Merge Cond: (t_1.c1 = t_2.c1) |
86 | - -> Index Scan using t1_i1 on t1 t_1 (cost=xxx rows=1000 width=xxx) | |
87 | - -> Sort (cost=xxx rows=100 width=xxx) | |
83 | + -> Index Scan using t1_i1 on t1 t_1 (cost=xxx..xxx rows=1000 width=xxx) | |
84 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
88 | 85 | Sort Key: t_2.c1 |
89 | - -> Seq Scan on t2 t_2 (cost=xxx rows=100 width=xxx) | |
90 | -(6 rows) | |
86 | + -> Seq Scan on t2 t_2 (cost=xxx..xxx rows=100 width=xxx) | |
91 | 87 | |
92 | 88 | ---- |
93 | 89 | ---- No. R-1-2 specified schema name in the hint option |
@@ -107,13 +103,12 @@ error hint: | ||
107 | 103 | \! sql/maskout.sh results/ut-R.tmpout |
108 | 104 | QUERY PLAN |
109 | 105 | --------------------------------------------------------------------------- |
110 | - Merge Join (cost=xxx rows=1 width=xxx) | |
106 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
111 | 107 | Merge Cond: (t1.c1 = t2.c1) |
112 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
113 | - -> Sort (cost=xxx rows=100 width=xxx) | |
108 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
109 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
114 | 110 | Sort Key: t2.c1 |
115 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
116 | -(6 rows) | |
111 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
117 | 112 | |
118 | 113 | -- No. R-1-2-2 |
119 | 114 | \o results/ut-R.tmpout |
@@ -130,13 +125,12 @@ error hint: | ||
130 | 125 | \! sql/maskout.sh results/ut-R.tmpout |
131 | 126 | QUERY PLAN |
132 | 127 | --------------------------------------------------------------------------- |
133 | - Merge Join (cost=xxx rows=100 width=xxx) | |
128 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
134 | 129 | Merge Cond: (t1.c1 = t2.c1) |
135 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
136 | - -> Sort (cost=xxx rows=100 width=xxx) | |
130 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
131 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
137 | 132 | Sort Key: t2.c1 |
138 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
139 | -(6 rows) | |
133 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
140 | 134 | |
141 | 135 | ---- |
142 | 136 | ---- No. R-1-3 table doesn't exist in the hint option |
@@ -156,13 +150,12 @@ error hint: | ||
156 | 150 | \! sql/maskout.sh results/ut-R.tmpout |
157 | 151 | QUERY PLAN |
158 | 152 | --------------------------------------------------------------------------- |
159 | - Merge Join (cost=xxx rows=1 width=xxx) | |
153 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
160 | 154 | Merge Cond: (t1.c1 = t2.c1) |
161 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
162 | - -> Sort (cost=xxx rows=100 width=xxx) | |
155 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
156 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
163 | 157 | Sort Key: t2.c1 |
164 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
165 | -(6 rows) | |
158 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
166 | 159 | |
167 | 160 | -- No. R-1-3-2 |
168 | 161 | \o results/ut-R.tmpout |
@@ -179,13 +172,12 @@ error hint: | ||
179 | 172 | \! sql/maskout.sh results/ut-R.tmpout |
180 | 173 | QUERY PLAN |
181 | 174 | --------------------------------------------------------------------------- |
182 | - Merge Join (cost=xxx rows=100 width=xxx) | |
175 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
183 | 176 | Merge Cond: (t1.c1 = t2.c1) |
184 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
185 | - -> Sort (cost=xxx rows=100 width=xxx) | |
177 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
178 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
186 | 179 | Sort Key: t2.c1 |
187 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
188 | -(6 rows) | |
180 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
189 | 181 | |
190 | 182 | ---- |
191 | 183 | ---- No. R-1-4 conflict table name |
@@ -205,13 +197,12 @@ error hint: | ||
205 | 197 | \! sql/maskout.sh results/ut-R.tmpout |
206 | 198 | QUERY PLAN |
207 | 199 | --------------------------------------------------------------------------- |
208 | - Merge Join (cost=xxx rows=1 width=xxx) | |
200 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
209 | 201 | Merge Cond: (t1.c1 = t2.c1) |
210 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
211 | - -> Sort (cost=xxx rows=100 width=xxx) | |
202 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
203 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
212 | 204 | Sort Key: t2.c1 |
213 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
214 | -(6 rows) | |
205 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
215 | 206 | |
216 | 207 | -- No. R-1-4-2 |
217 | 208 | \o results/ut-R.tmpout |
@@ -220,13 +211,12 @@ EXPLAIN SELECT * FROM s1.t1, s2.t1 WHERE s1.t1.c1 = s2.t1.c1; | ||
220 | 211 | \! sql/maskout.sh results/ut-R.tmpout |
221 | 212 | QUERY PLAN |
222 | 213 | --------------------------------------------------------------------------- |
223 | - Merge Join (cost=xxx rows=100 width=xxx) | |
214 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
224 | 215 | Merge Cond: (t1.c1 = t1_1.c1) |
225 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
226 | - -> Sort (cost=xxx rows=100 width=xxx) | |
216 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
217 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
227 | 218 | Sort Key: t1_1.c1 |
228 | - -> Seq Scan on t1 t1_1 (cost=xxx rows=100 width=xxx) | |
229 | -(6 rows) | |
219 | + -> Seq Scan on t1 t1_1 (cost=xxx..xxx rows=100 width=xxx) | |
230 | 220 | |
231 | 221 | \o results/ut-R.tmpout |
232 | 222 | /*+Rows(t1 t1 #1)*/ |
@@ -244,13 +234,12 @@ Rows(t1 t1 #1) | ||
244 | 234 | \! sql/maskout.sh results/ut-R.tmpout |
245 | 235 | QUERY PLAN |
246 | 236 | --------------------------------------------------------------------------- |
247 | - Merge Join (cost=xxx rows=100 width=xxx) | |
237 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
248 | 238 | Merge Cond: (t1.c1 = t1_1.c1) |
249 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
250 | - -> Sort (cost=xxx rows=100 width=xxx) | |
239 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
240 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
251 | 241 | Sort Key: t1_1.c1 |
252 | - -> Seq Scan on t1 t1_1 (cost=xxx rows=100 width=xxx) | |
253 | -(6 rows) | |
242 | + -> Seq Scan on t1 t1_1 (cost=xxx..xxx rows=100 width=xxx) | |
254 | 243 | |
255 | 244 | \o results/ut-R.tmpout |
256 | 245 | /*+Rows(s1.t1 s2.t1 #1)*/ |
@@ -266,13 +255,12 @@ error hint: | ||
266 | 255 | \! sql/maskout.sh results/ut-R.tmpout |
267 | 256 | QUERY PLAN |
268 | 257 | --------------------------------------------------------------------------- |
269 | - Merge Join (cost=xxx rows=100 width=xxx) | |
258 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
270 | 259 | Merge Cond: (t1.c1 = t1_1.c1) |
271 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
272 | - -> Sort (cost=xxx rows=100 width=xxx) | |
260 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
261 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
273 | 262 | Sort Key: t1_1.c1 |
274 | - -> Seq Scan on t1 t1_1 (cost=xxx rows=100 width=xxx) | |
275 | -(6 rows) | |
263 | + -> Seq Scan on t1 t1_1 (cost=xxx..xxx rows=100 width=xxx) | |
276 | 264 | |
277 | 265 | \o results/ut-R.tmpout |
278 | 266 | EXPLAIN SELECT * FROM s1.t1, s2.t1 s2t1 WHERE s1.t1.c1 = s2t1.c1; |
@@ -280,13 +268,12 @@ EXPLAIN SELECT * FROM s1.t1, s2.t1 s2t1 WHERE s1.t1.c1 = s2t1.c1; | ||
280 | 268 | \! sql/maskout.sh results/ut-R.tmpout |
281 | 269 | QUERY PLAN |
282 | 270 | --------------------------------------------------------------------------- |
283 | - Merge Join (cost=xxx rows=100 width=xxx) | |
271 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
284 | 272 | Merge Cond: (t1.c1 = s2t1.c1) |
285 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
286 | - -> Sort (cost=xxx rows=100 width=xxx) | |
273 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
274 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
287 | 275 | Sort Key: s2t1.c1 |
288 | - -> Seq Scan on t1 s2t1 (cost=xxx rows=100 width=xxx) | |
289 | -(6 rows) | |
276 | + -> Seq Scan on t1 s2t1 (cost=xxx..xxx rows=100 width=xxx) | |
290 | 277 | |
291 | 278 | \o results/ut-R.tmpout |
292 | 279 | /*+Rows(t1 s2t1 #1)*/ |
@@ -302,13 +289,12 @@ error hint: | ||
302 | 289 | \! sql/maskout.sh results/ut-R.tmpout |
303 | 290 | QUERY PLAN |
304 | 291 | --------------------------------------------------------------------------- |
305 | - Merge Join (cost=xxx rows=1 width=xxx) | |
292 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
306 | 293 | Merge Cond: (t1.c1 = s2t1.c1) |
307 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
308 | - -> Sort (cost=xxx rows=100 width=xxx) | |
294 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
295 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
309 | 296 | Sort Key: s2t1.c1 |
310 | - -> Seq Scan on t1 s2t1 (cost=xxx rows=100 width=xxx) | |
311 | -(6 rows) | |
297 | + -> Seq Scan on t1 s2t1 (cost=xxx..xxx rows=100 width=xxx) | |
312 | 298 | |
313 | 299 | -- No. R-1-4-3 |
314 | 300 | \o results/ut-R.tmpout |
@@ -317,21 +303,20 @@ EXPLAIN SELECT *, (SELECT max(t1.c1) FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1) FROM | ||
317 | 303 | \! sql/maskout.sh results/ut-R.tmpout |
318 | 304 | QUERY PLAN |
319 | 305 | -------------------------------------------------------------------------------------------------- |
320 | - Merge Join (cost=xxx rows=100 width=xxx) | |
306 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
321 | 307 | Merge Cond: (t1.c1 = t2.c1) |
322 | 308 | InitPlan 1 (returns $0) |
323 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
324 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
309 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
310 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
325 | 311 | Merge Cond: (t1_1.c1 = t2_1.c1) |
326 | - -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx rows=1000 width=xxx) | |
327 | - -> Sort (cost=xxx rows=100 width=xxx) | |
312 | + -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
313 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
328 | 314 | Sort Key: t2_1.c1 |
329 | - -> Seq Scan on t2 t2_1 (cost=xxx rows=100 width=xxx) | |
330 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
331 | - -> Sort (cost=xxx rows=100 width=xxx) | |
315 | + -> Seq Scan on t2 t2_1 (cost=xxx..xxx rows=100 width=xxx) | |
316 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
317 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
332 | 318 | Sort Key: t2.c1 |
333 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
334 | -(14 rows) | |
319 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
335 | 320 | |
336 | 321 | \o results/ut-R.tmpout |
337 | 322 | /*+Rows(t1 t2 #1)*/ |
@@ -347,21 +332,20 @@ error hint: | ||
347 | 332 | \! sql/maskout.sh results/ut-R.tmpout |
348 | 333 | QUERY PLAN |
349 | 334 | -------------------------------------------------------------------------------------------------- |
350 | - Merge Join (cost=xxx rows=100 width=xxx) | |
335 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
351 | 336 | Merge Cond: (t1.c1 = t2.c1) |
352 | 337 | InitPlan 1 (returns $0) |
353 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
354 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
338 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
339 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
355 | 340 | Merge Cond: (t1_1.c1 = t2_1.c1) |
356 | - -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx rows=1000 width=xxx) | |
357 | - -> Sort (cost=xxx rows=100 width=xxx) | |
341 | + -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
342 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
358 | 343 | Sort Key: t2_1.c1 |
359 | - -> Seq Scan on t2 t2_1 (cost=xxx rows=100 width=xxx) | |
360 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
361 | - -> Sort (cost=xxx rows=100 width=xxx) | |
344 | + -> Seq Scan on t2 t2_1 (cost=xxx..xxx rows=100 width=xxx) | |
345 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
346 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
362 | 347 | Sort Key: t2.c1 |
363 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
364 | -(14 rows) | |
348 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
365 | 349 | |
366 | 350 | \o results/ut-R.tmpout |
367 | 351 | /*+Rows(st1 st2 #1)Rows(t1 t2 #1)*/ |
@@ -378,21 +362,20 @@ error hint: | ||
378 | 362 | \! sql/maskout.sh results/ut-R.tmpout |
379 | 363 | QUERY PLAN |
380 | 364 | ------------------------------------------------------------------------------------------------- |
381 | - Merge Join (cost=xxx rows=1 width=xxx) | |
365 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
382 | 366 | Merge Cond: (t1.c1 = t2.c1) |
383 | 367 | InitPlan 1 (returns $0) |
384 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
385 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
368 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
369 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
386 | 370 | Merge Cond: (st1.c1 = st2.c1) |
387 | - -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx rows=1000 width=xxx) | |
388 | - -> Sort (cost=xxx rows=100 width=xxx) | |
371 | + -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx..xxx rows=1000 width=xxx) | |
372 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
389 | 373 | Sort Key: st2.c1 |
390 | - -> Seq Scan on t2 st2 (cost=xxx rows=100 width=xxx) | |
391 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
392 | - -> Sort (cost=xxx rows=100 width=xxx) | |
374 | + -> Seq Scan on t2 st2 (cost=xxx..xxx rows=100 width=xxx) | |
375 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
376 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
393 | 377 | Sort Key: t2.c1 |
394 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
395 | -(14 rows) | |
378 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
396 | 379 | |
397 | 380 | ---- |
398 | 381 | ---- No. R-1-5 conflict table name |
@@ -412,13 +395,12 @@ error hint: | ||
412 | 395 | \! sql/maskout.sh results/ut-R.tmpout |
413 | 396 | QUERY PLAN |
414 | 397 | --------------------------------------------------------------------------- |
415 | - Merge Join (cost=xxx rows=1 width=xxx) | |
398 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
416 | 399 | Merge Cond: (t1.c1 = t2.c1) |
417 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
418 | - -> Sort (cost=xxx rows=100 width=xxx) | |
400 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
401 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
419 | 402 | Sort Key: t2.c1 |
420 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
421 | -(6 rows) | |
403 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
422 | 404 | |
423 | 405 | -- No. R-1-5-2 |
424 | 406 | \o results/ut-R.tmpout |
@@ -437,13 +419,12 @@ Rows(t1 t1 #1) | ||
437 | 419 | \! sql/maskout.sh results/ut-R.tmpout |
438 | 420 | QUERY PLAN |
439 | 421 | --------------------------------------------------------------------------- |
440 | - Merge Join (cost=xxx rows=100 width=xxx) | |
422 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
441 | 423 | Merge Cond: (t1.c1 = t2.c1) |
442 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
443 | - -> Sort (cost=xxx rows=100 width=xxx) | |
424 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
425 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
444 | 426 | Sort Key: t2.c1 |
445 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
446 | -(6 rows) | |
427 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
447 | 428 | |
448 | 429 | -- No. R-1-5-3 |
449 | 430 | \o results/ut-R.tmpout |
@@ -455,13 +436,12 @@ DETAIL: Unrecognized hint keyword "". | ||
455 | 436 | \! sql/maskout.sh results/ut-R.tmpout |
456 | 437 | QUERY PLAN |
457 | 438 | --------------------------------------------------------------------------- |
458 | - Merge Join (cost=xxx rows=100 width=xxx) | |
439 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
459 | 440 | Merge Cond: (t1.c1 = t2.c1) |
460 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
461 | - -> Sort (cost=xxx rows=100 width=xxx) | |
441 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
442 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
462 | 443 | Sort Key: t2.c1 |
463 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
464 | -(6 rows) | |
444 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
465 | 445 | |
466 | 446 | \o results/ut-R.tmpout |
467 | 447 | EXPLAIN SELECT * FROM s1.t1, s1.t2, s1.t3 WHERE t1.c1 = t2.c1 AND t1.c1 = t3.c1; |
@@ -469,16 +449,15 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2, s1.t3 WHERE t1.c1 = t2.c1 AND t1.c1 = t3.c1; | ||
469 | 449 | \! sql/maskout.sh results/ut-R.tmpout |
470 | 450 | QUERY PLAN |
471 | 451 | --------------------------------------------------------------------------------- |
472 | - Merge Join (cost=xxx rows=100 width=xxx) | |
452 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
473 | 453 | Merge Cond: (t1.c1 = t2.c1) |
474 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
454 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
475 | 455 | Merge Cond: (t1.c1 = t3.c1) |
476 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
477 | - -> Index Scan using t3_i1 on t3 (cost=xxx rows=1130 width=xxx) | |
478 | - -> Sort (cost=xxx rows=100 width=xxx) | |
456 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
457 | + -> Index Scan using t3_i1 on t3 (cost=xxx..xxx rows=1130 width=xxx) | |
458 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
479 | 459 | Sort Key: t2.c1 |
480 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
481 | -(9 rows) | |
460 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
482 | 461 | |
483 | 462 | \o results/ut-R.tmpout |
484 | 463 | /*+(t1 t2 t1 t2)*/ |
@@ -489,19 +468,18 @@ DETAIL: Unrecognized hint keyword "". | ||
489 | 468 | \! sql/maskout.sh results/ut-R.tmpout |
490 | 469 | QUERY PLAN |
491 | 470 | --------------------------------------------------------------------------------------- |
492 | - Nested Loop (cost=xxx rows=100 width=xxx) | |
493 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
471 | + Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
472 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
494 | 473 | Merge Cond: (t1.c1 = t2.c1) |
495 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
474 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
496 | 475 | Merge Cond: (t1.c1 = t3.c1) |
497 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
498 | - -> Index Scan using t3_i1 on t3 (cost=xxx rows=1130 width=xxx) | |
499 | - -> Sort (cost=xxx rows=100 width=xxx) | |
476 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
477 | + -> Index Scan using t3_i1 on t3 (cost=xxx..xxx rows=1130 width=xxx) | |
478 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
500 | 479 | Sort Key: t2.c1 |
501 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
502 | - -> Index Scan using t4_i1 on t4 (cost=xxx rows=1 width=xxx) | |
480 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
481 | + -> Index Scan using t4_i1 on t4 (cost=xxx..xxx rows=1 width=xxx) | |
503 | 482 | Index Cond: (c1 = t1.c1) |
504 | -(12 rows) | |
505 | 483 | |
506 | 484 | ---- |
507 | 485 | ---- No. R-1-6 object type for the hint |
@@ -521,13 +499,12 @@ error hint: | ||
521 | 499 | \! sql/maskout.sh results/ut-R.tmpout |
522 | 500 | QUERY PLAN |
523 | 501 | --------------------------------------------------------------------------- |
524 | - Merge Join (cost=xxx rows=1 width=xxx) | |
502 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
525 | 503 | Merge Cond: (t1.c1 = t2.c1) |
526 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
527 | - -> Sort (cost=xxx rows=100 width=xxx) | |
504 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
505 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
528 | 506 | Sort Key: t2.c1 |
529 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
530 | -(6 rows) | |
507 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
531 | 508 | |
532 | 509 | -- No. R-1-6-2 |
533 | 510 | \o results/ut-R.tmpout |
@@ -536,20 +513,19 @@ EXPLAIN SELECT * FROM s1.p1 t1, s1.p1 t2 WHERE t1.c1 = t2.c1; | ||
536 | 513 | \! sql/maskout.sh results/ut-R.tmpout |
537 | 514 | QUERY PLAN |
538 | 515 | ------------------------------------------------------------------------------ |
539 | - Hash Join (cost=xxx rows=301 width=xxx) | |
516 | + Hash Join (cost=xxx..xxx rows=301 width=xxx) | |
540 | 517 | Hash Cond: (t1.c1 = t2.c1) |
541 | - -> Append (cost=xxx rows=301 width=xxx) | |
542 | - -> Seq Scan on p1 t1 (cost=xxx rows=1 width=xxx) | |
543 | - -> Seq Scan on p1c1 t1_1 (cost=xxx rows=100 width=xxx) | |
544 | - -> Seq Scan on p1c2 t1_2 (cost=xxx rows=100 width=xxx) | |
545 | - -> Seq Scan on p1c3 t1_3 (cost=xxx rows=100 width=xxx) | |
546 | - -> Hash (cost=xxx rows=301 width=xxx) | |
547 | - -> Append (cost=xxx rows=301 width=xxx) | |
548 | - -> Seq Scan on p1 t2 (cost=xxx rows=1 width=xxx) | |
549 | - -> Seq Scan on p1c1 t2_1 (cost=xxx rows=100 width=xxx) | |
550 | - -> Seq Scan on p1c2 t2_2 (cost=xxx rows=100 width=xxx) | |
551 | - -> Seq Scan on p1c3 t2_3 (cost=xxx rows=100 width=xxx) | |
552 | -(13 rows) | |
518 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
519 | + -> Seq Scan on p1 t1 (cost=xxx..xxx rows=1 width=xxx) | |
520 | + -> Seq Scan on p1c1 t1_1 (cost=xxx..xxx rows=100 width=xxx) | |
521 | + -> Seq Scan on p1c2 t1_2 (cost=xxx..xxx rows=100 width=xxx) | |
522 | + -> Seq Scan on p1c3 t1_3 (cost=xxx..xxx rows=100 width=xxx) | |
523 | + -> Hash (cost=xxx..xxx rows=301 width=xxx) | |
524 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
525 | + -> Seq Scan on p1 t2 (cost=xxx..xxx rows=1 width=xxx) | |
526 | + -> Seq Scan on p1c1 t2_1 (cost=xxx..xxx rows=100 width=xxx) | |
527 | + -> Seq Scan on p1c2 t2_2 (cost=xxx..xxx rows=100 width=xxx) | |
528 | + -> Seq Scan on p1c3 t2_3 (cost=xxx..xxx rows=100 width=xxx) | |
553 | 529 | |
554 | 530 | \o results/ut-R.tmpout |
555 | 531 | /*+Rows(t1 t2 #1)*/ |
@@ -565,20 +541,19 @@ error hint: | ||
565 | 541 | \! sql/maskout.sh results/ut-R.tmpout |
566 | 542 | QUERY PLAN |
567 | 543 | ------------------------------------------------------------------------------ |
568 | - Hash Join (cost=xxx rows=1 width=xxx) | |
544 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
569 | 545 | Hash Cond: (t1.c1 = t2.c1) |
570 | - -> Append (cost=xxx rows=301 width=xxx) | |
571 | - -> Seq Scan on p1 t1 (cost=xxx rows=1 width=xxx) | |
572 | - -> Seq Scan on p1c1 t1_1 (cost=xxx rows=100 width=xxx) | |
573 | - -> Seq Scan on p1c2 t1_2 (cost=xxx rows=100 width=xxx) | |
574 | - -> Seq Scan on p1c3 t1_3 (cost=xxx rows=100 width=xxx) | |
575 | - -> Hash (cost=xxx rows=301 width=xxx) | |
576 | - -> Append (cost=xxx rows=301 width=xxx) | |
577 | - -> Seq Scan on p1 t2 (cost=xxx rows=1 width=xxx) | |
578 | - -> Seq Scan on p1c1 t2_1 (cost=xxx rows=100 width=xxx) | |
579 | - -> Seq Scan on p1c2 t2_2 (cost=xxx rows=100 width=xxx) | |
580 | - -> Seq Scan on p1c3 t2_3 (cost=xxx rows=100 width=xxx) | |
581 | -(13 rows) | |
546 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
547 | + -> Seq Scan on p1 t1 (cost=xxx..xxx rows=1 width=xxx) | |
548 | + -> Seq Scan on p1c1 t1_1 (cost=xxx..xxx rows=100 width=xxx) | |
549 | + -> Seq Scan on p1c2 t1_2 (cost=xxx..xxx rows=100 width=xxx) | |
550 | + -> Seq Scan on p1c3 t1_3 (cost=xxx..xxx rows=100 width=xxx) | |
551 | + -> Hash (cost=xxx..xxx rows=301 width=xxx) | |
552 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
553 | + -> Seq Scan on p1 t2 (cost=xxx..xxx rows=1 width=xxx) | |
554 | + -> Seq Scan on p1c1 t2_1 (cost=xxx..xxx rows=100 width=xxx) | |
555 | + -> Seq Scan on p1c2 t2_2 (cost=xxx..xxx rows=100 width=xxx) | |
556 | + -> Seq Scan on p1c3 t2_3 (cost=xxx..xxx rows=100 width=xxx) | |
582 | 557 | |
583 | 558 | -- No. R-1-6-3 |
584 | 559 | \o results/ut-R.tmpout |
@@ -587,12 +562,11 @@ EXPLAIN SELECT * FROM s1.ul1 t1, s1.ul1 t2 WHERE t1.c1 = t2.c1; | ||
587 | 562 | \! sql/maskout.sh results/ut-R.tmpout |
588 | 563 | QUERY PLAN |
589 | 564 | ----------------------------------------------------------------------- |
590 | - Hash Join (cost=xxx rows=1130 width=xxx) | |
565 | + Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
591 | 566 | Hash Cond: (t1.c1 = t2.c1) |
592 | - -> Seq Scan on ul1 t1 (cost=xxx rows=1130 width=xxx) | |
593 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
594 | - -> Seq Scan on ul1 t2 (cost=xxx rows=1130 width=xxx) | |
595 | -(5 rows) | |
567 | + -> Seq Scan on ul1 t1 (cost=xxx..xxx rows=1130 width=xxx) | |
568 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
569 | + -> Seq Scan on ul1 t2 (cost=xxx..xxx rows=1130 width=xxx) | |
596 | 570 | |
597 | 571 | \o results/ut-R.tmpout |
598 | 572 | /*+Rows(t1 t2 #1)*/ |
@@ -608,12 +582,11 @@ error hint: | ||
608 | 582 | \! sql/maskout.sh results/ut-R.tmpout |
609 | 583 | QUERY PLAN |
610 | 584 | ----------------------------------------------------------------------- |
611 | - Hash Join (cost=xxx rows=1 width=xxx) | |
585 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
612 | 586 | Hash Cond: (t1.c1 = t2.c1) |
613 | - -> Seq Scan on ul1 t1 (cost=xxx rows=1130 width=xxx) | |
614 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
615 | - -> Seq Scan on ul1 t2 (cost=xxx rows=1130 width=xxx) | |
616 | -(5 rows) | |
587 | + -> Seq Scan on ul1 t1 (cost=xxx..xxx rows=1130 width=xxx) | |
588 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
589 | + -> Seq Scan on ul1 t2 (cost=xxx..xxx rows=1130 width=xxx) | |
617 | 590 | |
618 | 591 | -- No. R-1-6-4 |
619 | 592 | CREATE TEMP TABLE tm1 (LIKE s1.t1 INCLUDING ALL); |
@@ -623,12 +596,11 @@ EXPLAIN SELECT * FROM tm1 t1, tm1 t2 WHERE t1.c1 = t2.c1; | ||
623 | 596 | \! sql/maskout.sh results/ut-R.tmpout |
624 | 597 | QUERY PLAN |
625 | 598 | ----------------------------------------------------------------------- |
626 | - Hash Join (cost=xxx rows=1130 width=xxx) | |
599 | + Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
627 | 600 | Hash Cond: (t1.c1 = t2.c1) |
628 | - -> Seq Scan on tm1 t1 (cost=xxx rows=1130 width=xxx) | |
629 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
630 | - -> Seq Scan on tm1 t2 (cost=xxx rows=1130 width=xxx) | |
631 | -(5 rows) | |
601 | + -> Seq Scan on tm1 t1 (cost=xxx..xxx rows=1130 width=xxx) | |
602 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
603 | + -> Seq Scan on tm1 t2 (cost=xxx..xxx rows=1130 width=xxx) | |
632 | 604 | |
633 | 605 | \o results/ut-R.tmpout |
634 | 606 | /*+Rows(t1 t2 #1)*/ |
@@ -644,27 +616,25 @@ error hint: | ||
644 | 616 | \! sql/maskout.sh results/ut-R.tmpout |
645 | 617 | QUERY PLAN |
646 | 618 | ----------------------------------------------------------------------- |
647 | - Hash Join (cost=xxx rows=1 width=xxx) | |
619 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
648 | 620 | Hash Cond: (t1.c1 = t2.c1) |
649 | - -> Seq Scan on tm1 t1 (cost=xxx rows=1130 width=xxx) | |
650 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
651 | - -> Seq Scan on tm1 t2 (cost=xxx rows=1130 width=xxx) | |
652 | -(5 rows) | |
621 | + -> Seq Scan on tm1 t1 (cost=xxx..xxx rows=1130 width=xxx) | |
622 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
623 | + -> Seq Scan on tm1 t2 (cost=xxx..xxx rows=1130 width=xxx) | |
653 | 624 | |
654 | 625 | -- No. R-1-6-5 |
655 | -CREATE TEMP TABLE t_pg_class WITH OIDS AS SELECT * from pg_class LIMIT 100; | |
626 | +CREATE TEMP TABLE t_pg_class AS SELECT * from pg_class LIMIT 100; | |
656 | 627 | \o results/ut-R.tmpout |
657 | 628 | EXPLAIN SELECT * FROM t_pg_class t1, t_pg_class t2 WHERE t1.oid = t2.oid; |
658 | 629 | \o |
659 | 630 | \! sql/maskout.sh results/ut-R.tmpout |
660 | 631 | QUERY PLAN |
661 | 632 | ------------------------------------------------------------------------------ |
662 | - Hash Join (cost=xxx rows=310 width=xxx) | |
633 | + Hash Join (cost=xxx..xxx rows=450 width=xxx) | |
663 | 634 | Hash Cond: (t1.oid = t2.oid) |
664 | - -> Seq Scan on t_pg_class t1 (cost=xxx rows=310 width=xxx) | |
665 | - -> Hash (cost=xxx rows=310 width=xxx) | |
666 | - -> Seq Scan on t_pg_class t2 (cost=xxx rows=310 width=xxx) | |
667 | -(5 rows) | |
635 | + -> Seq Scan on t_pg_class t1 (cost=xxx..xxx rows=300 width=xxx) | |
636 | + -> Hash (cost=xxx..xxx rows=300 width=xxx) | |
637 | + -> Seq Scan on t_pg_class t2 (cost=xxx..xxx rows=300 width=xxx) | |
668 | 638 | |
669 | 639 | \o results/ut-R.tmpout |
670 | 640 | /*+Rows(t1 t2 #1)*/ |
@@ -680,12 +650,11 @@ error hint: | ||
680 | 650 | \! sql/maskout.sh results/ut-R.tmpout |
681 | 651 | QUERY PLAN |
682 | 652 | ------------------------------------------------------------------------------ |
683 | - Hash Join (cost=xxx rows=1 width=xxx) | |
653 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
684 | 654 | Hash Cond: (t1.oid = t2.oid) |
685 | - -> Seq Scan on t_pg_class t1 (cost=xxx rows=310 width=xxx) | |
686 | - -> Hash (cost=xxx rows=310 width=xxx) | |
687 | - -> Seq Scan on t_pg_class t2 (cost=xxx rows=310 width=xxx) | |
688 | -(5 rows) | |
655 | + -> Seq Scan on t_pg_class t1 (cost=xxx..xxx rows=300 width=xxx) | |
656 | + -> Hash (cost=xxx..xxx rows=300 width=xxx) | |
657 | + -> Seq Scan on t_pg_class t2 (cost=xxx..xxx rows=300 width=xxx) | |
689 | 658 | |
690 | 659 | -- No. R-1-6-6 |
691 | 660 | -- refer ut-fdw.sql |
@@ -696,11 +665,10 @@ EXPLAIN SELECT * FROM s1.f1() t1, s1.f1() t2 WHERE t1.c1 = t2.c1; | ||
696 | 665 | \! sql/maskout.sh results/ut-R.tmpout |
697 | 666 | QUERY PLAN |
698 | 667 | ----------------------------------------------------------------- |
699 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
668 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
700 | 669 | Join Filter: (t1.c1 = t2.c1) |
701 | - -> Function Scan on f1 t1 (cost=xxx rows=1 width=xxx) | |
702 | - -> Function Scan on f1 t2 (cost=xxx rows=1 width=xxx) | |
703 | -(4 rows) | |
670 | + -> Function Scan on f1 t1 (cost=xxx..xxx rows=1 width=xxx) | |
671 | + -> Function Scan on f1 t2 (cost=xxx..xxx rows=1 width=xxx) | |
704 | 672 | |
705 | 673 | \o results/ut-R.tmpout |
706 | 674 | /*+Rows(t1 t2 #1)*/ |
@@ -716,11 +684,10 @@ error hint: | ||
716 | 684 | \! sql/maskout.sh results/ut-R.tmpout |
717 | 685 | QUERY PLAN |
718 | 686 | ----------------------------------------------------------------- |
719 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
687 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
720 | 688 | Join Filter: (t1.c1 = t2.c1) |
721 | - -> Function Scan on f1 t1 (cost=xxx rows=1 width=xxx) | |
722 | - -> Function Scan on f1 t2 (cost=xxx rows=1 width=xxx) | |
723 | -(4 rows) | |
689 | + -> Function Scan on f1 t1 (cost=xxx..xxx rows=1 width=xxx) | |
690 | + -> Function Scan on f1 t2 (cost=xxx..xxx rows=1 width=xxx) | |
724 | 691 | |
725 | 692 | -- No. R-1-6-8 |
726 | 693 | \o results/ut-R.tmpout |
@@ -729,12 +696,11 @@ EXPLAIN SELECT * FROM (VALUES(1,1,1,'1'), (2,2,2,'2'), (3,3,3,'3')) AS t1 (c1, c | ||
729 | 696 | \! sql/maskout.sh results/ut-R.tmpout |
730 | 697 | QUERY PLAN |
731 | 698 | -------------------------------------------------------------------------- |
732 | - Hash Join (cost=xxx rows=3 width=xxx) | |
699 | + Hash Join (cost=xxx..xxx rows=3 width=xxx) | |
733 | 700 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
734 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
735 | - -> Hash (cost=xxx rows=3 width=xxx) | |
736 | - -> Values Scan on "*VALUES*" (cost=xxx rows=3 width=xxx) | |
737 | -(5 rows) | |
701 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
702 | + -> Hash (cost=xxx..xxx rows=3 width=xxx) | |
703 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=3 width=xxx) | |
738 | 704 | |
739 | 705 | \o results/ut-R.tmpout |
740 | 706 | /*+Rows(t1 t2 #1)*/ |
@@ -750,12 +716,11 @@ error hint: | ||
750 | 716 | \! sql/maskout.sh results/ut-R.tmpout |
751 | 717 | QUERY PLAN |
752 | 718 | -------------------------------------------------------------------------- |
753 | - Hash Join (cost=xxx rows=3 width=xxx) | |
719 | + Hash Join (cost=xxx..xxx rows=3 width=xxx) | |
754 | 720 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
755 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
756 | - -> Hash (cost=xxx rows=3 width=xxx) | |
757 | - -> Values Scan on "*VALUES*" (cost=xxx rows=3 width=xxx) | |
758 | -(5 rows) | |
721 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
722 | + -> Hash (cost=xxx..xxx rows=3 width=xxx) | |
723 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=3 width=xxx) | |
759 | 724 | |
760 | 725 | \o results/ut-R.tmpout |
761 | 726 | /*+Rows(*VALUES* t2 #1)*/ |
@@ -771,12 +736,11 @@ error hint: | ||
771 | 736 | \! sql/maskout.sh results/ut-R.tmpout |
772 | 737 | QUERY PLAN |
773 | 738 | -------------------------------------------------------------------------- |
774 | - Hash Join (cost=xxx rows=1 width=xxx) | |
739 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
775 | 740 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
776 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
777 | - -> Hash (cost=xxx rows=3 width=xxx) | |
778 | - -> Values Scan on "*VALUES*" (cost=xxx rows=3 width=xxx) | |
779 | -(5 rows) | |
741 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
742 | + -> Hash (cost=xxx..xxx rows=3 width=xxx) | |
743 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=3 width=xxx) | |
780 | 744 | |
781 | 745 | -- No. R-1-6-9 |
782 | 746 | \o results/ut-R.tmpout |
@@ -785,19 +749,18 @@ EXPLAIN WITH c1(c1) AS (SELECT max(t1.c1) FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1) | ||
785 | 749 | \! sql/maskout.sh results/ut-R.tmpout |
786 | 750 | QUERY PLAN |
787 | 751 | -------------------------------------------------------------------------------------------------- |
788 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
752 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
789 | 753 | CTE c1 |
790 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
791 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
754 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
755 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
792 | 756 | Merge Cond: (t1_1.c1 = t2.c1) |
793 | - -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx rows=1000 width=xxx) | |
794 | - -> Sort (cost=xxx rows=100 width=xxx) | |
757 | + -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
758 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
795 | 759 | Sort Key: t2.c1 |
796 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
797 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
798 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
760 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
761 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
762 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
799 | 763 | Index Cond: (c1 = c1.c1) |
800 | -(12 rows) | |
801 | 764 | |
802 | 765 | \o results/ut-R.tmpout |
803 | 766 | /*+Rows(t1 t2 #1)Rows(t1 c1 +1)*/ |
@@ -814,19 +777,18 @@ error hint: | ||
814 | 777 | \! sql/maskout.sh results/ut-R.tmpout |
815 | 778 | QUERY PLAN |
816 | 779 | -------------------------------------------------------------------------------------------------- |
817 | - Nested Loop (cost=xxx rows=2 width=xxx) | |
780 | + Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
818 | 781 | CTE c1 |
819 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
820 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
782 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
783 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
821 | 784 | Merge Cond: (t1_1.c1 = t2.c1) |
822 | - -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx rows=1000 width=xxx) | |
823 | - -> Sort (cost=xxx rows=100 width=xxx) | |
785 | + -> Index Only Scan using t1_i1 on t1 t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
786 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
824 | 787 | Sort Key: t2.c1 |
825 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
826 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
827 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
788 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
789 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
790 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
828 | 791 | Index Cond: (c1 = c1.c1) |
829 | -(12 rows) | |
830 | 792 | |
831 | 793 | -- No. R-1-6-10 |
832 | 794 | \o results/ut-R.tmpout |
@@ -835,12 +797,11 @@ EXPLAIN SELECT * FROM s1.v1 t1, s1.v1 t2 WHERE t1.c1 = t2.c1; | ||
835 | 797 | \! sql/maskout.sh results/ut-R.tmpout |
836 | 798 | QUERY PLAN |
837 | 799 | -------------------------------------------------------------------------- |
838 | - Hash Join (cost=xxx rows=1000 width=xxx) | |
800 | + Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
839 | 801 | Hash Cond: (v1t1.c1 = v1t1_1.c1) |
840 | - -> Seq Scan on t1 v1t1 (cost=xxx rows=1000 width=xxx) | |
841 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
842 | - -> Seq Scan on t1 v1t1_1 (cost=xxx rows=1000 width=xxx) | |
843 | -(5 rows) | |
802 | + -> Seq Scan on t1 v1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
803 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
804 | + -> Seq Scan on t1 v1t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
844 | 805 | |
845 | 806 | \o results/ut-R.tmpout |
846 | 807 | /*+Rows(t1 t2 #1)*/ |
@@ -856,12 +817,11 @@ error hint: | ||
856 | 817 | \! sql/maskout.sh results/ut-R.tmpout |
857 | 818 | QUERY PLAN |
858 | 819 | -------------------------------------------------------------------------- |
859 | - Hash Join (cost=xxx rows=1000 width=xxx) | |
820 | + Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
860 | 821 | Hash Cond: (v1t1.c1 = v1t1_1.c1) |
861 | - -> Seq Scan on t1 v1t1 (cost=xxx rows=1000 width=xxx) | |
862 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
863 | - -> Seq Scan on t1 v1t1_1 (cost=xxx rows=1000 width=xxx) | |
864 | -(5 rows) | |
822 | + -> Seq Scan on t1 v1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
823 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
824 | + -> Seq Scan on t1 v1t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
865 | 825 | |
866 | 826 | \o results/ut-R.tmpout |
867 | 827 | /*+Rows(v1t1 v1t1_ #1)*/ |
@@ -877,12 +837,11 @@ error hint: | ||
877 | 837 | \! sql/maskout.sh results/ut-R.tmpout |
878 | 838 | QUERY PLAN |
879 | 839 | ------------------------------------------------------------------------- |
880 | - Hash Join (cost=xxx rows=1 width=xxx) | |
840 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
881 | 841 | Hash Cond: (v1t1.c1 = v1t1_.c1) |
882 | - -> Seq Scan on t1 v1t1 (cost=xxx rows=1000 width=xxx) | |
883 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
884 | - -> Seq Scan on t1 v1t1_ (cost=xxx rows=1000 width=xxx) | |
885 | -(5 rows) | |
842 | + -> Seq Scan on t1 v1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
843 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
844 | + -> Seq Scan on t1 v1t1_ (cost=xxx..xxx rows=1000 width=xxx) | |
886 | 845 | |
887 | 846 | -- No. R-1-6-11 |
888 | 847 | \o results/ut-R.tmpout |
@@ -891,20 +850,19 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1 AND t1.c1 = (SELECT max(s | ||
891 | 850 | \! sql/maskout.sh results/ut-R.tmpout |
892 | 851 | QUERY PLAN |
893 | 852 | ------------------------------------------------------------------------------------------------- |
894 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
853 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
895 | 854 | InitPlan 1 (returns $0) |
896 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
897 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
855 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
856 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
898 | 857 | Merge Cond: (st1.c1 = st2.c1) |
899 | - -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx rows=1000 width=xxx) | |
900 | - -> Sort (cost=xxx rows=100 width=xxx) | |
858 | + -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx..xxx rows=1000 width=xxx) | |
859 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
901 | 860 | Sort Key: st2.c1 |
902 | - -> Seq Scan on t2 st2 (cost=xxx rows=100 width=xxx) | |
903 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
861 | + -> Seq Scan on t2 st2 (cost=xxx..xxx rows=100 width=xxx) | |
862 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
904 | 863 | Index Cond: (c1 = $0) |
905 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
864 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
906 | 865 | Filter: (c1 = $0) |
907 | -(13 rows) | |
908 | 866 | |
909 | 867 | \o results/ut-R.tmpout |
910 | 868 | /*+Rows(t1 t2 #1)Rows(st1 st2 #1)*/ |
@@ -921,20 +879,19 @@ error hint: | ||
921 | 879 | \! sql/maskout.sh results/ut-R.tmpout |
922 | 880 | QUERY PLAN |
923 | 881 | ------------------------------------------------------------------------------------------------- |
924 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
882 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
925 | 883 | InitPlan 1 (returns $0) |
926 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
927 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
884 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
885 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
928 | 886 | Merge Cond: (st1.c1 = st2.c1) |
929 | - -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx rows=1000 width=xxx) | |
930 | - -> Sort (cost=xxx rows=100 width=xxx) | |
887 | + -> Index Only Scan using t1_i1 on t1 st1 (cost=xxx..xxx rows=1000 width=xxx) | |
888 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
931 | 889 | Sort Key: st2.c1 |
932 | - -> Seq Scan on t2 st2 (cost=xxx rows=100 width=xxx) | |
933 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
890 | + -> Seq Scan on t2 st2 (cost=xxx..xxx rows=100 width=xxx) | |
891 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
934 | 892 | Index Cond: (c1 = $0) |
935 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
893 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
936 | 894 | Filter: (c1 = $0) |
937 | -(13 rows) | |
938 | 895 | |
939 | 896 | -- |
940 | 897 | -- There are cases where difference in the measured value and predicted value |
@@ -946,13 +903,12 @@ EXPLAIN SELECT * FROM s1.t1, (SELECT t2.c1 FROM s1.t2) st2 WHERE t1.c1 = st2.c1; | ||
946 | 903 | \! sql/maskout.sh results/ut-R.tmpout |
947 | 904 | QUERY PLAN |
948 | 905 | --------------------------------------------------------------------------- |
949 | - Merge Join (cost=xxx rows=100 width=xxx) | |
906 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
950 | 907 | Merge Cond: (t1.c1 = t2.c1) |
951 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
952 | - -> Sort (cost=xxx rows=100 width=xxx) | |
908 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
909 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
953 | 910 | Sort Key: t2.c1 |
954 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
955 | -(6 rows) | |
911 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
956 | 912 | |
957 | 913 | \o results/ut-R.tmpout |
958 | 914 | /*+Rows(t1 st2 #1)*/ |
@@ -968,13 +924,12 @@ error hint: | ||
968 | 924 | \! sql/maskout.sh results/ut-R.tmpout |
969 | 925 | QUERY PLAN |
970 | 926 | --------------------------------------------------------------------------- |
971 | - Merge Join (cost=xxx rows=100 width=xxx) | |
927 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
972 | 928 | Merge Cond: (t1.c1 = t2.c1) |
973 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
974 | - -> Sort (cost=xxx rows=100 width=xxx) | |
929 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
930 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
975 | 931 | Sort Key: t2.c1 |
976 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
977 | -(6 rows) | |
932 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
978 | 933 | |
979 | 934 | \o results/ut-R.tmpout |
980 | 935 | /*+Rows(t1 t2 #1)*/ |
@@ -990,13 +945,12 @@ error hint: | ||
990 | 945 | \! sql/maskout.sh results/ut-R.tmpout |
991 | 946 | QUERY PLAN |
992 | 947 | --------------------------------------------------------------------------- |
993 | - Merge Join (cost=xxx rows=1 width=xxx) | |
948 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
994 | 949 | Merge Cond: (t1.c1 = t2.c1) |
995 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
996 | - -> Sort (cost=xxx rows=100 width=xxx) | |
950 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
951 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
997 | 952 | Sort Key: t2.c1 |
998 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
999 | -(6 rows) | |
953 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
1000 | 954 | |
1001 | 955 | ---- |
1002 | 956 | ---- No. R-1-7 specified number of conditions |
@@ -1018,13 +972,12 @@ Rows(t1 #1) | ||
1018 | 972 | \! sql/maskout.sh results/ut-R.tmpout |
1019 | 973 | QUERY PLAN |
1020 | 974 | --------------------------------------------------------------------------- |
1021 | - Merge Join (cost=xxx rows=100 width=xxx) | |
975 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1022 | 976 | Merge Cond: (t1.c1 = t2.c1) |
1023 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
1024 | - -> Sort (cost=xxx rows=100 width=xxx) | |
977 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
978 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1025 | 979 | Sort Key: t2.c1 |
1026 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
1027 | -(6 rows) | |
980 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
1028 | 981 | |
1029 | 982 | -- No. R-1-7-2 |
1030 | 983 | \o results/ut-R.tmpout |
@@ -1043,13 +996,12 @@ Rows(t1 t2 1) | ||
1043 | 996 | \! sql/maskout.sh results/ut-R.tmpout |
1044 | 997 | QUERY PLAN |
1045 | 998 | --------------------------------------------------------------------------- |
1046 | - Merge Join (cost=xxx rows=100 width=xxx) | |
999 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1047 | 1000 | Merge Cond: (t1.c1 = t2.c1) |
1048 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
1049 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1001 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1002 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1050 | 1003 | Sort Key: t2.c1 |
1051 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
1052 | -(6 rows) | |
1004 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
1053 | 1005 | |
1054 | 1006 | -- No. R-1-7-3 |
1055 | 1007 | \o results/ut-R.tmpout |
@@ -1068,13 +1020,12 @@ Rows(t1 t2 #notrows) | ||
1068 | 1020 | \! sql/maskout.sh results/ut-R.tmpout |
1069 | 1021 | QUERY PLAN |
1070 | 1022 | --------------------------------------------------------------------------- |
1071 | - Merge Join (cost=xxx rows=100 width=xxx) | |
1023 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1072 | 1024 | Merge Cond: (t1.c1 = t2.c1) |
1073 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
1074 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1025 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1026 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1075 | 1027 | Sort Key: t2.c1 |
1076 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
1077 | -(6 rows) | |
1028 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
1078 | 1029 | |
1079 | 1030 | ---- |
1080 | 1031 | ---- No. R-2-1 some complexity query blocks |
@@ -1119,50 +1070,49 @@ error hint: | ||
1119 | 1070 | \! sql/maskout.sh results/ut-R.tmpout |
1120 | 1071 | QUERY PLAN |
1121 | 1072 | -------------------------------------------------------------------------------------------------------------------- |
1122 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1073 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1123 | 1074 | InitPlan 1 (returns $1) |
1124 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1125 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1075 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1076 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1126 | 1077 | Join Filter: (b1t2.c1 = b1t1.c1) |
1127 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1078 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1128 | 1079 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1129 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1130 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1131 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1080 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1081 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1082 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1132 | 1083 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1133 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1134 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1084 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1085 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1135 | 1086 | Sort Key: b1t2.c1 |
1136 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1137 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1087 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1088 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1138 | 1089 | Index Cond: (c1 = b1t3.c1) |
1139 | 1090 | InitPlan 2 (returns $3) |
1140 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1141 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1142 | - -> Hash Join (cost=xxx rows=1000 width=xxx) | |
1091 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1092 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1093 | + -> Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
1143 | 1094 | Hash Cond: (b2t3.c1 = b2t1.c1) |
1144 | - -> Merge Join (cost=xxx rows=1130 width=xxx) | |
1095 | + -> Merge Join (cost=xxx..xxx rows=1130 width=xxx) | |
1145 | 1096 | Merge Cond: (b2t3.c1 = b2t4.c1) |
1146 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
1147 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
1148 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
1149 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
1150 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1097 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1098 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1099 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
1100 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1101 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
1151 | 1102 | Index Cond: (c1 = b2t1.c1) |
1152 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1153 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1103 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1104 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1154 | 1105 | Hash Cond: (bmt3.c1 = bmt1.c1) |
1155 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1156 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1157 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1106 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1107 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1108 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1158 | 1109 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1159 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
1160 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1110 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
1111 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1161 | 1112 | Sort Key: bmt2.c1 |
1162 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1163 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1113 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1114 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
1164 | 1115 | Index Cond: (c1 = bmt1.c1) |
1165 | -(43 rows) | |
1166 | 1116 | |
1167 | 1117 | \o results/ut-R.tmpout |
1168 | 1118 | /*+ |
@@ -1214,50 +1164,49 @@ error hint: | ||
1214 | 1164 | \! sql/maskout.sh results/ut-R.tmpout |
1215 | 1165 | QUERY PLAN |
1216 | 1166 | -------------------------------------------------------------------------------------------------------------------- |
1217 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1167 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1218 | 1168 | InitPlan 1 (returns $1) |
1219 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1220 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1169 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1170 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1221 | 1171 | Join Filter: (b1t2.c1 = b1t1.c1) |
1222 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1172 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1223 | 1173 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1224 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1225 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1226 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1174 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1175 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1176 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1227 | 1177 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1228 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1229 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1178 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1179 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1230 | 1180 | Sort Key: b1t2.c1 |
1231 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1232 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1181 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1182 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1233 | 1183 | Index Cond: (c1 = b1t3.c1) |
1234 | 1184 | InitPlan 2 (returns $3) |
1235 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1236 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1237 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1185 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1186 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1187 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1238 | 1188 | Hash Cond: (b2t1.c1 = b2t3.c1) |
1239 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
1240 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1241 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1189 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1190 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1191 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1242 | 1192 | Merge Cond: (b2t3.c1 = b2t4.c1) |
1243 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
1244 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
1245 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1193 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1194 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1195 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
1246 | 1196 | Index Cond: (c1 = b2t1.c1) |
1247 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1248 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1197 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1198 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1249 | 1199 | Hash Cond: (bmt3.c1 = bmt1.c1) |
1250 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1251 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1252 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1200 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1201 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1202 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1253 | 1203 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1254 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
1255 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1204 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
1205 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1256 | 1206 | Sort Key: bmt2.c1 |
1257 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1258 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1207 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1208 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
1259 | 1209 | Index Cond: (c1 = bmt1.c1) |
1260 | -(43 rows) | |
1261 | 1210 | |
1262 | 1211 | -- No. R-2-1-2 |
1263 | 1212 | \o results/ut-R.tmpout |
@@ -1307,63 +1256,62 @@ error hint: | ||
1307 | 1256 | \! sql/maskout.sh results/ut-R.tmpout |
1308 | 1257 | QUERY PLAN |
1309 | 1258 | -------------------------------------------------------------------------------------------------------------------- |
1310 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1259 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1311 | 1260 | InitPlan 1 (returns $1) |
1312 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1313 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1261 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1262 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1314 | 1263 | Join Filter: (b1t2.c1 = b1t1.c1) |
1315 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1264 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1316 | 1265 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1317 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1318 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1319 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1266 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1267 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1268 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1320 | 1269 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1321 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1322 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1270 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1271 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1323 | 1272 | Sort Key: b1t2.c1 |
1324 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1325 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1273 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1274 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1326 | 1275 | Index Cond: (c1 = b1t3.c1) |
1327 | 1276 | InitPlan 2 (returns $3) |
1328 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1329 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1330 | - -> Hash Join (cost=xxx rows=1000 width=xxx) | |
1277 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1278 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1279 | + -> Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
1331 | 1280 | Hash Cond: (b2t3.c1 = b2t1.c1) |
1332 | - -> Merge Join (cost=xxx rows=1130 width=xxx) | |
1281 | + -> Merge Join (cost=xxx..xxx rows=1130 width=xxx) | |
1333 | 1282 | Merge Cond: (b2t3.c1 = b2t4.c1) |
1334 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
1335 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
1336 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
1337 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
1338 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1283 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1284 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1285 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
1286 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1287 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
1339 | 1288 | Index Cond: (c1 = b2t1.c1) |
1340 | 1289 | InitPlan 3 (returns $5) |
1341 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1342 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1343 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1290 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1291 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1292 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1344 | 1293 | Hash Cond: (b3t1.c1 = b3t2.c1) |
1345 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
1294 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
1346 | 1295 | Merge Cond: (b3t1.c1 = b3t4.c1) |
1347 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
1348 | - -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
1349 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1350 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
1351 | - -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
1296 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1297 | + -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1298 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1299 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
1300 | + -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
1352 | 1301 | Index Cond: (c1 = b3t1.c1) |
1353 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1354 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1302 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1303 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1355 | 1304 | Hash Cond: (bmt3.c1 = bmt1.c1) |
1356 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1357 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1358 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1305 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1306 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1307 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1359 | 1308 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1360 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
1361 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1309 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
1310 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1362 | 1311 | Sort Key: bmt2.c1 |
1363 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1364 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1312 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1313 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
1365 | 1314 | Index Cond: (c1 = bmt1.c1) |
1366 | -(56 rows) | |
1367 | 1315 | |
1368 | 1316 | \o results/ut-R.tmpout |
1369 | 1317 | /*+ |
@@ -1428,63 +1376,62 @@ error hint: | ||
1428 | 1376 | \! sql/maskout.sh results/ut-R.tmpout |
1429 | 1377 | QUERY PLAN |
1430 | 1378 | -------------------------------------------------------------------------------------------------------------------- |
1431 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1379 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1432 | 1380 | InitPlan 1 (returns $1) |
1433 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1434 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1381 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1382 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1435 | 1383 | Join Filter: (b1t2.c1 = b1t1.c1) |
1436 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1384 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1437 | 1385 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1438 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1439 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1440 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1386 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1387 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1388 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1441 | 1389 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1442 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1443 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1390 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1391 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1444 | 1392 | Sort Key: b1t2.c1 |
1445 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1446 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1393 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1394 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1447 | 1395 | Index Cond: (c1 = b1t3.c1) |
1448 | 1396 | InitPlan 2 (returns $3) |
1449 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1450 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1451 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1397 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1398 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1399 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1452 | 1400 | Hash Cond: (b2t1.c1 = b2t3.c1) |
1453 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
1454 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1455 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1401 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1402 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1403 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1456 | 1404 | Merge Cond: (b2t3.c1 = b2t4.c1) |
1457 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
1458 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
1459 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1405 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1406 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1407 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
1460 | 1408 | Index Cond: (c1 = b2t1.c1) |
1461 | 1409 | InitPlan 3 (returns $5) |
1462 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1463 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1464 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1410 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1411 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1412 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1465 | 1413 | Hash Cond: (b3t1.c1 = b3t2.c1) |
1466 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1414 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1467 | 1415 | Merge Cond: (b3t1.c1 = b3t4.c1) |
1468 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
1469 | - -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
1470 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1471 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
1472 | - -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
1416 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1417 | + -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1418 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1419 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
1420 | + -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
1473 | 1421 | Index Cond: (c1 = b3t1.c1) |
1474 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1475 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1422 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1423 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1476 | 1424 | Hash Cond: (bmt3.c1 = bmt1.c1) |
1477 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1478 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1479 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1425 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1426 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1427 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1480 | 1428 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1481 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
1482 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1429 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
1430 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1483 | 1431 | Sort Key: bmt2.c1 |
1484 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1485 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1432 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1433 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
1486 | 1434 | Index Cond: (c1 = bmt1.c1) |
1487 | -(56 rows) | |
1488 | 1435 | |
1489 | 1436 | -- No. R-2-1-3 |
1490 | 1437 | \o results/ut-R.tmpout |
@@ -1503,22 +1450,21 @@ error hint: | ||
1503 | 1450 | \! sql/maskout.sh results/ut-R.tmpout |
1504 | 1451 | QUERY PLAN |
1505 | 1452 | ----------------------------------------------------------------------------------------------- |
1506 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1507 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1453 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1454 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1508 | 1455 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1509 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
1510 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1456 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
1457 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1511 | 1458 | Sort Key: bmt2.c1 |
1512 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1459 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1513 | 1460 | Hash Cond: (bmt3.c1 = bmt2.c1) |
1514 | - -> Hash Join (cost=xxx rows=1130 width=xxx) | |
1461 | + -> Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
1515 | 1462 | Hash Cond: (bmt3.c1 = bmt4.c1) |
1516 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1517 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
1518 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
1519 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1520 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1521 | -(15 rows) | |
1463 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1464 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
1465 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
1466 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1467 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1522 | 1468 | |
1523 | 1469 | \o results/ut-R.tmpout |
1524 | 1470 | /*+ |
@@ -1540,20 +1486,19 @@ error hint: | ||
1540 | 1486 | \! sql/maskout.sh results/ut-R.tmpout |
1541 | 1487 | QUERY PLAN |
1542 | 1488 | -------------------------------------------------------------------------------------------- |
1543 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1544 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1489 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1490 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1545 | 1491 | Join Filter: (bmt2.c1 = bmt1.c1) |
1546 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1547 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1492 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1493 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1548 | 1494 | Hash Cond: (bmt3.c1 = bmt4.c1) |
1549 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1550 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
1551 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
1552 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
1495 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1496 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
1497 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
1498 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
1553 | 1499 | Index Cond: (c1 = bmt3.c1) |
1554 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1 width=xxx) | |
1500 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1 width=xxx) | |
1555 | 1501 | Index Cond: (c1 = bmt3.c1) |
1556 | -(13 rows) | |
1557 | 1502 | |
1558 | 1503 | -- No. R-2-1-4 |
1559 | 1504 | \o results/ut-R.tmpout |
@@ -1572,22 +1517,21 @@ error hint: | ||
1572 | 1517 | \! sql/maskout.sh results/ut-R.tmpout |
1573 | 1518 | QUERY PLAN |
1574 | 1519 | ----------------------------------------------------------------------------------------------- |
1575 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1576 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1520 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1521 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1577 | 1522 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1578 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
1579 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1523 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
1524 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1580 | 1525 | Sort Key: bmt2.c1 |
1581 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1526 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1582 | 1527 | Hash Cond: (bmt3.c1 = bmt2.c1) |
1583 | - -> Hash Join (cost=xxx rows=1130 width=xxx) | |
1528 | + -> Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
1584 | 1529 | Hash Cond: (bmt3.c1 = bmt4.c1) |
1585 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1586 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
1587 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
1588 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1589 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1590 | -(15 rows) | |
1530 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1531 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
1532 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
1533 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1534 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1591 | 1535 | |
1592 | 1536 | \o results/ut-R.tmpout |
1593 | 1537 | /*+ |
@@ -1609,20 +1553,19 @@ error hint: | ||
1609 | 1553 | \! sql/maskout.sh results/ut-R.tmpout |
1610 | 1554 | QUERY PLAN |
1611 | 1555 | -------------------------------------------------------------------------------------------- |
1612 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1613 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1556 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1557 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1614 | 1558 | Join Filter: (bmt2.c1 = bmt1.c1) |
1615 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1616 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1559 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1560 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1617 | 1561 | Hash Cond: (bmt3.c1 = bmt4.c1) |
1618 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1619 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
1620 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
1621 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
1562 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1563 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
1564 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
1565 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
1622 | 1566 | Index Cond: (c1 = bmt3.c1) |
1623 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1 width=xxx) | |
1567 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1 width=xxx) | |
1624 | 1568 | Index Cond: (c1 = bmt3.c1) |
1625 | -(13 rows) | |
1626 | 1569 | |
1627 | 1570 | -- No. R-2-1-5 |
1628 | 1571 | \o results/ut-R.tmpout |
@@ -1663,51 +1606,50 @@ error hint: | ||
1663 | 1606 | \! sql/maskout.sh results/ut-R.tmpout |
1664 | 1607 | QUERY PLAN |
1665 | 1608 | -------------------------------------------------------------------------------------------------------------------- |
1666 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1609 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1667 | 1610 | InitPlan 1 (returns $1) |
1668 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1669 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1611 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1612 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1670 | 1613 | Join Filter: (b1t2.c1 = b1t1.c1) |
1671 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1614 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1672 | 1615 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1673 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1674 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1675 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1616 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1617 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1618 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1676 | 1619 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1677 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1678 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1620 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1621 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1679 | 1622 | Sort Key: b1t2.c1 |
1680 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1681 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1623 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1624 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1682 | 1625 | Index Cond: (c1 = b1t3.c1) |
1683 | 1626 | InitPlan 2 (returns $3) |
1684 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1685 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1686 | - -> Hash Join (cost=xxx rows=1000 width=xxx) | |
1627 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1628 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1629 | + -> Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
1687 | 1630 | Hash Cond: (b2t3.c1 = b2t1.c1) |
1688 | - -> Merge Join (cost=xxx rows=1130 width=xxx) | |
1631 | + -> Merge Join (cost=xxx..xxx rows=1130 width=xxx) | |
1689 | 1632 | Merge Cond: (b2t3.c1 = b2t4.c1) |
1690 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
1691 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
1692 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
1693 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
1694 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1633 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1634 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1635 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
1636 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1637 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
1695 | 1638 | Index Cond: (c1 = b2t1.c1) |
1696 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1697 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1639 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1640 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1698 | 1641 | Hash Cond: (bmt3.c1 = bmt1.c1) |
1699 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1700 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1701 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1642 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1643 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1644 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1702 | 1645 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1703 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=998 width=xxx) | |
1646 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=998 width=xxx) | |
1704 | 1647 | Filter: ((c1 <> $1) AND (c1 <> $3)) |
1705 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1648 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1706 | 1649 | Sort Key: bmt2.c1 |
1707 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1708 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1650 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1651 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
1709 | 1652 | Index Cond: (c1 = bmt1.c1) |
1710 | -(44 rows) | |
1711 | 1653 | |
1712 | 1654 | \o results/ut-R.tmpout |
1713 | 1655 | /*+ |
@@ -1760,51 +1702,50 @@ error hint: | ||
1760 | 1702 | \! sql/maskout.sh results/ut-R.tmpout |
1761 | 1703 | QUERY PLAN |
1762 | 1704 | -------------------------------------------------------------------------------------------------------------------- |
1763 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1705 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1764 | 1706 | InitPlan 1 (returns $1) |
1765 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1766 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1707 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1708 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1767 | 1709 | Join Filter: (b1t2.c1 = b1t1.c1) |
1768 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1710 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1769 | 1711 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1770 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1771 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1772 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1712 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1713 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1714 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1773 | 1715 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1774 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1775 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1716 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1717 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1776 | 1718 | Sort Key: b1t2.c1 |
1777 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1778 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1719 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1720 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1779 | 1721 | Index Cond: (c1 = b1t3.c1) |
1780 | 1722 | InitPlan 2 (returns $3) |
1781 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1782 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1783 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1723 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1724 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1725 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1784 | 1726 | Hash Cond: (b2t1.c1 = b2t3.c1) |
1785 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
1786 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1787 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1727 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1728 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1729 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1788 | 1730 | Merge Cond: (b2t3.c1 = b2t4.c1) |
1789 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
1790 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
1791 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1731 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1732 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1733 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
1792 | 1734 | Index Cond: (c1 = b2t1.c1) |
1793 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1794 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1735 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1736 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1795 | 1737 | Hash Cond: (bmt3.c1 = bmt1.c1) |
1796 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1797 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1798 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1738 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1739 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1740 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1799 | 1741 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1800 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=998 width=xxx) | |
1742 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=998 width=xxx) | |
1801 | 1743 | Filter: ((c1 <> $1) AND (c1 <> $3)) |
1802 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1744 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1803 | 1745 | Sort Key: bmt2.c1 |
1804 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1805 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1746 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1747 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
1806 | 1748 | Index Cond: (c1 = bmt1.c1) |
1807 | -(44 rows) | |
1808 | 1749 | |
1809 | 1750 | -- No. R-2-1-6 |
1810 | 1751 | \o results/ut-R.tmpout |
@@ -1854,64 +1795,63 @@ error hint: | ||
1854 | 1795 | \! sql/maskout.sh results/ut-R.tmpout |
1855 | 1796 | QUERY PLAN |
1856 | 1797 | -------------------------------------------------------------------------------------------------------------------- |
1857 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1798 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1858 | 1799 | InitPlan 1 (returns $1) |
1859 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1860 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1800 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1801 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1861 | 1802 | Join Filter: (b1t2.c1 = b1t1.c1) |
1862 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1803 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1863 | 1804 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1864 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1865 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1866 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1805 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1806 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1807 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1867 | 1808 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1868 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1869 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1809 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1810 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1870 | 1811 | Sort Key: b1t2.c1 |
1871 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1872 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1812 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1813 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1873 | 1814 | Index Cond: (c1 = b1t3.c1) |
1874 | 1815 | InitPlan 2 (returns $3) |
1875 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1876 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1877 | - -> Hash Join (cost=xxx rows=1000 width=xxx) | |
1816 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1817 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1818 | + -> Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
1878 | 1819 | Hash Cond: (b2t3.c1 = b2t1.c1) |
1879 | - -> Merge Join (cost=xxx rows=1130 width=xxx) | |
1820 | + -> Merge Join (cost=xxx..xxx rows=1130 width=xxx) | |
1880 | 1821 | Merge Cond: (b2t3.c1 = b2t4.c1) |
1881 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
1882 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
1883 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
1884 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
1885 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1822 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1823 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1824 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
1825 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1826 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
1886 | 1827 | Index Cond: (c1 = b2t1.c1) |
1887 | 1828 | InitPlan 3 (returns $5) |
1888 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1889 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1890 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1829 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1830 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1831 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1891 | 1832 | Hash Cond: (b3t1.c1 = b3t2.c1) |
1892 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
1833 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
1893 | 1834 | Merge Cond: (b3t1.c1 = b3t4.c1) |
1894 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
1895 | - -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
1896 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1897 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
1898 | - -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
1835 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1836 | + -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1837 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1838 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
1839 | + -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
1899 | 1840 | Index Cond: (c1 = b3t1.c1) |
1900 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
1901 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
1841 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
1842 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
1902 | 1843 | Hash Cond: (bmt3.c1 = bmt1.c1) |
1903 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
1904 | - -> Hash (cost=xxx rows=100 width=xxx) | |
1905 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
1844 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1845 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1846 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
1906 | 1847 | Merge Cond: (bmt1.c1 = bmt2.c1) |
1907 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=997 width=xxx) | |
1848 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=997 width=xxx) | |
1908 | 1849 | Filter: ((c1 <> $1) AND (c1 <> $3) AND (c1 <> $5)) |
1909 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1850 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1910 | 1851 | Sort Key: bmt2.c1 |
1911 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
1912 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1852 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1853 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
1913 | 1854 | Index Cond: (c1 = bmt1.c1) |
1914 | -(57 rows) | |
1915 | 1855 | |
1916 | 1856 | \o results/ut-R.tmpout |
1917 | 1857 | /*+ |
@@ -1976,64 +1916,63 @@ error hint: | ||
1976 | 1916 | \! sql/maskout.sh results/ut-R.tmpout |
1977 | 1917 | QUERY PLAN |
1978 | 1918 | -------------------------------------------------------------------------------------------------------------------- |
1979 | - Aggregate (cost=xxx rows=1 width=xxx) | |
1919 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1980 | 1920 | InitPlan 1 (returns $1) |
1981 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1982 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1921 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1922 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1983 | 1923 | Join Filter: (b1t2.c1 = b1t1.c1) |
1984 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1924 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
1985 | 1925 | Hash Cond: (b1t4.c1 = b1t2.c1) |
1986 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
1987 | - -> Hash (cost=xxx rows=1 width=xxx) | |
1988 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1926 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1927 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1928 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
1989 | 1929 | Merge Cond: (b1t3.c1 = b1t2.c1) |
1990 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
1991 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1930 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1931 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
1992 | 1932 | Sort Key: b1t2.c1 |
1993 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
1994 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
1933 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
1934 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
1995 | 1935 | Index Cond: (c1 = b1t3.c1) |
1996 | 1936 | InitPlan 2 (returns $3) |
1997 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
1998 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
1999 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1937 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1938 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1939 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2000 | 1940 | Hash Cond: (b2t1.c1 = b2t3.c1) |
2001 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2002 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2003 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1941 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1942 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1943 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2004 | 1944 | Merge Cond: (b2t3.c1 = b2t4.c1) |
2005 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
2006 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
2007 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
1945 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
1946 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1947 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
2008 | 1948 | Index Cond: (c1 = b2t1.c1) |
2009 | 1949 | InitPlan 3 (returns $5) |
2010 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2011 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2012 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1950 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
1951 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1952 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2013 | 1953 | Hash Cond: (b3t1.c1 = b3t2.c1) |
2014 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1954 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2015 | 1955 | Merge Cond: (b3t1.c1 = b3t4.c1) |
2016 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
2017 | - -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
2018 | - -> Hash (cost=xxx rows=100 width=xxx) | |
2019 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
2020 | - -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
1956 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
1957 | + -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
1958 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
1959 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
1960 | + -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
2021 | 1961 | Index Cond: (c1 = b3t1.c1) |
2022 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2023 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
1962 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
1963 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2024 | 1964 | Hash Cond: (bmt3.c1 = bmt1.c1) |
2025 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
2026 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2027 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
1965 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
1966 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
1967 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2028 | 1968 | Merge Cond: (bmt1.c1 = bmt2.c1) |
2029 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=997 width=xxx) | |
1969 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=997 width=xxx) | |
2030 | 1970 | Filter: ((c1 <> $1) AND (c1 <> $3) AND (c1 <> $5)) |
2031 | - -> Sort (cost=xxx rows=100 width=xxx) | |
1971 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2032 | 1972 | Sort Key: bmt2.c1 |
2033 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
2034 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
1973 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
1974 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
2035 | 1975 | Index Cond: (c1 = bmt1.c1) |
2036 | -(57 rows) | |
2037 | 1976 | |
2038 | 1977 | -- No. R-2-1-7 |
2039 | 1978 | \o results/ut-R.tmpout |
@@ -2082,61 +2021,60 @@ error hint: | ||
2082 | 2021 | \! sql/maskout.sh results/ut-R.tmpout |
2083 | 2022 | QUERY PLAN |
2084 | 2023 | -------------------------------------------------------------------------------------------------------------------- |
2085 | - Aggregate (cost=xxx rows=1 width=xxx) | |
2024 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2086 | 2025 | CTE c1 |
2087 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2088 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2026 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2027 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2089 | 2028 | Join Filter: (b1t2.c1 = b1t1.c1) |
2090 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
2029 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
2091 | 2030 | Hash Cond: (b1t4.c1 = b1t2.c1) |
2092 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
2093 | - -> Hash (cost=xxx rows=100 width=xxx) | |
2094 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2031 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2032 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
2033 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2095 | 2034 | Merge Cond: (b1t3.c1 = b1t2.c1) |
2096 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
2097 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2035 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2036 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2098 | 2037 | Sort Key: b1t2.c1 |
2099 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
2100 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
2038 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
2039 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
2101 | 2040 | Index Cond: (c1 = b1t3.c1) |
2102 | 2041 | CTE c2 |
2103 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2104 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2105 | - -> Hash Join (cost=xxx rows=1000 width=xxx) | |
2042 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2043 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2044 | + -> Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
2106 | 2045 | Hash Cond: (b2t3.c1 = b2t1.c1) |
2107 | - -> Merge Join (cost=xxx rows=1130 width=xxx) | |
2046 | + -> Merge Join (cost=xxx..xxx rows=1130 width=xxx) | |
2108 | 2047 | Merge Cond: (b2t3.c1 = b2t4.c1) |
2109 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
2110 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
2111 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
2112 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2113 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
2048 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2049 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2050 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
2051 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2052 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
2114 | 2053 | Index Cond: (c1 = b2t1.c1) |
2115 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2054 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2116 | 2055 | Hash Cond: (bmt4.c1 = bmt1.c1) |
2117 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
2118 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2119 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2056 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
2057 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2058 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2120 | 2059 | Merge Cond: (bmt3.c1 = bmt1.c1) |
2121 | - -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
2122 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2060 | + -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
2061 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2123 | 2062 | Sort Key: bmt1.c1 |
2124 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2125 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2063 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2064 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2126 | 2065 | Hash Cond: (bmt1.c1 = c1.c1) |
2127 | - -> Seq Scan on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
2128 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2129 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2066 | + -> Seq Scan on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
2067 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2068 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2130 | 2069 | Merge Cond: (c1.c1 = c2.c1) |
2131 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2070 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2132 | 2071 | Sort Key: c1.c1 |
2133 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
2134 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2072 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
2073 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2135 | 2074 | Sort Key: c2.c1 |
2136 | - -> CTE Scan on c2 (cost=xxx rows=1 width=xxx) | |
2137 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
2075 | + -> CTE Scan on c2 (cost=xxx..xxx rows=1 width=xxx) | |
2076 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
2138 | 2077 | Index Cond: (c1 = bmt1.c1) |
2139 | -(54 rows) | |
2140 | 2078 | |
2141 | 2079 | \o results/ut-R.tmpout |
2142 | 2080 | /*+ |
@@ -2197,61 +2135,60 @@ error hint: | ||
2197 | 2135 | \! sql/maskout.sh results/ut-R.tmpout |
2198 | 2136 | QUERY PLAN |
2199 | 2137 | -------------------------------------------------------------------------------------------------------------------- |
2200 | - Aggregate (cost=xxx rows=1 width=xxx) | |
2138 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2201 | 2139 | CTE c1 |
2202 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2203 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2140 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2141 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2204 | 2142 | Join Filter: (b1t2.c1 = b1t1.c1) |
2205 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2143 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2206 | 2144 | Hash Cond: (b1t4.c1 = b1t2.c1) |
2207 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
2208 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2209 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2145 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2146 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2147 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2210 | 2148 | Merge Cond: (b1t3.c1 = b1t2.c1) |
2211 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
2212 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2149 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2150 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2213 | 2151 | Sort Key: b1t2.c1 |
2214 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
2215 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
2152 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
2153 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
2216 | 2154 | Index Cond: (c1 = b1t3.c1) |
2217 | 2155 | CTE c2 |
2218 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2219 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2220 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2156 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2157 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2158 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2221 | 2159 | Hash Cond: (b2t1.c1 = b2t3.c1) |
2222 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2223 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2224 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2160 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2161 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2162 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2225 | 2163 | Merge Cond: (b2t3.c1 = b2t4.c1) |
2226 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
2227 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
2228 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
2164 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2165 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2166 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
2229 | 2167 | Index Cond: (c1 = b2t1.c1) |
2230 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2168 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2231 | 2169 | Hash Cond: (bmt4.c1 = bmt1.c1) |
2232 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
2233 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2234 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2170 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
2171 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2172 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2235 | 2173 | Merge Cond: (bmt3.c1 = bmt1.c1) |
2236 | - -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
2237 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2174 | + -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
2175 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2238 | 2176 | Sort Key: bmt1.c1 |
2239 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2240 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2177 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2178 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2241 | 2179 | Hash Cond: (bmt1.c1 = c1.c1) |
2242 | - -> Seq Scan on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
2243 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2244 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2180 | + -> Seq Scan on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
2181 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2182 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2245 | 2183 | Merge Cond: (c1.c1 = c2.c1) |
2246 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2184 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2247 | 2185 | Sort Key: c1.c1 |
2248 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
2249 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2186 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
2187 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2250 | 2188 | Sort Key: c2.c1 |
2251 | - -> CTE Scan on c2 (cost=xxx rows=1 width=xxx) | |
2252 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
2189 | + -> CTE Scan on c2 (cost=xxx..xxx rows=1 width=xxx) | |
2190 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
2253 | 2191 | Index Cond: (c1 = bmt1.c1) |
2254 | -(54 rows) | |
2255 | 2192 | |
2256 | 2193 | -- No. R-2-1-8 |
2257 | 2194 | \o results/ut-R.tmpout |
@@ -2310,80 +2247,79 @@ error hint: | ||
2310 | 2247 | \! sql/maskout.sh results/ut-R.tmpout |
2311 | 2248 | QUERY PLAN |
2312 | 2249 | -------------------------------------------------------------------------------------------------------------------- |
2313 | - Aggregate (cost=xxx rows=1 width=xxx) | |
2250 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2314 | 2251 | CTE c1 |
2315 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2316 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2252 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2253 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2317 | 2254 | Join Filter: (b1t2.c1 = b1t1.c1) |
2318 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
2255 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
2319 | 2256 | Hash Cond: (b1t4.c1 = b1t2.c1) |
2320 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
2321 | - -> Hash (cost=xxx rows=100 width=xxx) | |
2322 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2257 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2258 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
2259 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2323 | 2260 | Merge Cond: (b1t3.c1 = b1t2.c1) |
2324 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
2325 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2261 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2262 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2326 | 2263 | Sort Key: b1t2.c1 |
2327 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
2328 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
2264 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
2265 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
2329 | 2266 | Index Cond: (c1 = b1t3.c1) |
2330 | 2267 | CTE c2 |
2331 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2332 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2333 | - -> Hash Join (cost=xxx rows=1000 width=xxx) | |
2268 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2269 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2270 | + -> Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
2334 | 2271 | Hash Cond: (b2t3.c1 = b2t1.c1) |
2335 | - -> Merge Join (cost=xxx rows=1130 width=xxx) | |
2272 | + -> Merge Join (cost=xxx..xxx rows=1130 width=xxx) | |
2336 | 2273 | Merge Cond: (b2t3.c1 = b2t4.c1) |
2337 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
2338 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
2339 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
2340 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2341 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
2274 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2275 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2276 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
2277 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2278 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
2342 | 2279 | Index Cond: (c1 = b2t1.c1) |
2343 | 2280 | CTE c3 |
2344 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2345 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2346 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
2281 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2282 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2283 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
2347 | 2284 | Hash Cond: (b3t1.c1 = b3t2.c1) |
2348 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
2285 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
2349 | 2286 | Merge Cond: (b3t1.c1 = b3t4.c1) |
2350 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
2351 | - -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
2352 | - -> Hash (cost=xxx rows=100 width=xxx) | |
2353 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
2354 | - -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
2287 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2288 | + -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2289 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
2290 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
2291 | + -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
2355 | 2292 | Index Cond: (c1 = b3t1.c1) |
2356 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2357 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2293 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2294 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2358 | 2295 | Hash Cond: (bmt3.c1 = bmt1.c1) |
2359 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
2360 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2361 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2296 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
2297 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2298 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2362 | 2299 | Merge Cond: (bmt1.c1 = bmt2.c1) |
2363 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2300 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2364 | 2301 | Sort Key: bmt1.c1 |
2365 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2302 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2366 | 2303 | Join Filter: (c1.c1 = bmt1.c1) |
2367 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2304 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2368 | 2305 | Hash Cond: (c2.c1 = c1.c1) |
2369 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2306 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2370 | 2307 | Merge Cond: (c2.c1 = c3.c1) |
2371 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2308 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2372 | 2309 | Sort Key: c2.c1 |
2373 | - -> CTE Scan on c2 (cost=xxx rows=1 width=xxx) | |
2374 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2310 | + -> CTE Scan on c2 (cost=xxx..xxx rows=1 width=xxx) | |
2311 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2375 | 2312 | Sort Key: c3.c1 |
2376 | - -> CTE Scan on c3 (cost=xxx rows=1 width=xxx) | |
2377 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2378 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
2379 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1 width=xxx) | |
2313 | + -> CTE Scan on c3 (cost=xxx..xxx rows=1 width=xxx) | |
2314 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2315 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
2316 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1 width=xxx) | |
2380 | 2317 | Index Cond: (c1 = c2.c1) |
2381 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2318 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2382 | 2319 | Sort Key: bmt2.c1 |
2383 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
2384 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
2320 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
2321 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
2385 | 2322 | Index Cond: (c1 = bmt1.c1) |
2386 | -(73 rows) | |
2387 | 2323 | |
2388 | 2324 | \o results/ut-R.tmpout |
2389 | 2325 | /*+ |
@@ -2460,80 +2396,79 @@ error hint: | ||
2460 | 2396 | \! sql/maskout.sh results/ut-R.tmpout |
2461 | 2397 | QUERY PLAN |
2462 | 2398 | -------------------------------------------------------------------------------------------------------------------- |
2463 | - Aggregate (cost=xxx rows=1 width=xxx) | |
2399 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2464 | 2400 | CTE c1 |
2465 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2466 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2401 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2402 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2467 | 2403 | Join Filter: (b1t2.c1 = b1t1.c1) |
2468 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2404 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2469 | 2405 | Hash Cond: (b1t4.c1 = b1t2.c1) |
2470 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
2471 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2472 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2406 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2407 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2408 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2473 | 2409 | Merge Cond: (b1t3.c1 = b1t2.c1) |
2474 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
2475 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2410 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2411 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2476 | 2412 | Sort Key: b1t2.c1 |
2477 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
2478 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
2413 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
2414 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
2479 | 2415 | Index Cond: (c1 = b1t3.c1) |
2480 | 2416 | CTE c2 |
2481 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2482 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2483 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2417 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2418 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2419 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2484 | 2420 | Hash Cond: (b2t1.c1 = b2t3.c1) |
2485 | - -> Seq Scan on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2486 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2487 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2421 | + -> Seq Scan on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2422 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2423 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2488 | 2424 | Merge Cond: (b2t3.c1 = b2t4.c1) |
2489 | - -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
2490 | - -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
2491 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
2425 | + -> Index Only Scan using t3_i1 on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2426 | + -> Index Only Scan using t4_i1 on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2427 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
2492 | 2428 | Index Cond: (c1 = b2t1.c1) |
2493 | 2429 | CTE c3 |
2494 | - -> Aggregate (cost=xxx rows=1 width=xxx) | |
2495 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2496 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2430 | + -> Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
2431 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2432 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2497 | 2433 | Hash Cond: (b3t1.c1 = b3t2.c1) |
2498 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2434 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2499 | 2435 | Merge Cond: (b3t1.c1 = b3t4.c1) |
2500 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
2501 | - -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
2502 | - -> Hash (cost=xxx rows=100 width=xxx) | |
2503 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
2504 | - -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
2436 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2437 | + -> Index Only Scan using t4_i1 on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2438 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
2439 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
2440 | + -> Index Only Scan using t3_i1 on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
2505 | 2441 | Index Cond: (c1 = b3t1.c1) |
2506 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2507 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2442 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2443 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2508 | 2444 | Hash Cond: (bmt3.c1 = bmt1.c1) |
2509 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
2510 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2511 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2445 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
2446 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2447 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2512 | 2448 | Merge Cond: (bmt1.c1 = bmt2.c1) |
2513 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2449 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2514 | 2450 | Sort Key: bmt1.c1 |
2515 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
2451 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2516 | 2452 | Join Filter: (c1.c1 = bmt1.c1) |
2517 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2453 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2518 | 2454 | Hash Cond: (c2.c1 = c1.c1) |
2519 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2455 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2520 | 2456 | Merge Cond: (c2.c1 = c3.c1) |
2521 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2457 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2522 | 2458 | Sort Key: c2.c1 |
2523 | - -> CTE Scan on c2 (cost=xxx rows=1 width=xxx) | |
2524 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2459 | + -> CTE Scan on c2 (cost=xxx..xxx rows=1 width=xxx) | |
2460 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2525 | 2461 | Sort Key: c3.c1 |
2526 | - -> CTE Scan on c3 (cost=xxx rows=1 width=xxx) | |
2527 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2528 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
2529 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1 width=xxx) | |
2462 | + -> CTE Scan on c3 (cost=xxx..xxx rows=1 width=xxx) | |
2463 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2464 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
2465 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1 width=xxx) | |
2530 | 2466 | Index Cond: (c1 = c2.c1) |
2531 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2467 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2532 | 2468 | Sort Key: bmt2.c1 |
2533 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
2534 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
2469 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
2470 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
2535 | 2471 | Index Cond: (c1 = bmt1.c1) |
2536 | -(73 rows) | |
2537 | 2472 | |
2538 | 2473 | ---- |
2539 | 2474 | ---- No. R-2-2 the number of the tables per quiry block |
@@ -2566,22 +2501,21 @@ error hint: | ||
2566 | 2501 | \! sql/maskout.sh results/ut-R.tmpout |
2567 | 2502 | QUERY PLAN |
2568 | 2503 | ---------------------------------------------------------------------------------- |
2569 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
2504 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2570 | 2505 | CTE c1 |
2571 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
2506 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
2572 | 2507 | Index Cond: (c1 = 1) |
2573 | 2508 | InitPlan 2 (returns $1) |
2574 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
2509 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
2575 | 2510 | Index Cond: (c1 = 1) |
2576 | 2511 | InitPlan 3 (returns $2) |
2577 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1 width=xxx) | |
2512 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1 width=xxx) | |
2578 | 2513 | Index Cond: (c1 = 1) |
2579 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1 width=xxx) | |
2514 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1 width=xxx) | |
2580 | 2515 | Index Cond: (c1 = 1) |
2581 | 2516 | Filter: (c1 <> $2) |
2582 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
2517 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
2583 | 2518 | Filter: (c1 = 1) |
2584 | -(15 rows) | |
2585 | 2519 | |
2586 | 2520 | \o results/ut-R.tmpout |
2587 | 2521 | /*+ |
@@ -2618,22 +2552,21 @@ error hint: | ||
2618 | 2552 | \! sql/maskout.sh results/ut-R.tmpout |
2619 | 2553 | QUERY PLAN |
2620 | 2554 | ---------------------------------------------------------------------------------- |
2621 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
2555 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2622 | 2556 | CTE c1 |
2623 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
2557 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
2624 | 2558 | Index Cond: (c1 = 1) |
2625 | 2559 | InitPlan 2 (returns $1) |
2626 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
2560 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
2627 | 2561 | Index Cond: (c1 = 1) |
2628 | 2562 | InitPlan 3 (returns $2) |
2629 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1 width=xxx) | |
2563 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1 width=xxx) | |
2630 | 2564 | Index Cond: (c1 = 1) |
2631 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1 width=xxx) | |
2565 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1 width=xxx) | |
2632 | 2566 | Index Cond: (c1 = 1) |
2633 | 2567 | Filter: (c1 <> $2) |
2634 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
2568 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
2635 | 2569 | Filter: (c1 = 1) |
2636 | -(15 rows) | |
2637 | 2570 | |
2638 | 2571 | -- No. R-2-2-2 |
2639 | 2572 | \o results/ut-R.tmpout |
@@ -2679,41 +2612,40 @@ error hint: | ||
2679 | 2612 | \! sql/maskout.sh results/ut-R.tmpout |
2680 | 2613 | QUERY PLAN |
2681 | 2614 | -------------------------------------------------------------------------------------------- |
2682 | - Hash Join (cost=xxx rows=10 width=xxx) | |
2615 | + Hash Join (cost=xxx..xxx rows=10 width=xxx) | |
2683 | 2616 | Hash Cond: (bmt1.c1 = bmt2.c1) |
2684 | 2617 | CTE c1 |
2685 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2618 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2686 | 2619 | Merge Cond: (b1t1.c1 = b1t2.c1) |
2687 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1000 width=xxx) | |
2688 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2620 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2621 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2689 | 2622 | Sort Key: b1t2.c1 |
2690 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
2623 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
2691 | 2624 | InitPlan 2 (returns $1) |
2692 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2625 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2693 | 2626 | Merge Cond: (b2t1.c1 = b2t2.c1) |
2694 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2695 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2627 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2628 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2696 | 2629 | Sort Key: b2t2.c1 |
2697 | - -> Seq Scan on t2 b2t2 (cost=xxx rows=100 width=xxx) | |
2630 | + -> Seq Scan on t2 b2t2 (cost=xxx..xxx rows=100 width=xxx) | |
2698 | 2631 | InitPlan 3 (returns $2) |
2699 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2632 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2700 | 2633 | Merge Cond: (b3t1.c1 = b3t2.c1) |
2701 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
2702 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2634 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2635 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2703 | 2636 | Sort Key: b3t2.c1 |
2704 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
2705 | - -> Seq Scan on t1 bmt1 (cost=xxx rows=999 width=xxx) | |
2637 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
2638 | + -> Seq Scan on t1 bmt1 (cost=xxx..xxx rows=999 width=xxx) | |
2706 | 2639 | Filter: (c1 <> $2) |
2707 | - -> Hash (cost=xxx rows=100 width=xxx) | |
2708 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2640 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
2641 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2709 | 2642 | Merge Cond: (bmt2.c1 = c1.c1) |
2710 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2643 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2711 | 2644 | Sort Key: bmt2.c1 |
2712 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
2713 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2645 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
2646 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2714 | 2647 | Sort Key: c1.c1 |
2715 | - -> CTE Scan on c1 (cost=xxx rows=100 width=xxx) | |
2716 | -(34 rows) | |
2648 | + -> CTE Scan on c1 (cost=xxx..xxx rows=100 width=xxx) | |
2717 | 2649 | |
2718 | 2650 | \o results/ut-R.tmpout |
2719 | 2651 | /*+ |
@@ -2769,41 +2701,40 @@ error hint: | ||
2769 | 2701 | \! sql/maskout.sh results/ut-R.tmpout |
2770 | 2702 | QUERY PLAN |
2771 | 2703 | -------------------------------------------------------------------------------------------- |
2772 | - Hash Join (cost=xxx rows=1 width=xxx) | |
2704 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
2773 | 2705 | Hash Cond: (bmt1.c1 = bmt2.c1) |
2774 | 2706 | CTE c1 |
2775 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2707 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2776 | 2708 | Merge Cond: (b1t1.c1 = b1t2.c1) |
2777 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1000 width=xxx) | |
2778 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2709 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2710 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2779 | 2711 | Sort Key: b1t2.c1 |
2780 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
2712 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
2781 | 2713 | InitPlan 2 (returns $1) |
2782 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2714 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2783 | 2715 | Merge Cond: (b2t1.c1 = b2t2.c1) |
2784 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2785 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2716 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2717 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2786 | 2718 | Sort Key: b2t2.c1 |
2787 | - -> Seq Scan on t2 b2t2 (cost=xxx rows=100 width=xxx) | |
2719 | + -> Seq Scan on t2 b2t2 (cost=xxx..xxx rows=100 width=xxx) | |
2788 | 2720 | InitPlan 3 (returns $2) |
2789 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2721 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2790 | 2722 | Merge Cond: (b3t1.c1 = b3t2.c1) |
2791 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
2792 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2723 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2724 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2793 | 2725 | Sort Key: b3t2.c1 |
2794 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=100 width=xxx) | |
2795 | - -> Seq Scan on t1 bmt1 (cost=xxx rows=999 width=xxx) | |
2726 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=100 width=xxx) | |
2727 | + -> Seq Scan on t1 bmt1 (cost=xxx..xxx rows=999 width=xxx) | |
2796 | 2728 | Filter: (c1 <> $2) |
2797 | - -> Hash (cost=xxx rows=1 width=xxx) | |
2798 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2729 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2730 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
2799 | 2731 | Merge Cond: (bmt2.c1 = c1.c1) |
2800 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2732 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2801 | 2733 | Sort Key: bmt2.c1 |
2802 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
2803 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2734 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
2735 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
2804 | 2736 | Sort Key: c1.c1 |
2805 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
2806 | -(34 rows) | |
2737 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
2807 | 2738 | |
2808 | 2739 | -- No. R-2-2-3 |
2809 | 2740 | \o results/ut-R.tmpout |
@@ -2864,68 +2795,67 @@ error hint: | ||
2864 | 2795 | \! sql/maskout.sh results/ut-R.tmpout |
2865 | 2796 | QUERY PLAN |
2866 | 2797 | ------------------------------------------------------------------------------------------------------------------ |
2867 | - Merge Join (cost=xxx rows=10 width=xxx) | |
2798 | + Merge Join (cost=xxx..xxx rows=10 width=xxx) | |
2868 | 2799 | Merge Cond: (bmt1.c1 = bmt2.c1) |
2869 | 2800 | CTE c1 |
2870 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2801 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2871 | 2802 | Merge Cond: (b1t1.c1 = b1t2.c1) |
2872 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1000 width=xxx) | |
2873 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2803 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2804 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2874 | 2805 | Sort Key: b1t2.c1 |
2875 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2876 | - -> Hash Join (cost=xxx rows=1130 width=xxx) | |
2806 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2807 | + -> Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
2877 | 2808 | Hash Cond: (b1t3.c1 = b1t4.c1) |
2878 | - -> Seq Scan on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
2879 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
2880 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
2881 | - -> Index Only Scan using t2_i1 on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
2809 | + -> Seq Scan on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2810 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
2811 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2812 | + -> Index Only Scan using t2_i1 on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
2882 | 2813 | Index Cond: (c1 = b1t3.c1) |
2883 | 2814 | InitPlan 2 (returns $3) |
2884 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2815 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2885 | 2816 | Merge Cond: (b2t1.c1 = b2t2.c1) |
2886 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
2887 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2817 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2818 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2888 | 2819 | Sort Key: b2t2.c1 |
2889 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2890 | - -> Hash Join (cost=xxx rows=1130 width=xxx) | |
2820 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2821 | + -> Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
2891 | 2822 | Hash Cond: (b2t3.c1 = b2t4.c1) |
2892 | - -> Seq Scan on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
2893 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
2894 | - -> Seq Scan on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
2895 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
2823 | + -> Seq Scan on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2824 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
2825 | + -> Seq Scan on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2826 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
2896 | 2827 | Index Cond: (c1 = b2t3.c1) |
2897 | 2828 | InitPlan 3 (returns $5) |
2898 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2829 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2899 | 2830 | Merge Cond: (b3t1.c1 = b3t2.c1) |
2900 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
2901 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2831 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2832 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2902 | 2833 | Sort Key: b3t2.c1 |
2903 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2904 | - -> Hash Join (cost=xxx rows=1130 width=xxx) | |
2834 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2835 | + -> Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
2905 | 2836 | Hash Cond: (b3t3.c1 = b3t4.c1) |
2906 | - -> Seq Scan on t3 b3t3 (cost=xxx rows=1130 width=xxx) | |
2907 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
2908 | - -> Seq Scan on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
2909 | - -> Index Only Scan using t2_i1 on t2 b3t2 (cost=xxx rows=1 width=xxx) | |
2837 | + -> Seq Scan on t3 b3t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2838 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
2839 | + -> Seq Scan on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2840 | + -> Index Only Scan using t2_i1 on t2 b3t2 (cost=xxx..xxx rows=1 width=xxx) | |
2910 | 2841 | Index Cond: (c1 = b3t3.c1) |
2911 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=999 width=xxx) | |
2842 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=999 width=xxx) | |
2912 | 2843 | Filter: (c1 <> $5) |
2913 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2844 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2914 | 2845 | Sort Key: bmt2.c1 |
2915 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
2916 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
2846 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
2847 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
2917 | 2848 | Hash Cond: (bmt3.c1 = bmt4.c1) |
2918 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
2919 | - -> Hash (cost=xxx rows=100 width=xxx) | |
2920 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
2849 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
2850 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
2851 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
2921 | 2852 | Merge Cond: (bmt4.c1 = c1.c1) |
2922 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
2923 | - -> Sort (cost=xxx rows=100 width=xxx) | |
2853 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
2854 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
2924 | 2855 | Sort Key: c1.c1 |
2925 | - -> CTE Scan on c1 (cost=xxx rows=100 width=xxx) | |
2926 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
2856 | + -> CTE Scan on c1 (cost=xxx..xxx rows=100 width=xxx) | |
2857 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
2927 | 2858 | Index Cond: (c1 = bmt3.c1) |
2928 | -(61 rows) | |
2929 | 2859 | |
2930 | 2860 | \o results/ut-R.tmpout |
2931 | 2861 | /*+ |
@@ -3011,68 +2941,67 @@ error hint: | ||
3011 | 2941 | \! sql/maskout.sh results/ut-R.tmpout |
3012 | 2942 | QUERY PLAN |
3013 | 2943 | ------------------------------------------------------------------------------------------------------------------ |
3014 | - Merge Join (cost=xxx rows=1 width=xxx) | |
2944 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3015 | 2945 | Merge Cond: (bmt1.c1 = bmt2.c1) |
3016 | 2946 | CTE c1 |
3017 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2947 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3018 | 2948 | Merge Cond: (b1t1.c1 = b1t2.c1) |
3019 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1000 width=xxx) | |
3020 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2949 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2950 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3021 | 2951 | Sort Key: b1t2.c1 |
3022 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3023 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2952 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2953 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
3024 | 2954 | Hash Cond: (b1t3.c1 = b1t4.c1) |
3025 | - -> Seq Scan on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
3026 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
3027 | - -> Seq Scan on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
3028 | - -> Index Only Scan using t2_i1 on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
2955 | + -> Seq Scan on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2956 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
2957 | + -> Seq Scan on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2958 | + -> Index Only Scan using t2_i1 on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
3029 | 2959 | Index Cond: (c1 = b1t3.c1) |
3030 | 2960 | InitPlan 2 (returns $3) |
3031 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2961 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3032 | 2962 | Merge Cond: (b2t1.c1 = b2t2.c1) |
3033 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1000 width=xxx) | |
3034 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2963 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2964 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3035 | 2965 | Sort Key: b2t2.c1 |
3036 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3037 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2966 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2967 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
3038 | 2968 | Hash Cond: (b2t3.c1 = b2t4.c1) |
3039 | - -> Seq Scan on t3 b2t3 (cost=xxx rows=1130 width=xxx) | |
3040 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
3041 | - -> Seq Scan on t4 b2t4 (cost=xxx rows=1130 width=xxx) | |
3042 | - -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
2969 | + -> Seq Scan on t3 b2t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2970 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
2971 | + -> Seq Scan on t4 b2t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2972 | + -> Index Only Scan using t2_i1 on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
3043 | 2973 | Index Cond: (c1 = b2t3.c1) |
3044 | 2974 | InitPlan 3 (returns $5) |
3045 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2975 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3046 | 2976 | Merge Cond: (b3t1.c1 = b3t2.c1) |
3047 | - -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
3048 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2977 | + -> Index Only Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
2978 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3049 | 2979 | Sort Key: b3t2.c1 |
3050 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3051 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2980 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2981 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
3052 | 2982 | Hash Cond: (b3t3.c1 = b3t4.c1) |
3053 | - -> Seq Scan on t3 b3t3 (cost=xxx rows=1130 width=xxx) | |
3054 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
3055 | - -> Seq Scan on t4 b3t4 (cost=xxx rows=1130 width=xxx) | |
3056 | - -> Index Only Scan using t2_i1 on t2 b3t2 (cost=xxx rows=1 width=xxx) | |
2983 | + -> Seq Scan on t3 b3t3 (cost=xxx..xxx rows=1130 width=xxx) | |
2984 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
2985 | + -> Seq Scan on t4 b3t4 (cost=xxx..xxx rows=1130 width=xxx) | |
2986 | + -> Index Only Scan using t2_i1 on t2 b3t2 (cost=xxx..xxx rows=1 width=xxx) | |
3057 | 2987 | Index Cond: (c1 = b3t3.c1) |
3058 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=999 width=xxx) | |
2988 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=999 width=xxx) | |
3059 | 2989 | Filter: (c1 <> $5) |
3060 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2990 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3061 | 2991 | Sort Key: bmt2.c1 |
3062 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3063 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
2992 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
2993 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
3064 | 2994 | Hash Cond: (bmt3.c1 = bmt4.c1) |
3065 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
3066 | - -> Hash (cost=xxx rows=1 width=xxx) | |
3067 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
2995 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
2996 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
2997 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3068 | 2998 | Merge Cond: (bmt4.c1 = c1.c1) |
3069 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
3070 | - -> Sort (cost=xxx rows=1 width=xxx) | |
2999 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
3000 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3071 | 3001 | Sort Key: c1.c1 |
3072 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
3073 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
3002 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
3003 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
3074 | 3004 | Index Cond: (c1 = bmt3.c1) |
3075 | -(61 rows) | |
3076 | 3005 | |
3077 | 3006 | -- No. R-2-2-4 |
3078 | 3007 | \o results/ut-R.tmpout |
@@ -3117,44 +3046,43 @@ error hint: | ||
3117 | 3046 | \! sql/maskout.sh results/ut-R.tmpout |
3118 | 3047 | QUERY PLAN |
3119 | 3048 | ------------------------------------------------------------------------------------------------------------------ |
3120 | - Merge Join (cost=xxx rows=10 width=xxx) | |
3049 | + Merge Join (cost=xxx..xxx rows=10 width=xxx) | |
3121 | 3050 | Merge Cond: (bmt1.c1 = bmt2.c1) |
3122 | 3051 | CTE c1 |
3123 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
3052 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
3124 | 3053 | Join Filter: (b1t2.c1 = b1t1.c1) |
3125 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
3054 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
3126 | 3055 | Hash Cond: (b1t3.c1 = b1t2.c1) |
3127 | - -> Merge Join (cost=xxx rows=1130 width=xxx) | |
3056 | + -> Merge Join (cost=xxx..xxx rows=1130 width=xxx) | |
3128 | 3057 | Merge Cond: (b1t3.c1 = b1t4.c1) |
3129 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
3130 | - -> Index Only Scan using t4_i1 on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
3131 | - -> Hash (cost=xxx rows=100 width=xxx) | |
3132 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
3133 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
3058 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
3059 | + -> Index Only Scan using t4_i1 on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
3060 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
3061 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
3062 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
3134 | 3063 | Index Cond: (c1 = b1t3.c1) |
3135 | 3064 | InitPlan 2 (returns $2) |
3136 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
3065 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
3137 | 3066 | Index Cond: (c1 = 1) |
3138 | 3067 | InitPlan 3 (returns $3) |
3139 | - -> Seq Scan on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
3140 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=999 width=xxx) | |
3068 | + -> Seq Scan on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
3069 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=999 width=xxx) | |
3141 | 3070 | Filter: (c1 <> $3) |
3142 | - -> Sort (cost=xxx rows=100 width=xxx) | |
3071 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
3143 | 3072 | Sort Key: bmt2.c1 |
3144 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
3145 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
3073 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
3074 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
3146 | 3075 | Hash Cond: (bmt3.c1 = bmt4.c1) |
3147 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
3148 | - -> Hash (cost=xxx rows=100 width=xxx) | |
3149 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
3076 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
3077 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
3078 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
3150 | 3079 | Merge Cond: (bmt4.c1 = c1.c1) |
3151 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
3152 | - -> Sort (cost=xxx rows=100 width=xxx) | |
3080 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
3081 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
3153 | 3082 | Sort Key: c1.c1 |
3154 | - -> CTE Scan on c1 (cost=xxx rows=100 width=xxx) | |
3155 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
3083 | + -> CTE Scan on c1 (cost=xxx..xxx rows=100 width=xxx) | |
3084 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
3156 | 3085 | Index Cond: (c1 = bmt3.c1) |
3157 | -(37 rows) | |
3158 | 3086 | |
3159 | 3087 | \o results/ut-R.tmpout |
3160 | 3088 | /*+ |
@@ -3212,44 +3140,43 @@ error hint: | ||
3212 | 3140 | \! sql/maskout.sh results/ut-R.tmpout |
3213 | 3141 | QUERY PLAN |
3214 | 3142 | ------------------------------------------------------------------------------------------------------------------ |
3215 | - Merge Join (cost=xxx rows=1 width=xxx) | |
3143 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3216 | 3144 | Merge Cond: (bmt1.c1 = bmt2.c1) |
3217 | 3145 | CTE c1 |
3218 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3146 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3219 | 3147 | Join Filter: (b1t2.c1 = b1t1.c1) |
3220 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
3148 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
3221 | 3149 | Hash Cond: (b1t3.c1 = b1t2.c1) |
3222 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3150 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3223 | 3151 | Merge Cond: (b1t3.c1 = b1t4.c1) |
3224 | - -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx rows=1130 width=xxx) | |
3225 | - -> Index Only Scan using t4_i1 on t4 b1t4 (cost=xxx rows=1130 width=xxx) | |
3226 | - -> Hash (cost=xxx rows=100 width=xxx) | |
3227 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=100 width=xxx) | |
3228 | - -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
3152 | + -> Index Only Scan using t3_i1 on t3 b1t3 (cost=xxx..xxx rows=1130 width=xxx) | |
3153 | + -> Index Only Scan using t4_i1 on t4 b1t4 (cost=xxx..xxx rows=1130 width=xxx) | |
3154 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
3155 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=100 width=xxx) | |
3156 | + -> Index Only Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
3229 | 3157 | Index Cond: (c1 = b1t3.c1) |
3230 | 3158 | InitPlan 2 (returns $2) |
3231 | - -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
3159 | + -> Index Only Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
3232 | 3160 | Index Cond: (c1 = 1) |
3233 | 3161 | InitPlan 3 (returns $3) |
3234 | - -> Seq Scan on t1 b3t1 (cost=xxx rows=1000 width=xxx) | |
3235 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=999 width=xxx) | |
3162 | + -> Seq Scan on t1 b3t1 (cost=xxx..xxx rows=1000 width=xxx) | |
3163 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=999 width=xxx) | |
3236 | 3164 | Filter: (c1 <> $3) |
3237 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3165 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3238 | 3166 | Sort Key: bmt2.c1 |
3239 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3240 | - -> Hash Join (cost=xxx rows=1 width=xxx) | |
3167 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3168 | + -> Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
3241 | 3169 | Hash Cond: (bmt3.c1 = bmt4.c1) |
3242 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
3243 | - -> Hash (cost=xxx rows=1 width=xxx) | |
3244 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3170 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
3171 | + -> Hash (cost=xxx..xxx rows=1 width=xxx) | |
3172 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3245 | 3173 | Merge Cond: (bmt4.c1 = c1.c1) |
3246 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
3247 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3174 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
3175 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3248 | 3176 | Sort Key: c1.c1 |
3249 | - -> CTE Scan on c1 (cost=xxx rows=1 width=xxx) | |
3250 | - -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx rows=1 width=xxx) | |
3177 | + -> CTE Scan on c1 (cost=xxx..xxx rows=1 width=xxx) | |
3178 | + -> Index Only Scan using t2_i1 on t2 bmt2 (cost=xxx..xxx rows=1 width=xxx) | |
3251 | 3179 | Index Cond: (c1 = bmt3.c1) |
3252 | -(37 rows) | |
3253 | 3180 | |
3254 | 3181 | ---- |
3255 | 3182 | ---- No. R-2-3 RULE or VIEW |
@@ -3271,27 +3198,26 @@ error hint: | ||
3271 | 3198 | \! sql/maskout.sh results/ut-R.tmpout |
3272 | 3199 | QUERY PLAN |
3273 | 3200 | ----------------------------------------------------------------------------------------------- |
3274 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3275 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3201 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3202 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3276 | 3203 | Join Filter: (t1.c1 = t4.c1) |
3277 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3204 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3278 | 3205 | Join Filter: (t1.c1 = t3.c1) |
3279 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3206 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3280 | 3207 | Merge Cond: (t1.c1 = t2.c1) |
3281 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3282 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
3208 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3209 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3283 | 3210 | Filter: (ctid = '(1,1)'::tid) |
3284 | - -> Seq Scan on r1 (cost=xxx rows=6 width=xxx) | |
3211 | + -> Seq Scan on r1 (cost=xxx..xxx rows=6 width=xxx) | |
3285 | 3212 | Filter: (c1 = 1) |
3286 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3213 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3287 | 3214 | Sort Key: t2.c1 |
3288 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3215 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3289 | 3216 | Filter: (ctid = '(1,1)'::tid) |
3290 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3217 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3291 | 3218 | TID Cond: (ctid = '(1,1)'::tid) |
3292 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3219 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3293 | 3220 | TID Cond: (ctid = '(1,1)'::tid) |
3294 | -(20 rows) | |
3295 | 3221 | |
3296 | 3222 | \o results/ut-R.tmpout |
3297 | 3223 | /*+ |
@@ -3317,25 +3243,24 @@ error hint: | ||
3317 | 3243 | \! sql/maskout.sh results/ut-R.tmpout |
3318 | 3244 | QUERY PLAN |
3319 | 3245 | --------------------------------------------------------------------------------- |
3320 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3321 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3246 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3247 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3322 | 3248 | Join Filter: (t1.c1 = t4.c1) |
3323 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3249 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3324 | 3250 | TID Cond: (ctid = '(1,1)'::tid) |
3325 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3251 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3326 | 3252 | Join Filter: (t1.c1 = t3.c1) |
3327 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3253 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3328 | 3254 | TID Cond: (ctid = '(1,1)'::tid) |
3329 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3255 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3330 | 3256 | Join Filter: (t1.c1 = t2.c1) |
3331 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3257 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3332 | 3258 | Filter: (ctid = '(1,1)'::tid) |
3333 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3334 | - -> Tid Scan on t1 (cost=xxx rows=1 width=xxx) | |
3259 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3260 | + -> Tid Scan on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3335 | 3261 | TID Cond: (ctid = '(1,1)'::tid) |
3336 | - -> Seq Scan on r1 (cost=xxx rows=6 width=xxx) | |
3262 | + -> Seq Scan on r1 (cost=xxx..xxx rows=6 width=xxx) | |
3337 | 3263 | Filter: (c1 = 1) |
3338 | -(18 rows) | |
3339 | 3264 | |
3340 | 3265 | \o results/ut-R.tmpout |
3341 | 3266 | /*+ |
@@ -3353,27 +3278,26 @@ error hint: | ||
3353 | 3278 | \! sql/maskout.sh results/ut-R.tmpout |
3354 | 3279 | QUERY PLAN |
3355 | 3280 | ---------------------------------------------------------------------------------------------------- |
3356 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3357 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3281 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3282 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3358 | 3283 | Join Filter: (b1t1.c1 = b1t4.c1) |
3359 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3284 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3360 | 3285 | Join Filter: (b1t1.c1 = b1t3.c1) |
3361 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3286 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3362 | 3287 | Merge Cond: (b1t1.c1 = b1t2.c1) |
3363 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3364 | - -> Index Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
3288 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3289 | + -> Index Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
3365 | 3290 | Filter: (ctid = '(1,1)'::tid) |
3366 | - -> Seq Scan on r1_ (cost=xxx rows=6 width=xxx) | |
3291 | + -> Seq Scan on r1_ (cost=xxx..xxx rows=6 width=xxx) | |
3367 | 3292 | Filter: (c1 = 1) |
3368 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3293 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3369 | 3294 | Sort Key: b1t2.c1 |
3370 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
3295 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
3371 | 3296 | Filter: (ctid = '(1,1)'::tid) |
3372 | - -> Tid Scan on t3 b1t3 (cost=xxx rows=1 width=xxx) | |
3297 | + -> Tid Scan on t3 b1t3 (cost=xxx..xxx rows=1 width=xxx) | |
3373 | 3298 | TID Cond: (ctid = '(1,1)'::tid) |
3374 | - -> Tid Scan on t4 b1t4 (cost=xxx rows=1 width=xxx) | |
3299 | + -> Tid Scan on t4 b1t4 (cost=xxx..xxx rows=1 width=xxx) | |
3375 | 3300 | TID Cond: (ctid = '(1,1)'::tid) |
3376 | -(20 rows) | |
3377 | 3301 | |
3378 | 3302 | \o results/ut-R.tmpout |
3379 | 3303 | /*+ |
@@ -3399,25 +3323,24 @@ error hint: | ||
3399 | 3323 | \! sql/maskout.sh results/ut-R.tmpout |
3400 | 3324 | QUERY PLAN |
3401 | 3325 | ------------------------------------------------------------------------------------- |
3402 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3403 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3326 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3327 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3404 | 3328 | Join Filter: (b1t1.c1 = b1t4.c1) |
3405 | - -> Tid Scan on t4 b1t4 (cost=xxx rows=1 width=xxx) | |
3329 | + -> Tid Scan on t4 b1t4 (cost=xxx..xxx rows=1 width=xxx) | |
3406 | 3330 | TID Cond: (ctid = '(1,1)'::tid) |
3407 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3331 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3408 | 3332 | Join Filter: (b1t1.c1 = b1t3.c1) |
3409 | - -> Tid Scan on t3 b1t3 (cost=xxx rows=1 width=xxx) | |
3333 | + -> Tid Scan on t3 b1t3 (cost=xxx..xxx rows=1 width=xxx) | |
3410 | 3334 | TID Cond: (ctid = '(1,1)'::tid) |
3411 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3335 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3412 | 3336 | Join Filter: (b1t1.c1 = b1t2.c1) |
3413 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
3337 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
3414 | 3338 | Filter: (ctid = '(1,1)'::tid) |
3415 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3416 | - -> Tid Scan on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
3339 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3340 | + -> Tid Scan on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
3417 | 3341 | TID Cond: (ctid = '(1,1)'::tid) |
3418 | - -> Seq Scan on r1_ (cost=xxx rows=6 width=xxx) | |
3342 | + -> Seq Scan on r1_ (cost=xxx..xxx rows=6 width=xxx) | |
3419 | 3343 | Filter: (c1 = 1) |
3420 | -(18 rows) | |
3421 | 3344 | |
3422 | 3345 | -- No. R-2-3-2 |
3423 | 3346 | \o results/ut-R.tmpout |
@@ -3443,48 +3366,47 @@ error hint: | ||
3443 | 3366 | \! sql/maskout.sh results/ut-R.tmpout |
3444 | 3367 | QUERY PLAN |
3445 | 3368 | ----------------------------------------------------------------------------------------------- |
3446 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3447 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3369 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3370 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3448 | 3371 | Join Filter: (t1.c1 = t4.c1) |
3449 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3372 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3450 | 3373 | Join Filter: (t1.c1 = t3.c1) |
3451 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3374 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3452 | 3375 | Merge Cond: (t1.c1 = t2.c1) |
3453 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3454 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
3376 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3377 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3455 | 3378 | Filter: (ctid = '(1,1)'::tid) |
3456 | - -> Seq Scan on r2 (cost=xxx rows=6 width=xxx) | |
3379 | + -> Seq Scan on r2 (cost=xxx..xxx rows=6 width=xxx) | |
3457 | 3380 | Filter: (c1 = 1) |
3458 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3381 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3459 | 3382 | Sort Key: t2.c1 |
3460 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3383 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3461 | 3384 | Filter: (ctid = '(1,1)'::tid) |
3462 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3385 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3463 | 3386 | TID Cond: (ctid = '(1,1)'::tid) |
3464 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3387 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3465 | 3388 | TID Cond: (ctid = '(1,1)'::tid) |
3466 | 3389 | |
3467 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3468 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3390 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3391 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3469 | 3392 | Join Filter: (t1.c1 = t4.c1) |
3470 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3393 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3471 | 3394 | Join Filter: (t1.c1 = t3.c1) |
3472 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3395 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3473 | 3396 | Merge Cond: (t1.c1 = t2.c1) |
3474 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3475 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
3397 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3398 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3476 | 3399 | Filter: (ctid = '(1,1)'::tid) |
3477 | - -> Seq Scan on r2 (cost=xxx rows=6 width=xxx) | |
3400 | + -> Seq Scan on r2 (cost=xxx..xxx rows=6 width=xxx) | |
3478 | 3401 | Filter: (c1 = 1) |
3479 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3402 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3480 | 3403 | Sort Key: t2.c1 |
3481 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3404 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3482 | 3405 | Filter: (ctid = '(1,1)'::tid) |
3483 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3406 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3484 | 3407 | TID Cond: (ctid = '(1,1)'::tid) |
3485 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3408 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3486 | 3409 | TID Cond: (ctid = '(1,1)'::tid) |
3487 | -(41 rows) | |
3488 | 3410 | |
3489 | 3411 | \o results/ut-R.tmpout |
3490 | 3412 | /*+ |
@@ -3521,44 +3443,43 @@ error hint: | ||
3521 | 3443 | \! sql/maskout.sh results/ut-R.tmpout |
3522 | 3444 | QUERY PLAN |
3523 | 3445 | --------------------------------------------------------------------------------- |
3524 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3525 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3446 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3447 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3526 | 3448 | Join Filter: (t1.c1 = t4.c1) |
3527 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3449 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3528 | 3450 | TID Cond: (ctid = '(1,1)'::tid) |
3529 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3451 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3530 | 3452 | Join Filter: (t1.c1 = t3.c1) |
3531 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3453 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3532 | 3454 | TID Cond: (ctid = '(1,1)'::tid) |
3533 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3455 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3534 | 3456 | Join Filter: (t1.c1 = t2.c1) |
3535 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3457 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3536 | 3458 | Filter: (ctid = '(1,1)'::tid) |
3537 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3538 | - -> Tid Scan on t1 (cost=xxx rows=1 width=xxx) | |
3459 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3460 | + -> Tid Scan on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3539 | 3461 | TID Cond: (ctid = '(1,1)'::tid) |
3540 | - -> Seq Scan on r2 (cost=xxx rows=6 width=xxx) | |
3462 | + -> Seq Scan on r2 (cost=xxx..xxx rows=6 width=xxx) | |
3541 | 3463 | Filter: (c1 = 1) |
3542 | 3464 | |
3543 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3544 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3465 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3466 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3545 | 3467 | Join Filter: (t1.c1 = t4.c1) |
3546 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3468 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3547 | 3469 | TID Cond: (ctid = '(1,1)'::tid) |
3548 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3470 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3549 | 3471 | Join Filter: (t1.c1 = t3.c1) |
3550 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3472 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3551 | 3473 | TID Cond: (ctid = '(1,1)'::tid) |
3552 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3474 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3553 | 3475 | Join Filter: (t1.c1 = t2.c1) |
3554 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3476 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3555 | 3477 | Filter: (ctid = '(1,1)'::tid) |
3556 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3557 | - -> Tid Scan on t1 (cost=xxx rows=1 width=xxx) | |
3478 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3479 | + -> Tid Scan on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3558 | 3480 | TID Cond: (ctid = '(1,1)'::tid) |
3559 | - -> Seq Scan on r2 (cost=xxx rows=6 width=xxx) | |
3481 | + -> Seq Scan on r2 (cost=xxx..xxx rows=6 width=xxx) | |
3560 | 3482 | Filter: (c1 = 1) |
3561 | -(37 rows) | |
3562 | 3483 | |
3563 | 3484 | \o results/ut-R.tmpout |
3564 | 3485 | /*+ |
@@ -3586,48 +3507,47 @@ error hint: | ||
3586 | 3507 | \! sql/maskout.sh results/ut-R.tmpout |
3587 | 3508 | QUERY PLAN |
3588 | 3509 | ---------------------------------------------------------------------------------------------------- |
3589 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3590 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3510 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3511 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3591 | 3512 | Join Filter: (b1t1.c1 = b1t4.c1) |
3592 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3513 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3593 | 3514 | Join Filter: (b1t1.c1 = b1t3.c1) |
3594 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3515 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3595 | 3516 | Merge Cond: (b1t1.c1 = b1t2.c1) |
3596 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3597 | - -> Index Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
3517 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3518 | + -> Index Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
3598 | 3519 | Filter: (ctid = '(1,1)'::tid) |
3599 | - -> Seq Scan on r2_ (cost=xxx rows=6 width=xxx) | |
3520 | + -> Seq Scan on r2_ (cost=xxx..xxx rows=6 width=xxx) | |
3600 | 3521 | Filter: (c1 = 1) |
3601 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3522 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3602 | 3523 | Sort Key: b1t2.c1 |
3603 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
3524 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
3604 | 3525 | Filter: (ctid = '(1,1)'::tid) |
3605 | - -> Tid Scan on t3 b1t3 (cost=xxx rows=1 width=xxx) | |
3526 | + -> Tid Scan on t3 b1t3 (cost=xxx..xxx rows=1 width=xxx) | |
3606 | 3527 | TID Cond: (ctid = '(1,1)'::tid) |
3607 | - -> Tid Scan on t4 b1t4 (cost=xxx rows=1 width=xxx) | |
3528 | + -> Tid Scan on t4 b1t4 (cost=xxx..xxx rows=1 width=xxx) | |
3608 | 3529 | TID Cond: (ctid = '(1,1)'::tid) |
3609 | 3530 | |
3610 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3611 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3531 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3532 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3612 | 3533 | Join Filter: (b2t1.c1 = b2t4.c1) |
3613 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3534 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3614 | 3535 | Join Filter: (b2t1.c1 = b2t3.c1) |
3615 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3536 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3616 | 3537 | Merge Cond: (b2t1.c1 = b2t2.c1) |
3617 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3618 | - -> Index Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
3538 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3539 | + -> Index Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
3619 | 3540 | Filter: (ctid = '(1,1)'::tid) |
3620 | - -> Seq Scan on r2_ (cost=xxx rows=6 width=xxx) | |
3541 | + -> Seq Scan on r2_ (cost=xxx..xxx rows=6 width=xxx) | |
3621 | 3542 | Filter: (c1 = 1) |
3622 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3543 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3623 | 3544 | Sort Key: b2t2.c1 |
3624 | - -> Seq Scan on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
3545 | + -> Seq Scan on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
3625 | 3546 | Filter: (ctid = '(1,1)'::tid) |
3626 | - -> Tid Scan on t3 b2t3 (cost=xxx rows=1 width=xxx) | |
3547 | + -> Tid Scan on t3 b2t3 (cost=xxx..xxx rows=1 width=xxx) | |
3627 | 3548 | TID Cond: (ctid = '(1,1)'::tid) |
3628 | - -> Tid Scan on t4 b2t4 (cost=xxx rows=1 width=xxx) | |
3549 | + -> Tid Scan on t4 b2t4 (cost=xxx..xxx rows=1 width=xxx) | |
3629 | 3550 | TID Cond: (ctid = '(1,1)'::tid) |
3630 | -(41 rows) | |
3631 | 3551 | |
3632 | 3552 | \o results/ut-R.tmpout |
3633 | 3553 | /*+ |
@@ -3679,44 +3599,43 @@ error hint: | ||
3679 | 3599 | \! sql/maskout.sh results/ut-R.tmpout |
3680 | 3600 | QUERY PLAN |
3681 | 3601 | ------------------------------------------------------------------------------------- |
3682 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3683 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3602 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3603 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3684 | 3604 | Join Filter: (b1t1.c1 = b1t4.c1) |
3685 | - -> Tid Scan on t4 b1t4 (cost=xxx rows=1 width=xxx) | |
3605 | + -> Tid Scan on t4 b1t4 (cost=xxx..xxx rows=1 width=xxx) | |
3686 | 3606 | TID Cond: (ctid = '(1,1)'::tid) |
3687 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3607 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3688 | 3608 | Join Filter: (b1t1.c1 = b1t3.c1) |
3689 | - -> Tid Scan on t3 b1t3 (cost=xxx rows=1 width=xxx) | |
3609 | + -> Tid Scan on t3 b1t3 (cost=xxx..xxx rows=1 width=xxx) | |
3690 | 3610 | TID Cond: (ctid = '(1,1)'::tid) |
3691 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3611 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3692 | 3612 | Join Filter: (b1t1.c1 = b1t2.c1) |
3693 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
3613 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
3694 | 3614 | Filter: (ctid = '(1,1)'::tid) |
3695 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3696 | - -> Tid Scan on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
3615 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3616 | + -> Tid Scan on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
3697 | 3617 | TID Cond: (ctid = '(1,1)'::tid) |
3698 | - -> Seq Scan on r2_ (cost=xxx rows=6 width=xxx) | |
3618 | + -> Seq Scan on r2_ (cost=xxx..xxx rows=6 width=xxx) | |
3699 | 3619 | Filter: (c1 = 1) |
3700 | 3620 | |
3701 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3702 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3621 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3622 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3703 | 3623 | Join Filter: (b2t1.c1 = b2t4.c1) |
3704 | - -> Tid Scan on t4 b2t4 (cost=xxx rows=1 width=xxx) | |
3624 | + -> Tid Scan on t4 b2t4 (cost=xxx..xxx rows=1 width=xxx) | |
3705 | 3625 | TID Cond: (ctid = '(1,1)'::tid) |
3706 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3626 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3707 | 3627 | Join Filter: (b2t1.c1 = b2t3.c1) |
3708 | - -> Tid Scan on t3 b2t3 (cost=xxx rows=1 width=xxx) | |
3628 | + -> Tid Scan on t3 b2t3 (cost=xxx..xxx rows=1 width=xxx) | |
3709 | 3629 | TID Cond: (ctid = '(1,1)'::tid) |
3710 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3630 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3711 | 3631 | Join Filter: (b2t1.c1 = b2t2.c1) |
3712 | - -> Seq Scan on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
3632 | + -> Seq Scan on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
3713 | 3633 | Filter: (ctid = '(1,1)'::tid) |
3714 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3715 | - -> Tid Scan on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
3634 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3635 | + -> Tid Scan on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
3716 | 3636 | TID Cond: (ctid = '(1,1)'::tid) |
3717 | - -> Seq Scan on r2_ (cost=xxx rows=6 width=xxx) | |
3637 | + -> Seq Scan on r2_ (cost=xxx..xxx rows=6 width=xxx) | |
3718 | 3638 | Filter: (c1 = 1) |
3719 | -(37 rows) | |
3720 | 3639 | |
3721 | 3640 | -- No. R-2-3-3 |
3722 | 3641 | \o results/ut-R.tmpout |
@@ -3749,69 +3668,68 @@ error hint: | ||
3749 | 3668 | \! sql/maskout.sh results/ut-R.tmpout |
3750 | 3669 | QUERY PLAN |
3751 | 3670 | ----------------------------------------------------------------------------------------------- |
3752 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3753 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3671 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3672 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3754 | 3673 | Join Filter: (t1.c1 = t4.c1) |
3755 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3674 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3756 | 3675 | Join Filter: (t1.c1 = t3.c1) |
3757 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3676 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3758 | 3677 | Merge Cond: (t1.c1 = t2.c1) |
3759 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3760 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
3678 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3679 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3761 | 3680 | Filter: (ctid = '(1,1)'::tid) |
3762 | - -> Seq Scan on r3 (cost=xxx rows=6 width=xxx) | |
3681 | + -> Seq Scan on r3 (cost=xxx..xxx rows=6 width=xxx) | |
3763 | 3682 | Filter: (c1 = 1) |
3764 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3683 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3765 | 3684 | Sort Key: t2.c1 |
3766 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3685 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3767 | 3686 | Filter: (ctid = '(1,1)'::tid) |
3768 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3687 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3769 | 3688 | TID Cond: (ctid = '(1,1)'::tid) |
3770 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3689 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3771 | 3690 | TID Cond: (ctid = '(1,1)'::tid) |
3772 | 3691 | |
3773 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3774 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3692 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3693 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3775 | 3694 | Join Filter: (t1.c1 = t4.c1) |
3776 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3695 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3777 | 3696 | Join Filter: (t1.c1 = t3.c1) |
3778 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3697 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3779 | 3698 | Merge Cond: (t1.c1 = t2.c1) |
3780 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3781 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
3699 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3700 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3782 | 3701 | Filter: (ctid = '(1,1)'::tid) |
3783 | - -> Seq Scan on r3 (cost=xxx rows=6 width=xxx) | |
3702 | + -> Seq Scan on r3 (cost=xxx..xxx rows=6 width=xxx) | |
3784 | 3703 | Filter: (c1 = 1) |
3785 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3704 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3786 | 3705 | Sort Key: t2.c1 |
3787 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3706 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3788 | 3707 | Filter: (ctid = '(1,1)'::tid) |
3789 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3708 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3790 | 3709 | TID Cond: (ctid = '(1,1)'::tid) |
3791 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3710 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3792 | 3711 | TID Cond: (ctid = '(1,1)'::tid) |
3793 | 3712 | |
3794 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3795 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3713 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3714 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3796 | 3715 | Join Filter: (t1.c1 = t4.c1) |
3797 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3716 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3798 | 3717 | Join Filter: (t1.c1 = t3.c1) |
3799 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3718 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3800 | 3719 | Merge Cond: (t1.c1 = t2.c1) |
3801 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3802 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
3720 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3721 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3803 | 3722 | Filter: (ctid = '(1,1)'::tid) |
3804 | - -> Seq Scan on r3 (cost=xxx rows=6 width=xxx) | |
3723 | + -> Seq Scan on r3 (cost=xxx..xxx rows=6 width=xxx) | |
3805 | 3724 | Filter: (c1 = 1) |
3806 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3725 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3807 | 3726 | Sort Key: t2.c1 |
3808 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3727 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3809 | 3728 | Filter: (ctid = '(1,1)'::tid) |
3810 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3729 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3811 | 3730 | TID Cond: (ctid = '(1,1)'::tid) |
3812 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3731 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3813 | 3732 | TID Cond: (ctid = '(1,1)'::tid) |
3814 | -(62 rows) | |
3815 | 3733 | |
3816 | 3734 | \o results/ut-R.tmpout |
3817 | 3735 | /*+ |
@@ -3859,63 +3777,62 @@ error hint: | ||
3859 | 3777 | \! sql/maskout.sh results/ut-R.tmpout |
3860 | 3778 | QUERY PLAN |
3861 | 3779 | --------------------------------------------------------------------------------- |
3862 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3863 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3780 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3781 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3864 | 3782 | Join Filter: (t1.c1 = t4.c1) |
3865 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3783 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3866 | 3784 | TID Cond: (ctid = '(1,1)'::tid) |
3867 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3785 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3868 | 3786 | Join Filter: (t1.c1 = t3.c1) |
3869 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3787 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3870 | 3788 | TID Cond: (ctid = '(1,1)'::tid) |
3871 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3789 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3872 | 3790 | Join Filter: (t1.c1 = t2.c1) |
3873 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3791 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3874 | 3792 | Filter: (ctid = '(1,1)'::tid) |
3875 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3876 | - -> Tid Scan on t1 (cost=xxx rows=1 width=xxx) | |
3793 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3794 | + -> Tid Scan on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3877 | 3795 | TID Cond: (ctid = '(1,1)'::tid) |
3878 | - -> Seq Scan on r3 (cost=xxx rows=6 width=xxx) | |
3796 | + -> Seq Scan on r3 (cost=xxx..xxx rows=6 width=xxx) | |
3879 | 3797 | Filter: (c1 = 1) |
3880 | 3798 | |
3881 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3882 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3799 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3800 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3883 | 3801 | Join Filter: (t1.c1 = t4.c1) |
3884 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3802 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3885 | 3803 | TID Cond: (ctid = '(1,1)'::tid) |
3886 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3804 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3887 | 3805 | Join Filter: (t1.c1 = t3.c1) |
3888 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3806 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3889 | 3807 | TID Cond: (ctid = '(1,1)'::tid) |
3890 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3808 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3891 | 3809 | Join Filter: (t1.c1 = t2.c1) |
3892 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3810 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3893 | 3811 | Filter: (ctid = '(1,1)'::tid) |
3894 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3895 | - -> Tid Scan on t1 (cost=xxx rows=1 width=xxx) | |
3812 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3813 | + -> Tid Scan on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3896 | 3814 | TID Cond: (ctid = '(1,1)'::tid) |
3897 | - -> Seq Scan on r3 (cost=xxx rows=6 width=xxx) | |
3815 | + -> Seq Scan on r3 (cost=xxx..xxx rows=6 width=xxx) | |
3898 | 3816 | Filter: (c1 = 1) |
3899 | 3817 | |
3900 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3901 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3818 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3819 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3902 | 3820 | Join Filter: (t1.c1 = t4.c1) |
3903 | - -> Tid Scan on t4 (cost=xxx rows=1 width=xxx) | |
3821 | + -> Tid Scan on t4 (cost=xxx..xxx rows=1 width=xxx) | |
3904 | 3822 | TID Cond: (ctid = '(1,1)'::tid) |
3905 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3823 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3906 | 3824 | Join Filter: (t1.c1 = t3.c1) |
3907 | - -> Tid Scan on t3 (cost=xxx rows=1 width=xxx) | |
3825 | + -> Tid Scan on t3 (cost=xxx..xxx rows=1 width=xxx) | |
3908 | 3826 | TID Cond: (ctid = '(1,1)'::tid) |
3909 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3827 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3910 | 3828 | Join Filter: (t1.c1 = t2.c1) |
3911 | - -> Seq Scan on t2 (cost=xxx rows=1 width=xxx) | |
3829 | + -> Seq Scan on t2 (cost=xxx..xxx rows=1 width=xxx) | |
3912 | 3830 | Filter: (ctid = '(1,1)'::tid) |
3913 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
3914 | - -> Tid Scan on t1 (cost=xxx rows=1 width=xxx) | |
3831 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
3832 | + -> Tid Scan on t1 (cost=xxx..xxx rows=1 width=xxx) | |
3915 | 3833 | TID Cond: (ctid = '(1,1)'::tid) |
3916 | - -> Seq Scan on r3 (cost=xxx rows=6 width=xxx) | |
3834 | + -> Seq Scan on r3 (cost=xxx..xxx rows=6 width=xxx) | |
3917 | 3835 | Filter: (c1 = 1) |
3918 | -(56 rows) | |
3919 | 3836 | |
3920 | 3837 | \o results/ut-R.tmpout |
3921 | 3838 | /*+ |
@@ -3955,69 +3872,68 @@ error hint: | ||
3955 | 3872 | \! sql/maskout.sh results/ut-R.tmpout |
3956 | 3873 | QUERY PLAN |
3957 | 3874 | ---------------------------------------------------------------------------------------------------- |
3958 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3959 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3875 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3876 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3960 | 3877 | Join Filter: (b1t1.c1 = b1t4.c1) |
3961 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3878 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3962 | 3879 | Join Filter: (b1t1.c1 = b1t3.c1) |
3963 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3880 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3964 | 3881 | Merge Cond: (b1t1.c1 = b1t2.c1) |
3965 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3966 | - -> Index Scan using t1_i1 on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
3882 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3883 | + -> Index Scan using t1_i1 on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
3967 | 3884 | Filter: (ctid = '(1,1)'::tid) |
3968 | - -> Seq Scan on r3_ (cost=xxx rows=6 width=xxx) | |
3885 | + -> Seq Scan on r3_ (cost=xxx..xxx rows=6 width=xxx) | |
3969 | 3886 | Filter: (c1 = 1) |
3970 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3887 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3971 | 3888 | Sort Key: b1t2.c1 |
3972 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
3889 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
3973 | 3890 | Filter: (ctid = '(1,1)'::tid) |
3974 | - -> Tid Scan on t3 b1t3 (cost=xxx rows=1 width=xxx) | |
3891 | + -> Tid Scan on t3 b1t3 (cost=xxx..xxx rows=1 width=xxx) | |
3975 | 3892 | TID Cond: (ctid = '(1,1)'::tid) |
3976 | - -> Tid Scan on t4 b1t4 (cost=xxx rows=1 width=xxx) | |
3893 | + -> Tid Scan on t4 b1t4 (cost=xxx..xxx rows=1 width=xxx) | |
3977 | 3894 | TID Cond: (ctid = '(1,1)'::tid) |
3978 | 3895 | |
3979 | - Aggregate (cost=xxx rows=1 width=xxx) | |
3980 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3896 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3897 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3981 | 3898 | Join Filter: (b2t1.c1 = b2t4.c1) |
3982 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3899 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
3983 | 3900 | Join Filter: (b2t1.c1 = b2t3.c1) |
3984 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3901 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
3985 | 3902 | Merge Cond: (b2t1.c1 = b2t2.c1) |
3986 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
3987 | - -> Index Scan using t1_i1 on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
3903 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3904 | + -> Index Scan using t1_i1 on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
3988 | 3905 | Filter: (ctid = '(1,1)'::tid) |
3989 | - -> Seq Scan on r3_ (cost=xxx rows=6 width=xxx) | |
3906 | + -> Seq Scan on r3_ (cost=xxx..xxx rows=6 width=xxx) | |
3990 | 3907 | Filter: (c1 = 1) |
3991 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3908 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
3992 | 3909 | Sort Key: b2t2.c1 |
3993 | - -> Seq Scan on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
3910 | + -> Seq Scan on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
3994 | 3911 | Filter: (ctid = '(1,1)'::tid) |
3995 | - -> Tid Scan on t3 b2t3 (cost=xxx rows=1 width=xxx) | |
3912 | + -> Tid Scan on t3 b2t3 (cost=xxx..xxx rows=1 width=xxx) | |
3996 | 3913 | TID Cond: (ctid = '(1,1)'::tid) |
3997 | - -> Tid Scan on t4 b2t4 (cost=xxx rows=1 width=xxx) | |
3914 | + -> Tid Scan on t4 b2t4 (cost=xxx..xxx rows=1 width=xxx) | |
3998 | 3915 | TID Cond: (ctid = '(1,1)'::tid) |
3999 | 3916 | |
4000 | - Aggregate (cost=xxx rows=1 width=xxx) | |
4001 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3917 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
3918 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4002 | 3919 | Join Filter: (b3t1.c1 = b3t4.c1) |
4003 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
3920 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4004 | 3921 | Join Filter: (b3t1.c1 = b3t3.c1) |
4005 | - -> Merge Join (cost=xxx rows=1 width=xxx) | |
3922 | + -> Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
4006 | 3923 | Merge Cond: (b3t1.c1 = b3t2.c1) |
4007 | - -> Nested Loop (cost=xxx rows=6 width=xxx) | |
4008 | - -> Index Scan using t1_i1 on t1 b3t1 (cost=xxx rows=1 width=xxx) | |
3924 | + -> Nested Loop (cost=xxx..xxx rows=6 width=xxx) | |
3925 | + -> Index Scan using t1_i1 on t1 b3t1 (cost=xxx..xxx rows=1 width=xxx) | |
4009 | 3926 | Filter: (ctid = '(1,1)'::tid) |
4010 | - -> Seq Scan on r3_ (cost=xxx rows=6 width=xxx) | |
3927 | + -> Seq Scan on r3_ (cost=xxx..xxx rows=6 width=xxx) | |
4011 | 3928 | Filter: (c1 = 1) |
4012 | - -> Sort (cost=xxx rows=1 width=xxx) | |
3929 | + -> Sort (cost=xxx..xxx rows=1 width=xxx) | |
4013 | 3930 | Sort Key: b3t2.c1 |
4014 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=1 width=xxx) | |
3931 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=1 width=xxx) | |
4015 | 3932 | Filter: (ctid = '(1,1)'::tid) |
4016 | - -> Tid Scan on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
3933 | + -> Tid Scan on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
4017 | 3934 | TID Cond: (ctid = '(1,1)'::tid) |
4018 | - -> Tid Scan on t4 b3t4 (cost=xxx rows=1 width=xxx) | |
3935 | + -> Tid Scan on t4 b3t4 (cost=xxx..xxx rows=1 width=xxx) | |
4019 | 3936 | TID Cond: (ctid = '(1,1)'::tid) |
4020 | -(62 rows) | |
4021 | 3937 | |
4022 | 3938 | \o results/ut-R.tmpout |
4023 | 3939 | /*+ |
@@ -4105,63 +4021,62 @@ error hint: | ||
4105 | 4021 | \! sql/maskout.sh results/ut-R.tmpout |
4106 | 4022 | QUERY PLAN |
4107 | 4023 | ------------------------------------------------------------------------------------- |
4108 | - Aggregate (cost=xxx rows=1 width=xxx) | |
4109 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4024 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
4025 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4110 | 4026 | Join Filter: (b1t1.c1 = b1t4.c1) |
4111 | - -> Tid Scan on t4 b1t4 (cost=xxx rows=1 width=xxx) | |
4027 | + -> Tid Scan on t4 b1t4 (cost=xxx..xxx rows=1 width=xxx) | |
4112 | 4028 | TID Cond: (ctid = '(1,1)'::tid) |
4113 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4029 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4114 | 4030 | Join Filter: (b1t1.c1 = b1t3.c1) |
4115 | - -> Tid Scan on t3 b1t3 (cost=xxx rows=1 width=xxx) | |
4031 | + -> Tid Scan on t3 b1t3 (cost=xxx..xxx rows=1 width=xxx) | |
4116 | 4032 | TID Cond: (ctid = '(1,1)'::tid) |
4117 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4033 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4118 | 4034 | Join Filter: (b1t1.c1 = b1t2.c1) |
4119 | - -> Seq Scan on t2 b1t2 (cost=xxx rows=1 width=xxx) | |
4035 | + -> Seq Scan on t2 b1t2 (cost=xxx..xxx rows=1 width=xxx) | |
4120 | 4036 | Filter: (ctid = '(1,1)'::tid) |
4121 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4122 | - -> Tid Scan on t1 b1t1 (cost=xxx rows=1 width=xxx) | |
4037 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4038 | + -> Tid Scan on t1 b1t1 (cost=xxx..xxx rows=1 width=xxx) | |
4123 | 4039 | TID Cond: (ctid = '(1,1)'::tid) |
4124 | - -> Seq Scan on r3_ (cost=xxx rows=6 width=xxx) | |
4040 | + -> Seq Scan on r3_ (cost=xxx..xxx rows=6 width=xxx) | |
4125 | 4041 | Filter: (c1 = 1) |
4126 | 4042 | |
4127 | - Aggregate (cost=xxx rows=1 width=xxx) | |
4128 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4043 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
4044 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4129 | 4045 | Join Filter: (b2t1.c1 = b2t4.c1) |
4130 | - -> Tid Scan on t4 b2t4 (cost=xxx rows=1 width=xxx) | |
4046 | + -> Tid Scan on t4 b2t4 (cost=xxx..xxx rows=1 width=xxx) | |
4131 | 4047 | TID Cond: (ctid = '(1,1)'::tid) |
4132 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4048 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4133 | 4049 | Join Filter: (b2t1.c1 = b2t3.c1) |
4134 | - -> Tid Scan on t3 b2t3 (cost=xxx rows=1 width=xxx) | |
4050 | + -> Tid Scan on t3 b2t3 (cost=xxx..xxx rows=1 width=xxx) | |
4135 | 4051 | TID Cond: (ctid = '(1,1)'::tid) |
4136 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4052 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4137 | 4053 | Join Filter: (b2t1.c1 = b2t2.c1) |
4138 | - -> Seq Scan on t2 b2t2 (cost=xxx rows=1 width=xxx) | |
4054 | + -> Seq Scan on t2 b2t2 (cost=xxx..xxx rows=1 width=xxx) | |
4139 | 4055 | Filter: (ctid = '(1,1)'::tid) |
4140 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4141 | - -> Tid Scan on t1 b2t1 (cost=xxx rows=1 width=xxx) | |
4056 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4057 | + -> Tid Scan on t1 b2t1 (cost=xxx..xxx rows=1 width=xxx) | |
4142 | 4058 | TID Cond: (ctid = '(1,1)'::tid) |
4143 | - -> Seq Scan on r3_ (cost=xxx rows=6 width=xxx) | |
4059 | + -> Seq Scan on r3_ (cost=xxx..xxx rows=6 width=xxx) | |
4144 | 4060 | Filter: (c1 = 1) |
4145 | 4061 | |
4146 | - Aggregate (cost=xxx rows=1 width=xxx) | |
4147 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4062 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
4063 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4148 | 4064 | Join Filter: (b3t1.c1 = b3t4.c1) |
4149 | - -> Tid Scan on t4 b3t4 (cost=xxx rows=1 width=xxx) | |
4065 | + -> Tid Scan on t4 b3t4 (cost=xxx..xxx rows=1 width=xxx) | |
4150 | 4066 | TID Cond: (ctid = '(1,1)'::tid) |
4151 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4067 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4152 | 4068 | Join Filter: (b3t1.c1 = b3t3.c1) |
4153 | - -> Tid Scan on t3 b3t3 (cost=xxx rows=1 width=xxx) | |
4069 | + -> Tid Scan on t3 b3t3 (cost=xxx..xxx rows=1 width=xxx) | |
4154 | 4070 | TID Cond: (ctid = '(1,1)'::tid) |
4155 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4071 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4156 | 4072 | Join Filter: (b3t1.c1 = b3t2.c1) |
4157 | - -> Seq Scan on t2 b3t2 (cost=xxx rows=1 width=xxx) | |
4073 | + -> Seq Scan on t2 b3t2 (cost=xxx..xxx rows=1 width=xxx) | |
4158 | 4074 | Filter: (ctid = '(1,1)'::tid) |
4159 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4160 | - -> Tid Scan on t1 b3t1 (cost=xxx rows=1 width=xxx) | |
4075 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4076 | + -> Tid Scan on t1 b3t1 (cost=xxx..xxx rows=1 width=xxx) | |
4161 | 4077 | TID Cond: (ctid = '(1,1)'::tid) |
4162 | - -> Seq Scan on r3_ (cost=xxx rows=6 width=xxx) | |
4078 | + -> Seq Scan on r3_ (cost=xxx..xxx rows=6 width=xxx) | |
4163 | 4079 | Filter: (c1 = 1) |
4164 | -(56 rows) | |
4165 | 4080 | |
4166 | 4081 | -- No. R-2-3-4 |
4167 | 4082 | \o results/ut-R.tmpout |
@@ -4180,12 +4095,11 @@ HashJoin(v1t1 v1t1) | ||
4180 | 4095 | \! sql/maskout.sh results/ut-R.tmpout |
4181 | 4096 | QUERY PLAN |
4182 | 4097 | -------------------------------------------------------------------------- |
4183 | - Hash Join (cost=xxx rows=1000 width=xxx) | |
4098 | + Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
4184 | 4099 | Hash Cond: (v1t1.c1 = v1t1_1.c1) |
4185 | - -> Seq Scan on t1 v1t1 (cost=xxx rows=1000 width=xxx) | |
4186 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
4187 | - -> Seq Scan on t1 v1t1_1 (cost=xxx rows=1000 width=xxx) | |
4188 | -(5 rows) | |
4100 | + -> Seq Scan on t1 v1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4101 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
4102 | + -> Seq Scan on t1 v1t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
4189 | 4103 | |
4190 | 4104 | \o results/ut-R.tmpout |
4191 | 4105 | /*+HashJoin(v1t1 v1t1)Rows(v1t1 v1t1 #1)*/ |
@@ -4206,12 +4120,11 @@ Rows(v1t1 v1t1 #1) | ||
4206 | 4120 | \! sql/maskout.sh results/ut-R.tmpout |
4207 | 4121 | QUERY PLAN |
4208 | 4122 | -------------------------------------------------------------------------- |
4209 | - Hash Join (cost=xxx rows=1000 width=xxx) | |
4123 | + Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
4210 | 4124 | Hash Cond: (v1t1.c1 = v1t1_1.c1) |
4211 | - -> Seq Scan on t1 v1t1 (cost=xxx rows=1000 width=xxx) | |
4212 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
4213 | - -> Seq Scan on t1 v1t1_1 (cost=xxx rows=1000 width=xxx) | |
4214 | -(5 rows) | |
4125 | + -> Seq Scan on t1 v1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4126 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
4127 | + -> Seq Scan on t1 v1t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
4215 | 4128 | |
4216 | 4129 | -- No. R-2-3-5 |
4217 | 4130 | \o results/ut-R.tmpout |
@@ -4228,11 +4141,10 @@ error hint: | ||
4228 | 4141 | \! sql/maskout.sh results/ut-R.tmpout |
4229 | 4142 | QUERY PLAN |
4230 | 4143 | ----------------------------------------------------------------------------- |
4231 | - Nested Loop (cost=xxx rows=1000 width=xxx) | |
4232 | - -> Seq Scan on t1 v1t1 (cost=xxx rows=1000 width=xxx) | |
4233 | - -> Index Scan using t1_i1 on t1 v1t1_ (cost=xxx rows=1 width=xxx) | |
4144 | + Nested Loop (cost=xxx..xxx rows=1000 width=xxx) | |
4145 | + -> Seq Scan on t1 v1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4146 | + -> Index Scan using t1_i1 on t1 v1t1_ (cost=xxx..xxx rows=1 width=xxx) | |
4234 | 4147 | Index Cond: (c1 = v1t1.c1) |
4235 | -(4 rows) | |
4236 | 4148 | |
4237 | 4149 | \o results/ut-R.tmpout |
4238 | 4150 | /*+NestLoop(v1t1 v1t1_)Rows(v1t1 v1t1_ #1)*/ |
@@ -4249,11 +4161,10 @@ error hint: | ||
4249 | 4161 | \! sql/maskout.sh results/ut-R.tmpout |
4250 | 4162 | QUERY PLAN |
4251 | 4163 | ----------------------------------------------------------------------------- |
4252 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
4253 | - -> Seq Scan on t1 v1t1 (cost=xxx rows=1000 width=xxx) | |
4254 | - -> Index Scan using t1_i1 on t1 v1t1_ (cost=xxx rows=1 width=xxx) | |
4164 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4165 | + -> Seq Scan on t1 v1t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4166 | + -> Index Scan using t1_i1 on t1 v1t1_ (cost=xxx..xxx rows=1 width=xxx) | |
4255 | 4167 | Index Cond: (c1 = v1t1.c1) |
4256 | -(4 rows) | |
4257 | 4168 | |
4258 | 4169 | -- No. R-2-3-6 |
4259 | 4170 | \o results/ut-R.tmpout |
@@ -4265,12 +4176,11 @@ DETAIL: Unrecognized hint keyword "RowsHashJoin". | ||
4265 | 4176 | \! sql/maskout.sh results/ut-R.tmpout |
4266 | 4177 | QUERY PLAN |
4267 | 4178 | -------------------------------------------------------------------------- |
4268 | - Hash Join (cost=xxx rows=1000 width=xxx) | |
4179 | + Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
4269 | 4180 | Hash Cond: (r4t1.c1 = r4t1_1.c1) |
4270 | - -> Seq Scan on t1 r4t1 (cost=xxx rows=1000 width=xxx) | |
4271 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
4272 | - -> Seq Scan on t1 r4t1_1 (cost=xxx rows=1000 width=xxx) | |
4273 | -(5 rows) | |
4181 | + -> Seq Scan on t1 r4t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4182 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
4183 | + -> Seq Scan on t1 r4t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
4274 | 4184 | |
4275 | 4185 | \o results/ut-R.tmpout |
4276 | 4186 | /*+RowsHashJoin(r4t1 r4t1)Rows(r4t1 r4t1 #1)*/ |
@@ -4281,12 +4191,11 @@ DETAIL: Unrecognized hint keyword "RowsHashJoin". | ||
4281 | 4191 | \! sql/maskout.sh results/ut-R.tmpout |
4282 | 4192 | QUERY PLAN |
4283 | 4193 | -------------------------------------------------------------------------- |
4284 | - Hash Join (cost=xxx rows=1000 width=xxx) | |
4194 | + Hash Join (cost=xxx..xxx rows=1000 width=xxx) | |
4285 | 4195 | Hash Cond: (r4t1.c1 = r4t1_1.c1) |
4286 | - -> Seq Scan on t1 r4t1 (cost=xxx rows=1000 width=xxx) | |
4287 | - -> Hash (cost=xxx rows=1000 width=xxx) | |
4288 | - -> Seq Scan on t1 r4t1_1 (cost=xxx rows=1000 width=xxx) | |
4289 | -(5 rows) | |
4196 | + -> Seq Scan on t1 r4t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4197 | + -> Hash (cost=xxx..xxx rows=1000 width=xxx) | |
4198 | + -> Seq Scan on t1 r4t1_1 (cost=xxx..xxx rows=1000 width=xxx) | |
4290 | 4199 | |
4291 | 4200 | -- No. R-2-3-7 |
4292 | 4201 | \o results/ut-R.tmpout |
@@ -4303,11 +4212,10 @@ error hint: | ||
4303 | 4212 | \! sql/maskout.sh results/ut-R.tmpout |
4304 | 4213 | QUERY PLAN |
4305 | 4214 | ---------------------------------------------------------------------------- |
4306 | - Nested Loop (cost=xxx rows=1000 width=xxx) | |
4307 | - -> Seq Scan on t1 r4t1 (cost=xxx rows=1000 width=xxx) | |
4308 | - -> Index Scan using t1_i1 on t1 r5t1 (cost=xxx rows=1 width=xxx) | |
4215 | + Nested Loop (cost=xxx..xxx rows=1000 width=xxx) | |
4216 | + -> Seq Scan on t1 r4t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4217 | + -> Index Scan using t1_i1 on t1 r5t1 (cost=xxx..xxx rows=1 width=xxx) | |
4309 | 4218 | Index Cond: (c1 = r4t1.c1) |
4310 | -(4 rows) | |
4311 | 4219 | |
4312 | 4220 | \o results/ut-R.tmpout |
4313 | 4221 | /*+NestLoop(r4t1 r5t1)Rows(r4t1 r5t1 #1)*/ |
@@ -4324,11 +4232,10 @@ error hint: | ||
4324 | 4232 | \! sql/maskout.sh results/ut-R.tmpout |
4325 | 4233 | QUERY PLAN |
4326 | 4234 | ---------------------------------------------------------------------------- |
4327 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
4328 | - -> Seq Scan on t1 r4t1 (cost=xxx rows=1000 width=xxx) | |
4329 | - -> Index Scan using t1_i1 on t1 r5t1 (cost=xxx rows=1 width=xxx) | |
4235 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4236 | + -> Seq Scan on t1 r4t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4237 | + -> Index Scan using t1_i1 on t1 r5t1 (cost=xxx..xxx rows=1 width=xxx) | |
4330 | 4238 | Index Cond: (c1 = r4t1.c1) |
4331 | -(4 rows) | |
4332 | 4239 | |
4333 | 4240 | ---- |
4334 | 4241 | ---- No. R-2-4 VALUES clause |
@@ -4340,15 +4247,14 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2, (VALUES(1,1,1,'1'), (2,2,2,'2')) AS t3 (c1, | ||
4340 | 4247 | \! sql/maskout.sh results/ut-R.tmpout |
4341 | 4248 | QUERY PLAN |
4342 | 4249 | -------------------------------------------------------------------------------- |
4343 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
4344 | - -> Hash Join (cost=xxx rows=2 width=xxx) | |
4250 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4251 | + -> Hash Join (cost=xxx..xxx rows=2 width=xxx) | |
4345 | 4252 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
4346 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4347 | - -> Hash (cost=xxx rows=2 width=xxx) | |
4348 | - -> Values Scan on "*VALUES*" (cost=xxx rows=2 width=xxx) | |
4349 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
4253 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4254 | + -> Hash (cost=xxx..xxx rows=2 width=xxx) | |
4255 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=2 width=xxx) | |
4256 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
4350 | 4257 | Index Cond: (c1 = t2.c1) |
4351 | -(8 rows) | |
4352 | 4258 | |
4353 | 4259 | \o results/ut-R.tmpout |
4354 | 4260 | /*+ Leading(t3 t1 t2) Rows(t3 t1 #2)Rows(t3 t1 t2 #2)*/ |
@@ -4366,15 +4272,14 @@ error hint: | ||
4366 | 4272 | \! sql/maskout.sh results/ut-R.tmpout |
4367 | 4273 | QUERY PLAN |
4368 | 4274 | -------------------------------------------------------------------------------- |
4369 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
4370 | - -> Hash Join (cost=xxx rows=2 width=xxx) | |
4275 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4276 | + -> Hash Join (cost=xxx..xxx rows=2 width=xxx) | |
4371 | 4277 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
4372 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4373 | - -> Hash (cost=xxx rows=2 width=xxx) | |
4374 | - -> Values Scan on "*VALUES*" (cost=xxx rows=2 width=xxx) | |
4375 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
4278 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4279 | + -> Hash (cost=xxx..xxx rows=2 width=xxx) | |
4280 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=2 width=xxx) | |
4281 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
4376 | 4282 | Index Cond: (c1 = t2.c1) |
4377 | -(8 rows) | |
4378 | 4283 | |
4379 | 4284 | \o results/ut-R.tmpout |
4380 | 4285 | /*+ Leading(*VALUES* t1 t2) Rows(*VALUES* t1 #2)Rows(*VALUES* t1 t2 #20)*/ |
@@ -4392,14 +4297,13 @@ error hint: | ||
4392 | 4297 | \! sql/maskout.sh results/ut-R.tmpout |
4393 | 4298 | QUERY PLAN |
4394 | 4299 | ----------------------------------------------------------------------------- |
4395 | - Nested Loop (cost=xxx rows=20 width=xxx) | |
4396 | - -> Nested Loop (cost=xxx rows=2 width=xxx) | |
4397 | - -> Values Scan on "*VALUES*" (cost=xxx rows=2 width=xxx) | |
4398 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
4300 | + Nested Loop (cost=xxx..xxx rows=20 width=xxx) | |
4301 | + -> Nested Loop (cost=xxx..xxx rows=2 width=xxx) | |
4302 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=2 width=xxx) | |
4303 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
4399 | 4304 | Index Cond: (c1 = "*VALUES*".column1) |
4400 | - -> Index Scan using t2_i1 on t2 (cost=xxx rows=1 width=xxx) | |
4305 | + -> Index Scan using t2_i1 on t2 (cost=xxx..xxx rows=1 width=xxx) | |
4401 | 4306 | Index Cond: (c1 = t1.c1) |
4402 | -(7 rows) | |
4403 | 4307 | |
4404 | 4308 | -- No. R-2-4-2 |
4405 | 4309 | \o results/ut-R.tmpout |
@@ -4408,19 +4312,18 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2, (VALUES(1,1,1,'1'), (2,2,2,'2')) AS t3 (c1, | ||
4408 | 4312 | \! sql/maskout.sh results/ut-R.tmpout |
4409 | 4313 | QUERY PLAN |
4410 | 4314 | -------------------------------------------------------------------------------------- |
4411 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
4412 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
4315 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4316 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4413 | 4317 | Join Filter: (t2.c1 = "*VALUES*_1".column1) |
4414 | - -> Hash Join (cost=xxx rows=2 width=xxx) | |
4318 | + -> Hash Join (cost=xxx..xxx rows=2 width=xxx) | |
4415 | 4319 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
4416 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4417 | - -> Hash (cost=xxx rows=2 width=xxx) | |
4418 | - -> Values Scan on "*VALUES*" (cost=xxx rows=2 width=xxx) | |
4419 | - -> Materialize (cost=xxx rows=2 width=xxx) | |
4420 | - -> Values Scan on "*VALUES*_1" (cost=xxx rows=2 width=xxx) | |
4421 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
4320 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4321 | + -> Hash (cost=xxx..xxx rows=2 width=xxx) | |
4322 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=2 width=xxx) | |
4323 | + -> Materialize (cost=xxx..xxx rows=2 width=xxx) | |
4324 | + -> Values Scan on "*VALUES*_1" (cost=xxx..xxx rows=2 width=xxx) | |
4325 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
4422 | 4326 | Index Cond: (c1 = t2.c1) |
4423 | -(12 rows) | |
4424 | 4327 | |
4425 | 4328 | \o results/ut-R.tmpout |
4426 | 4329 | /*+ Leading(t4 t3 t2 t1) Rows(t4 t3 #2) Rows(t4 t3 t2 #2)Rows(t4 t3 t2 t1 #2)*/ |
@@ -4439,19 +4342,18 @@ error hint: | ||
4439 | 4342 | \! sql/maskout.sh results/ut-R.tmpout |
4440 | 4343 | QUERY PLAN |
4441 | 4344 | -------------------------------------------------------------------------------------- |
4442 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
4443 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
4345 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4346 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4444 | 4347 | Join Filter: (t2.c1 = "*VALUES*_1".column1) |
4445 | - -> Hash Join (cost=xxx rows=2 width=xxx) | |
4348 | + -> Hash Join (cost=xxx..xxx rows=2 width=xxx) | |
4446 | 4349 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
4447 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4448 | - -> Hash (cost=xxx rows=2 width=xxx) | |
4449 | - -> Values Scan on "*VALUES*" (cost=xxx rows=2 width=xxx) | |
4450 | - -> Materialize (cost=xxx rows=2 width=xxx) | |
4451 | - -> Values Scan on "*VALUES*_1" (cost=xxx rows=2 width=xxx) | |
4452 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
4350 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4351 | + -> Hash (cost=xxx..xxx rows=2 width=xxx) | |
4352 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=2 width=xxx) | |
4353 | + -> Materialize (cost=xxx..xxx rows=2 width=xxx) | |
4354 | + -> Values Scan on "*VALUES*_1" (cost=xxx..xxx rows=2 width=xxx) | |
4355 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
4453 | 4356 | Index Cond: (c1 = t2.c1) |
4454 | -(12 rows) | |
4455 | 4357 | |
4456 | 4358 | \o results/ut-R.tmpout |
4457 | 4359 | /*+ Leading(*VALUES* t3 t2 t1) Rows(t4 t3 #2)Rows(*VALUES* t3 t2 #2)Rows(*VALUES* t3 t2 t1 #2)*/ |
@@ -4476,19 +4378,18 @@ Rows(*VALUES* t1 t2 t3 #2) | ||
4476 | 4378 | \! sql/maskout.sh results/ut-R.tmpout |
4477 | 4379 | QUERY PLAN |
4478 | 4380 | -------------------------------------------------------------------------------------- |
4479 | - Nested Loop (cost=xxx rows=1 width=xxx) | |
4480 | - -> Nested Loop (cost=xxx rows=1 width=xxx) | |
4381 | + Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4382 | + -> Nested Loop (cost=xxx..xxx rows=1 width=xxx) | |
4481 | 4383 | Join Filter: (t2.c1 = "*VALUES*_1".column1) |
4482 | - -> Hash Join (cost=xxx rows=2 width=xxx) | |
4384 | + -> Hash Join (cost=xxx..xxx rows=2 width=xxx) | |
4483 | 4385 | Hash Cond: (t2.c1 = "*VALUES*".column1) |
4484 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4485 | - -> Hash (cost=xxx rows=2 width=xxx) | |
4486 | - -> Values Scan on "*VALUES*" (cost=xxx rows=2 width=xxx) | |
4487 | - -> Materialize (cost=xxx rows=2 width=xxx) | |
4488 | - -> Values Scan on "*VALUES*_1" (cost=xxx rows=2 width=xxx) | |
4489 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1 width=xxx) | |
4386 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4387 | + -> Hash (cost=xxx..xxx rows=2 width=xxx) | |
4388 | + -> Values Scan on "*VALUES*" (cost=xxx..xxx rows=2 width=xxx) | |
4389 | + -> Materialize (cost=xxx..xxx rows=2 width=xxx) | |
4390 | + -> Values Scan on "*VALUES*_1" (cost=xxx..xxx rows=2 width=xxx) | |
4391 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1 width=xxx) | |
4490 | 4392 | Index Cond: (c1 = t2.c1) |
4491 | -(12 rows) | |
4492 | 4393 | |
4493 | 4394 | ---- |
4494 | 4395 | ---- No. R-2-5 |
@@ -4500,20 +4401,19 @@ EXPLAIN SELECT max(bmt1.c1) FROM s1.t1 bmt1, (SELECT ctid, * FROM s1.t2 bmt2) sb | ||
4500 | 4401 | \! sql/maskout.sh results/ut-R.tmpout |
4501 | 4402 | QUERY PLAN |
4502 | 4403 | ------------------------------------------------------------------------------------------------------ |
4503 | - Aggregate (cost=xxx rows=1 width=xxx) | |
4504 | - -> Nested Loop (cost=xxx rows=100 width=xxx) | |
4505 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
4404 | + Aggregate (cost=xxx..xxx rows=1 width=xxx) | |
4405 | + -> Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
4406 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
4506 | 4407 | Merge Cond: (bmt1.c1 = bmt2.c1) |
4507 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
4408 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
4508 | 4409 | Merge Cond: (bmt1.c1 = bmt3.c1) |
4509 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
4510 | - -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
4511 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4410 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
4411 | + -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
4412 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4512 | 4413 | Sort Key: bmt2.c1 |
4513 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
4514 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
4414 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
4415 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
4515 | 4416 | Index Cond: (c1 = bmt1.c1) |
4516 | -(13 rows) | |
4517 | 4417 | |
4518 | 4418 | \o results/ut-R.tmpout |
4519 | 4419 | /*+ |
@@ -4533,21 +4433,20 @@ error hint: | ||
4533 | 4433 | \! sql/maskout.sh results/ut-R.tmpout |
4534 | 4434 | QUERY PLAN |
4535 | 4435 | ----------------------------------------------------------------------------------------- |
4536 | - Merge Join (cost=xxx rows=70 width=xxx) | |
4436 | + Merge Join (cost=xxx..xxx rows=70 width=xxx) | |
4537 | 4437 | Merge Cond: (bmt1.c1 = bmt2.c1) |
4538 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
4539 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4438 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
4439 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4540 | 4440 | Sort Key: bmt2.c1 |
4541 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
4441 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
4542 | 4442 | Hash Cond: (bmt3.c1 = bmt2.c1) |
4543 | - -> Hash Join (cost=xxx rows=1130 width=xxx) | |
4443 | + -> Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
4544 | 4444 | Hash Cond: (bmt3.c1 = bmt4.c1) |
4545 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
4546 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
4547 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
4548 | - -> Hash (cost=xxx rows=100 width=xxx) | |
4549 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
4550 | -(14 rows) | |
4445 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
4446 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
4447 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
4448 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
4449 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
4551 | 4450 | |
4552 | 4451 | -- No. R-2-5-2 |
4553 | 4452 | \o results/ut-R.tmpout |
@@ -4556,19 +4455,18 @@ EXPLAIN SELECT bmt1.c1 FROM s1.t1 bmt1, (SELECT ctid, * FROM s1.t2 bmt2) sbmt2, | ||
4556 | 4455 | \! sql/maskout.sh results/ut-R.tmpout |
4557 | 4456 | QUERY PLAN |
4558 | 4457 | ------------------------------------------------------------------------------------------------ |
4559 | - Nested Loop (cost=xxx rows=100 width=xxx) | |
4560 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
4458 | + Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
4459 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
4561 | 4460 | Merge Cond: (bmt1.c1 = bmt2.c1) |
4562 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
4461 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
4563 | 4462 | Merge Cond: (bmt1.c1 = bmt3.c1) |
4564 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
4565 | - -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
4566 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4463 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
4464 | + -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
4465 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4567 | 4466 | Sort Key: bmt2.c1 |
4568 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
4569 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
4467 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
4468 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
4570 | 4469 | Index Cond: (c1 = bmt1.c1) |
4571 | -(12 rows) | |
4572 | 4470 | |
4573 | 4471 | \o results/ut-R.tmpout |
4574 | 4472 | /*+ |
@@ -4588,21 +4486,20 @@ error hint: | ||
4588 | 4486 | \! sql/maskout.sh results/ut-R.tmpout |
4589 | 4487 | QUERY PLAN |
4590 | 4488 | ----------------------------------------------------------------------------------------- |
4591 | - Merge Join (cost=xxx rows=60 width=xxx) | |
4489 | + Merge Join (cost=xxx..xxx rows=60 width=xxx) | |
4592 | 4490 | Merge Cond: (bmt1.c1 = bmt2.c1) |
4593 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
4594 | - -> Sort (cost=xxx rows=60 width=xxx) | |
4491 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
4492 | + -> Sort (cost=xxx..xxx rows=60 width=xxx) | |
4595 | 4493 | Sort Key: bmt2.c1 |
4596 | - -> Hash Join (cost=xxx rows=60 width=xxx) | |
4494 | + -> Hash Join (cost=xxx..xxx rows=60 width=xxx) | |
4597 | 4495 | Hash Cond: (bmt3.c1 = bmt2.c1) |
4598 | - -> Hash Join (cost=xxx rows=678 width=xxx) | |
4496 | + -> Hash Join (cost=xxx..xxx rows=678 width=xxx) | |
4599 | 4497 | Hash Cond: (bmt3.c1 = bmt4.c1) |
4600 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
4601 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
4602 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
4603 | - -> Hash (cost=xxx rows=100 width=xxx) | |
4604 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
4605 | -(14 rows) | |
4498 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
4499 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
4500 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
4501 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
4502 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
4606 | 4503 | |
4607 | 4504 | -- No. R-2-5-3 |
4608 | 4505 | \o results/ut-R.tmpout |
@@ -4611,19 +4508,18 @@ EXPLAIN SELECT bmt1.c1 FROM s1.t1 bmt1, (SELECT ctid, * FROM s1.t2 bmt2) sbmt2, | ||
4611 | 4508 | \! sql/maskout.sh results/ut-R.tmpout |
4612 | 4509 | QUERY PLAN |
4613 | 4510 | ------------------------------------------------------------------------------------------------ |
4614 | - Nested Loop (cost=xxx rows=100 width=xxx) | |
4615 | - -> Merge Join (cost=xxx rows=100 width=xxx) | |
4511 | + Nested Loop (cost=xxx..xxx rows=100 width=xxx) | |
4512 | + -> Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
4616 | 4513 | Merge Cond: (bmt1.c1 = bmt2.c1) |
4617 | - -> Merge Join (cost=xxx rows=1000 width=xxx) | |
4514 | + -> Merge Join (cost=xxx..xxx rows=1000 width=xxx) | |
4618 | 4515 | Merge Cond: (bmt1.c1 = bmt3.c1) |
4619 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
4620 | - -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
4621 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4516 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
4517 | + -> Index Only Scan using t3_i1 on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
4518 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4622 | 4519 | Sort Key: bmt2.c1 |
4623 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
4624 | - -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx rows=1 width=xxx) | |
4520 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
4521 | + -> Index Only Scan using t4_i1 on t4 bmt4 (cost=xxx..xxx rows=1 width=xxx) | |
4625 | 4522 | Index Cond: (c1 = bmt1.c1) |
4626 | -(12 rows) | |
4627 | 4523 | |
4628 | 4524 | \o results/ut-R.tmpout |
4629 | 4525 | /*+ |
@@ -4643,21 +4539,20 @@ error hint: | ||
4643 | 4539 | \! sql/maskout.sh results/ut-R.tmpout |
4644 | 4540 | QUERY PLAN |
4645 | 4541 | ----------------------------------------------------------------------------------------- |
4646 | - Merge Join (cost=xxx rows=50 width=xxx) | |
4542 | + Merge Join (cost=xxx..xxx rows=50 width=xxx) | |
4647 | 4543 | Merge Cond: (bmt1.c1 = bmt2.c1) |
4648 | - -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx rows=1000 width=xxx) | |
4649 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4544 | + -> Index Only Scan using t1_i1 on t1 bmt1 (cost=xxx..xxx rows=1000 width=xxx) | |
4545 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4650 | 4546 | Sort Key: bmt2.c1 |
4651 | - -> Hash Join (cost=xxx rows=100 width=xxx) | |
4547 | + -> Hash Join (cost=xxx..xxx rows=100 width=xxx) | |
4652 | 4548 | Hash Cond: (bmt3.c1 = bmt2.c1) |
4653 | - -> Hash Join (cost=xxx rows=1130 width=xxx) | |
4549 | + -> Hash Join (cost=xxx..xxx rows=1130 width=xxx) | |
4654 | 4550 | Hash Cond: (bmt3.c1 = bmt4.c1) |
4655 | - -> Seq Scan on t3 bmt3 (cost=xxx rows=1130 width=xxx) | |
4656 | - -> Hash (cost=xxx rows=1130 width=xxx) | |
4657 | - -> Seq Scan on t4 bmt4 (cost=xxx rows=1130 width=xxx) | |
4658 | - -> Hash (cost=xxx rows=100 width=xxx) | |
4659 | - -> Seq Scan on t2 bmt2 (cost=xxx rows=100 width=xxx) | |
4660 | -(14 rows) | |
4551 | + -> Seq Scan on t3 bmt3 (cost=xxx..xxx rows=1130 width=xxx) | |
4552 | + -> Hash (cost=xxx..xxx rows=1130 width=xxx) | |
4553 | + -> Seq Scan on t4 bmt4 (cost=xxx..xxx rows=1130 width=xxx) | |
4554 | + -> Hash (cost=xxx..xxx rows=100 width=xxx) | |
4555 | + -> Seq Scan on t2 bmt2 (cost=xxx..xxx rows=100 width=xxx) | |
4661 | 4556 | |
4662 | 4557 | ---- |
4663 | 4558 | ---- No. R-3-1 abusolute value |
@@ -4678,13 +4573,12 @@ error hint: | ||
4678 | 4573 | \! sql/maskout.sh results/ut-R.tmpout |
4679 | 4574 | QUERY PLAN |
4680 | 4575 | --------------------------------------------------------------------------- |
4681 | - Merge Join (cost=xxx rows=1 width=xxx) | |
4576 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
4682 | 4577 | Merge Cond: (t1.c1 = t2.c1) |
4683 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4684 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4578 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4579 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4685 | 4580 | Sort Key: t2.c1 |
4686 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4687 | -(6 rows) | |
4581 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4688 | 4582 | |
4689 | 4583 | -- No. R-3-1-2 |
4690 | 4584 | \o results/ut-R.tmpout |
@@ -4701,13 +4595,12 @@ error hint: | ||
4701 | 4595 | \! sql/maskout.sh results/ut-R.tmpout |
4702 | 4596 | QUERY PLAN |
4703 | 4597 | --------------------------------------------------------------------------- |
4704 | - Merge Join (cost=xxx rows=5 width=xxx) | |
4598 | + Merge Join (cost=xxx..xxx rows=5 width=xxx) | |
4705 | 4599 | Merge Cond: (t1.c1 = t2.c1) |
4706 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4707 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4600 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4601 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4708 | 4602 | Sort Key: t2.c1 |
4709 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4710 | -(6 rows) | |
4603 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4711 | 4604 | |
4712 | 4605 | ---- |
4713 | 4606 | ---- No. R-3-2 increase or decrease value |
@@ -4727,13 +4620,12 @@ error hint: | ||
4727 | 4620 | \! sql/maskout.sh results/ut-R.tmpout |
4728 | 4621 | QUERY PLAN |
4729 | 4622 | --------------------------------------------------------------------------- |
4730 | - Merge Join (cost=xxx rows=101 width=xxx) | |
4623 | + Merge Join (cost=xxx..xxx rows=101 width=xxx) | |
4731 | 4624 | Merge Cond: (t1.c1 = t2.c1) |
4732 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4733 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4625 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4626 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4734 | 4627 | Sort Key: t2.c1 |
4735 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4736 | -(6 rows) | |
4628 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4737 | 4629 | |
4738 | 4630 | -- No. R-3-2-2 |
4739 | 4631 | \o results/ut-R.tmpout |
@@ -4750,13 +4642,12 @@ error hint: | ||
4750 | 4642 | \! sql/maskout.sh results/ut-R.tmpout |
4751 | 4643 | QUERY PLAN |
4752 | 4644 | --------------------------------------------------------------------------- |
4753 | - Merge Join (cost=xxx rows=99 width=xxx) | |
4645 | + Merge Join (cost=xxx..xxx rows=99 width=xxx) | |
4754 | 4646 | Merge Cond: (t1.c1 = t2.c1) |
4755 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4756 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4647 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4648 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4757 | 4649 | Sort Key: t2.c1 |
4758 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4759 | -(6 rows) | |
4650 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4760 | 4651 | |
4761 | 4652 | -- No. R-3-2-3 |
4762 | 4653 | \o results/ut-R.tmpout |
@@ -4774,13 +4665,12 @@ error hint: | ||
4774 | 4665 | \! sql/maskout.sh results/ut-R.tmpout |
4775 | 4666 | QUERY PLAN |
4776 | 4667 | --------------------------------------------------------------------------- |
4777 | - Merge Join (cost=xxx rows=1 width=xxx) | |
4668 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
4778 | 4669 | Merge Cond: (t1.c1 = t2.c1) |
4779 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4780 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4670 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4671 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4781 | 4672 | Sort Key: t2.c1 |
4782 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4783 | -(6 rows) | |
4673 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4784 | 4674 | |
4785 | 4675 | ---- |
4786 | 4676 | ---- No. R-3-3 multiple |
@@ -4801,13 +4691,12 @@ error hint: | ||
4801 | 4691 | \! sql/maskout.sh results/ut-R.tmpout |
4802 | 4692 | QUERY PLAN |
4803 | 4693 | --------------------------------------------------------------------------- |
4804 | - Merge Join (cost=xxx rows=1 width=xxx) | |
4694 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
4805 | 4695 | Merge Cond: (t1.c1 = t2.c1) |
4806 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4807 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4696 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4697 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4808 | 4698 | Sort Key: t2.c1 |
4809 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4810 | -(6 rows) | |
4699 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4811 | 4700 | |
4812 | 4701 | -- No. R-3-3-2 |
4813 | 4702 | \o results/ut-R.tmpout |
@@ -4824,13 +4713,12 @@ error hint: | ||
4824 | 4713 | \! sql/maskout.sh results/ut-R.tmpout |
4825 | 4714 | QUERY PLAN |
4826 | 4715 | --------------------------------------------------------------------------- |
4827 | - Merge Join (cost=xxx rows=200 width=xxx) | |
4716 | + Merge Join (cost=xxx..xxx rows=200 width=xxx) | |
4828 | 4717 | Merge Cond: (t1.c1 = t2.c1) |
4829 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4830 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4718 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4719 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4831 | 4720 | Sort Key: t2.c1 |
4832 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4833 | -(6 rows) | |
4721 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4834 | 4722 | |
4835 | 4723 | -- No. R-3-3-3 |
4836 | 4724 | \o results/ut-R.tmpout |
@@ -4847,13 +4735,12 @@ error hint: | ||
4847 | 4735 | \! sql/maskout.sh results/ut-R.tmpout |
4848 | 4736 | QUERY PLAN |
4849 | 4737 | --------------------------------------------------------------------------- |
4850 | - Merge Join (cost=xxx rows=10 width=xxx) | |
4738 | + Merge Join (cost=xxx..xxx rows=10 width=xxx) | |
4851 | 4739 | Merge Cond: (t1.c1 = t2.c1) |
4852 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
4853 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4740 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4741 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
4854 | 4742 | Sort Key: t2.c1 |
4855 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
4856 | -(6 rows) | |
4743 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
4857 | 4744 | |
4858 | 4745 | ---- |
4859 | 4746 | ---- No. R-3-4 join inherit tables |
@@ -4865,26 +4752,25 @@ EXPLAIN SELECT * FROM s1.p1, s1.p2 WHERE p1.c1 = p2.c1; | ||
4865 | 4752 | \! sql/maskout.sh results/ut-R.tmpout |
4866 | 4753 | QUERY PLAN |
4867 | 4754 | ------------------------------------------------------------------------- |
4868 | - Hash Join (cost=xxx rows=301 width=xxx) | |
4755 | + Hash Join (cost=xxx..xxx rows=301 width=xxx) | |
4869 | 4756 | Hash Cond: (p2.c1 = p1.c1) |
4870 | - -> Append (cost=xxx rows=304 width=xxx) | |
4871 | - -> Seq Scan on p2 (cost=xxx rows=1 width=xxx) | |
4872 | - -> Seq Scan on p2c1 (cost=xxx rows=1 width=xxx) | |
4873 | - -> Seq Scan on p2c2 (cost=xxx rows=1 width=xxx) | |
4874 | - -> Seq Scan on p2c3 (cost=xxx rows=1 width=xxx) | |
4875 | - -> Seq Scan on p2c1c1 (cost=xxx rows=50 width=xxx) | |
4876 | - -> Seq Scan on p2c1c2 (cost=xxx rows=50 width=xxx) | |
4877 | - -> Seq Scan on p2c2c1 (cost=xxx rows=50 width=xxx) | |
4878 | - -> Seq Scan on p2c2c2 (cost=xxx rows=50 width=xxx) | |
4879 | - -> Seq Scan on p2c3c1 (cost=xxx rows=50 width=xxx) | |
4880 | - -> Seq Scan on p2c3c2 (cost=xxx rows=50 width=xxx) | |
4881 | - -> Hash (cost=xxx rows=301 width=xxx) | |
4882 | - -> Append (cost=xxx rows=301 width=xxx) | |
4883 | - -> Seq Scan on p1 (cost=xxx rows=1 width=xxx) | |
4884 | - -> Seq Scan on p1c1 (cost=xxx rows=100 width=xxx) | |
4885 | - -> Seq Scan on p1c2 (cost=xxx rows=100 width=xxx) | |
4886 | - -> Seq Scan on p1c3 (cost=xxx rows=100 width=xxx) | |
4887 | -(19 rows) | |
4757 | + -> Append (cost=xxx..xxx rows=304 width=xxx) | |
4758 | + -> Seq Scan on p2 (cost=xxx..xxx rows=1 width=xxx) | |
4759 | + -> Seq Scan on p2c1 (cost=xxx..xxx rows=1 width=xxx) | |
4760 | + -> Seq Scan on p2c2 (cost=xxx..xxx rows=1 width=xxx) | |
4761 | + -> Seq Scan on p2c3 (cost=xxx..xxx rows=1 width=xxx) | |
4762 | + -> Seq Scan on p2c1c1 (cost=xxx..xxx rows=50 width=xxx) | |
4763 | + -> Seq Scan on p2c1c2 (cost=xxx..xxx rows=50 width=xxx) | |
4764 | + -> Seq Scan on p2c2c1 (cost=xxx..xxx rows=50 width=xxx) | |
4765 | + -> Seq Scan on p2c2c2 (cost=xxx..xxx rows=50 width=xxx) | |
4766 | + -> Seq Scan on p2c3c1 (cost=xxx..xxx rows=50 width=xxx) | |
4767 | + -> Seq Scan on p2c3c2 (cost=xxx..xxx rows=50 width=xxx) | |
4768 | + -> Hash (cost=xxx..xxx rows=301 width=xxx) | |
4769 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
4770 | + -> Seq Scan on p1 (cost=xxx..xxx rows=1 width=xxx) | |
4771 | + -> Seq Scan on p1c1 (cost=xxx..xxx rows=100 width=xxx) | |
4772 | + -> Seq Scan on p1c2 (cost=xxx..xxx rows=100 width=xxx) | |
4773 | + -> Seq Scan on p1c3 (cost=xxx..xxx rows=100 width=xxx) | |
4888 | 4774 | |
4889 | 4775 | \o results/ut-R.tmpout |
4890 | 4776 | /*+Rows(p1 p2 #1)*/ |
@@ -4900,26 +4786,25 @@ error hint: | ||
4900 | 4786 | \! sql/maskout.sh results/ut-R.tmpout |
4901 | 4787 | QUERY PLAN |
4902 | 4788 | ------------------------------------------------------------------------- |
4903 | - Hash Join (cost=xxx rows=1 width=xxx) | |
4789 | + Hash Join (cost=xxx..xxx rows=1 width=xxx) | |
4904 | 4790 | Hash Cond: (p2.c1 = p1.c1) |
4905 | - -> Append (cost=xxx rows=304 width=xxx) | |
4906 | - -> Seq Scan on p2 (cost=xxx rows=1 width=xxx) | |
4907 | - -> Seq Scan on p2c1 (cost=xxx rows=1 width=xxx) | |
4908 | - -> Seq Scan on p2c2 (cost=xxx rows=1 width=xxx) | |
4909 | - -> Seq Scan on p2c3 (cost=xxx rows=1 width=xxx) | |
4910 | - -> Seq Scan on p2c1c1 (cost=xxx rows=50 width=xxx) | |
4911 | - -> Seq Scan on p2c1c2 (cost=xxx rows=50 width=xxx) | |
4912 | - -> Seq Scan on p2c2c1 (cost=xxx rows=50 width=xxx) | |
4913 | - -> Seq Scan on p2c2c2 (cost=xxx rows=50 width=xxx) | |
4914 | - -> Seq Scan on p2c3c1 (cost=xxx rows=50 width=xxx) | |
4915 | - -> Seq Scan on p2c3c2 (cost=xxx rows=50 width=xxx) | |
4916 | - -> Hash (cost=xxx rows=301 width=xxx) | |
4917 | - -> Append (cost=xxx rows=301 width=xxx) | |
4918 | - -> Seq Scan on p1 (cost=xxx rows=1 width=xxx) | |
4919 | - -> Seq Scan on p1c1 (cost=xxx rows=100 width=xxx) | |
4920 | - -> Seq Scan on p1c2 (cost=xxx rows=100 width=xxx) | |
4921 | - -> Seq Scan on p1c3 (cost=xxx rows=100 width=xxx) | |
4922 | -(19 rows) | |
4791 | + -> Append (cost=xxx..xxx rows=304 width=xxx) | |
4792 | + -> Seq Scan on p2 (cost=xxx..xxx rows=1 width=xxx) | |
4793 | + -> Seq Scan on p2c1 (cost=xxx..xxx rows=1 width=xxx) | |
4794 | + -> Seq Scan on p2c2 (cost=xxx..xxx rows=1 width=xxx) | |
4795 | + -> Seq Scan on p2c3 (cost=xxx..xxx rows=1 width=xxx) | |
4796 | + -> Seq Scan on p2c1c1 (cost=xxx..xxx rows=50 width=xxx) | |
4797 | + -> Seq Scan on p2c1c2 (cost=xxx..xxx rows=50 width=xxx) | |
4798 | + -> Seq Scan on p2c2c1 (cost=xxx..xxx rows=50 width=xxx) | |
4799 | + -> Seq Scan on p2c2c2 (cost=xxx..xxx rows=50 width=xxx) | |
4800 | + -> Seq Scan on p2c3c1 (cost=xxx..xxx rows=50 width=xxx) | |
4801 | + -> Seq Scan on p2c3c2 (cost=xxx..xxx rows=50 width=xxx) | |
4802 | + -> Hash (cost=xxx..xxx rows=301 width=xxx) | |
4803 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
4804 | + -> Seq Scan on p1 (cost=xxx..xxx rows=1 width=xxx) | |
4805 | + -> Seq Scan on p1c1 (cost=xxx..xxx rows=100 width=xxx) | |
4806 | + -> Seq Scan on p1c2 (cost=xxx..xxx rows=100 width=xxx) | |
4807 | + -> Seq Scan on p1c3 (cost=xxx..xxx rows=100 width=xxx) | |
4923 | 4808 | |
4924 | 4809 | -- No. R-3-4-2 |
4925 | 4810 | \o results/ut-R.tmpout |
@@ -4928,26 +4813,25 @@ EXPLAIN SELECT * FROM s1.p1, s1.p2 WHERE p1.c1 = p2.c1; | ||
4928 | 4813 | \! sql/maskout.sh results/ut-R.tmpout |
4929 | 4814 | QUERY PLAN |
4930 | 4815 | ------------------------------------------------------------------------- |
4931 | - Hash Join (cost=xxx rows=301 width=xxx) | |
4816 | + Hash Join (cost=xxx..xxx rows=301 width=xxx) | |
4932 | 4817 | Hash Cond: (p2.c1 = p1.c1) |
4933 | - -> Append (cost=xxx rows=304 width=xxx) | |
4934 | - -> Seq Scan on p2 (cost=xxx rows=1 width=xxx) | |
4935 | - -> Seq Scan on p2c1 (cost=xxx rows=1 width=xxx) | |
4936 | - -> Seq Scan on p2c2 (cost=xxx rows=1 width=xxx) | |
4937 | - -> Seq Scan on p2c3 (cost=xxx rows=1 width=xxx) | |
4938 | - -> Seq Scan on p2c1c1 (cost=xxx rows=50 width=xxx) | |
4939 | - -> Seq Scan on p2c1c2 (cost=xxx rows=50 width=xxx) | |
4940 | - -> Seq Scan on p2c2c1 (cost=xxx rows=50 width=xxx) | |
4941 | - -> Seq Scan on p2c2c2 (cost=xxx rows=50 width=xxx) | |
4942 | - -> Seq Scan on p2c3c1 (cost=xxx rows=50 width=xxx) | |
4943 | - -> Seq Scan on p2c3c2 (cost=xxx rows=50 width=xxx) | |
4944 | - -> Hash (cost=xxx rows=301 width=xxx) | |
4945 | - -> Append (cost=xxx rows=301 width=xxx) | |
4946 | - -> Seq Scan on p1 (cost=xxx rows=1 width=xxx) | |
4947 | - -> Seq Scan on p1c1 (cost=xxx rows=100 width=xxx) | |
4948 | - -> Seq Scan on p1c2 (cost=xxx rows=100 width=xxx) | |
4949 | - -> Seq Scan on p1c3 (cost=xxx rows=100 width=xxx) | |
4950 | -(19 rows) | |
4818 | + -> Append (cost=xxx..xxx rows=304 width=xxx) | |
4819 | + -> Seq Scan on p2 (cost=xxx..xxx rows=1 width=xxx) | |
4820 | + -> Seq Scan on p2c1 (cost=xxx..xxx rows=1 width=xxx) | |
4821 | + -> Seq Scan on p2c2 (cost=xxx..xxx rows=1 width=xxx) | |
4822 | + -> Seq Scan on p2c3 (cost=xxx..xxx rows=1 width=xxx) | |
4823 | + -> Seq Scan on p2c1c1 (cost=xxx..xxx rows=50 width=xxx) | |
4824 | + -> Seq Scan on p2c1c2 (cost=xxx..xxx rows=50 width=xxx) | |
4825 | + -> Seq Scan on p2c2c1 (cost=xxx..xxx rows=50 width=xxx) | |
4826 | + -> Seq Scan on p2c2c2 (cost=xxx..xxx rows=50 width=xxx) | |
4827 | + -> Seq Scan on p2c3c1 (cost=xxx..xxx rows=50 width=xxx) | |
4828 | + -> Seq Scan on p2c3c2 (cost=xxx..xxx rows=50 width=xxx) | |
4829 | + -> Hash (cost=xxx..xxx rows=301 width=xxx) | |
4830 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
4831 | + -> Seq Scan on p1 (cost=xxx..xxx rows=1 width=xxx) | |
4832 | + -> Seq Scan on p1c1 (cost=xxx..xxx rows=100 width=xxx) | |
4833 | + -> Seq Scan on p1c2 (cost=xxx..xxx rows=100 width=xxx) | |
4834 | + -> Seq Scan on p1c3 (cost=xxx..xxx rows=100 width=xxx) | |
4951 | 4835 | |
4952 | 4836 | \o results/ut-R.tmpout |
4953 | 4837 | /*+Rows(p1c1 p2c1 #1)*/ |
@@ -4963,26 +4847,25 @@ error hint: | ||
4963 | 4847 | \! sql/maskout.sh results/ut-R.tmpout |
4964 | 4848 | QUERY PLAN |
4965 | 4849 | ------------------------------------------------------------------------- |
4966 | - Hash Join (cost=xxx rows=301 width=xxx) | |
4850 | + Hash Join (cost=xxx..xxx rows=301 width=xxx) | |
4967 | 4851 | Hash Cond: (p2.c1 = p1.c1) |
4968 | - -> Append (cost=xxx rows=304 width=xxx) | |
4969 | - -> Seq Scan on p2 (cost=xxx rows=1 width=xxx) | |
4970 | - -> Seq Scan on p2c1 (cost=xxx rows=1 width=xxx) | |
4971 | - -> Seq Scan on p2c2 (cost=xxx rows=1 width=xxx) | |
4972 | - -> Seq Scan on p2c3 (cost=xxx rows=1 width=xxx) | |
4973 | - -> Seq Scan on p2c1c1 (cost=xxx rows=50 width=xxx) | |
4974 | - -> Seq Scan on p2c1c2 (cost=xxx rows=50 width=xxx) | |
4975 | - -> Seq Scan on p2c2c1 (cost=xxx rows=50 width=xxx) | |
4976 | - -> Seq Scan on p2c2c2 (cost=xxx rows=50 width=xxx) | |
4977 | - -> Seq Scan on p2c3c1 (cost=xxx rows=50 width=xxx) | |
4978 | - -> Seq Scan on p2c3c2 (cost=xxx rows=50 width=xxx) | |
4979 | - -> Hash (cost=xxx rows=301 width=xxx) | |
4980 | - -> Append (cost=xxx rows=301 width=xxx) | |
4981 | - -> Seq Scan on p1 (cost=xxx rows=1 width=xxx) | |
4982 | - -> Seq Scan on p1c1 (cost=xxx rows=100 width=xxx) | |
4983 | - -> Seq Scan on p1c2 (cost=xxx rows=100 width=xxx) | |
4984 | - -> Seq Scan on p1c3 (cost=xxx rows=100 width=xxx) | |
4985 | -(19 rows) | |
4852 | + -> Append (cost=xxx..xxx rows=304 width=xxx) | |
4853 | + -> Seq Scan on p2 (cost=xxx..xxx rows=1 width=xxx) | |
4854 | + -> Seq Scan on p2c1 (cost=xxx..xxx rows=1 width=xxx) | |
4855 | + -> Seq Scan on p2c2 (cost=xxx..xxx rows=1 width=xxx) | |
4856 | + -> Seq Scan on p2c3 (cost=xxx..xxx rows=1 width=xxx) | |
4857 | + -> Seq Scan on p2c1c1 (cost=xxx..xxx rows=50 width=xxx) | |
4858 | + -> Seq Scan on p2c1c2 (cost=xxx..xxx rows=50 width=xxx) | |
4859 | + -> Seq Scan on p2c2c1 (cost=xxx..xxx rows=50 width=xxx) | |
4860 | + -> Seq Scan on p2c2c2 (cost=xxx..xxx rows=50 width=xxx) | |
4861 | + -> Seq Scan on p2c3c1 (cost=xxx..xxx rows=50 width=xxx) | |
4862 | + -> Seq Scan on p2c3c2 (cost=xxx..xxx rows=50 width=xxx) | |
4863 | + -> Hash (cost=xxx..xxx rows=301 width=xxx) | |
4864 | + -> Append (cost=xxx..xxx rows=301 width=xxx) | |
4865 | + -> Seq Scan on p1 (cost=xxx..xxx rows=1 width=xxx) | |
4866 | + -> Seq Scan on p1c1 (cost=xxx..xxx rows=100 width=xxx) | |
4867 | + -> Seq Scan on p1c2 (cost=xxx..xxx rows=100 width=xxx) | |
4868 | + -> Seq Scan on p1c3 (cost=xxx..xxx rows=100 width=xxx) | |
4986 | 4869 | |
4987 | 4870 | ---- |
4988 | 4871 | ---- No. R-3-5 conflict join method hint |
@@ -4994,13 +4877,12 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
4994 | 4877 | \! sql/maskout.sh results/ut-R.tmpout |
4995 | 4878 | QUERY PLAN |
4996 | 4879 | --------------------------------------------------------------------------- |
4997 | - Merge Join (cost=xxx rows=100 width=xxx) | |
4880 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
4998 | 4881 | Merge Cond: (t1.c1 = t2.c1) |
4999 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5000 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4882 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4883 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5001 | 4884 | Sort Key: t2.c1 |
5002 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5003 | -(6 rows) | |
4885 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5004 | 4886 | |
5005 | 4887 | \o results/ut-R.tmpout |
5006 | 4888 | /*+Rows(t1 t2 #1)Rows(t1 t2 #1)*/ |
@@ -5019,13 +4901,12 @@ error hint: | ||
5019 | 4901 | \! sql/maskout.sh results/ut-R.tmpout |
5020 | 4902 | QUERY PLAN |
5021 | 4903 | --------------------------------------------------------------------------- |
5022 | - Merge Join (cost=xxx rows=1 width=xxx) | |
4904 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
5023 | 4905 | Merge Cond: (t1.c1 = t2.c1) |
5024 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5025 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4906 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4907 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5026 | 4908 | Sort Key: t2.c1 |
5027 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5028 | -(6 rows) | |
4909 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5029 | 4910 | |
5030 | 4911 | -- No. R-3-5-2 |
5031 | 4912 | \o results/ut-R.tmpout |
@@ -5034,13 +4915,12 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
5034 | 4915 | \! sql/maskout.sh results/ut-R.tmpout |
5035 | 4916 | QUERY PLAN |
5036 | 4917 | --------------------------------------------------------------------------- |
5037 | - Merge Join (cost=xxx rows=100 width=xxx) | |
4918 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
5038 | 4919 | Merge Cond: (t1.c1 = t2.c1) |
5039 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5040 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4920 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4921 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5041 | 4922 | Sort Key: t2.c1 |
5042 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5043 | -(6 rows) | |
4923 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5044 | 4924 | |
5045 | 4925 | \o results/ut-R.tmpout |
5046 | 4926 | /*+Rows(t1 t2 #1)Rows(t1 t2 #1)Rows(t1 t2 #1)*/ |
@@ -5062,13 +4942,12 @@ error hint: | ||
5062 | 4942 | \! sql/maskout.sh results/ut-R.tmpout |
5063 | 4943 | QUERY PLAN |
5064 | 4944 | --------------------------------------------------------------------------- |
5065 | - Merge Join (cost=xxx rows=1 width=xxx) | |
4945 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
5066 | 4946 | Merge Cond: (t1.c1 = t2.c1) |
5067 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5068 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4947 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4948 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5069 | 4949 | Sort Key: t2.c1 |
5070 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5071 | -(6 rows) | |
4950 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5072 | 4951 | |
5073 | 4952 | -- No. R-3-5-3 |
5074 | 4953 | \o results/ut-R.tmpout |
@@ -5077,13 +4956,12 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
5077 | 4956 | \! sql/maskout.sh results/ut-R.tmpout |
5078 | 4957 | QUERY PLAN |
5079 | 4958 | --------------------------------------------------------------------------- |
5080 | - Merge Join (cost=xxx rows=100 width=xxx) | |
4959 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
5081 | 4960 | Merge Cond: (t1.c1 = t2.c1) |
5082 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5083 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4961 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4962 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5084 | 4963 | Sort Key: t2.c1 |
5085 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5086 | -(6 rows) | |
4964 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5087 | 4965 | |
5088 | 4966 | \o results/ut-R.tmpout |
5089 | 4967 | /*+Rows(t1 t2 #1)Rows(t2 t1 #1)*/ |
@@ -5102,13 +4980,12 @@ error hint: | ||
5102 | 4980 | \! sql/maskout.sh results/ut-R.tmpout |
5103 | 4981 | QUERY PLAN |
5104 | 4982 | --------------------------------------------------------------------------- |
5105 | - Merge Join (cost=xxx rows=1 width=xxx) | |
4983 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
5106 | 4984 | Merge Cond: (t1.c1 = t2.c1) |
5107 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5108 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4985 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
4986 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5109 | 4987 | Sort Key: t2.c1 |
5110 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5111 | -(6 rows) | |
4988 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5112 | 4989 | |
5113 | 4990 | -- No. R-3-5-4 |
5114 | 4991 | \o results/ut-R.tmpout |
@@ -5117,13 +4994,12 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
5117 | 4994 | \! sql/maskout.sh results/ut-R.tmpout |
5118 | 4995 | QUERY PLAN |
5119 | 4996 | --------------------------------------------------------------------------- |
5120 | - Merge Join (cost=xxx rows=100 width=xxx) | |
4997 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
5121 | 4998 | Merge Cond: (t1.c1 = t2.c1) |
5122 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5123 | - -> Sort (cost=xxx rows=100 width=xxx) | |
4999 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
5000 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5124 | 5001 | Sort Key: t2.c1 |
5125 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5126 | -(6 rows) | |
5002 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5127 | 5003 | |
5128 | 5004 | \o results/ut-R.tmpout |
5129 | 5005 | /*+Rows(t2 t1 #1)Rows(t1 t2 #1)Rows(t2 t1 #1)*/ |
@@ -5145,13 +5021,12 @@ error hint: | ||
5145 | 5021 | \! sql/maskout.sh results/ut-R.tmpout |
5146 | 5022 | QUERY PLAN |
5147 | 5023 | --------------------------------------------------------------------------- |
5148 | - Merge Join (cost=xxx rows=1 width=xxx) | |
5024 | + Merge Join (cost=xxx..xxx rows=1 width=xxx) | |
5149 | 5025 | Merge Cond: (t1.c1 = t2.c1) |
5150 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5151 | - -> Sort (cost=xxx rows=100 width=xxx) | |
5026 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
5027 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5152 | 5028 | Sort Key: t2.c1 |
5153 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5154 | -(6 rows) | |
5029 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5155 | 5030 | |
5156 | 5031 | ---- |
5157 | 5032 | ---- No. R-3-6 hint state output |
@@ -5164,13 +5039,12 @@ EXPLAIN SELECT * FROM s1.t1, s1.t2 WHERE t1.c1 = t2.c1; | ||
5164 | 5039 | \! sql/maskout.sh results/ut-R.tmpout |
5165 | 5040 | QUERY PLAN |
5166 | 5041 | --------------------------------------------------------------------------- |
5167 | - Merge Join (cost=xxx rows=100 width=xxx) | |
5042 | + Merge Join (cost=xxx..xxx rows=100 width=xxx) | |
5168 | 5043 | Merge Cond: (t1.c1 = t2.c1) |
5169 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5170 | - -> Sort (cost=xxx rows=100 width=xxx) | |
5044 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
5045 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5171 | 5046 | Sort Key: t2.c1 |
5172 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5173 | -(6 rows) | |
5047 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5174 | 5048 | |
5175 | 5049 | \o results/ut-R.tmpout |
5176 | 5050 | /*+Rows(t1 t2 +1)*/ |
@@ -5187,12 +5061,11 @@ error hint: | ||
5187 | 5061 | \! sql/maskout.sh results/ut-R.tmpout |
5188 | 5062 | QUERY PLAN |
5189 | 5063 | --------------------------------------------------------------------------- |
5190 | - Merge Join (cost=xxx rows=101 width=xxx) | |
5064 | + Merge Join (cost=xxx..xxx rows=101 width=xxx) | |
5191 | 5065 | Merge Cond: (t1.c1 = t2.c1) |
5192 | - -> Index Scan using t1_i1 on t1 (cost=xxx rows=1000 width=xxx) | |
5193 | - -> Sort (cost=xxx rows=100 width=xxx) | |
5066 | + -> Index Scan using t1_i1 on t1 (cost=xxx..xxx rows=1000 width=xxx) | |
5067 | + -> Sort (cost=xxx..xxx rows=100 width=xxx) | |
5194 | 5068 | Sort Key: t2.c1 |
5195 | - -> Seq Scan on t2 (cost=xxx rows=100 width=xxx) | |
5196 | -(6 rows) | |
5069 | + -> Seq Scan on t2 (cost=xxx..xxx rows=100 width=xxx) | |
5197 | 5070 | |
5198 | 5071 | \! rm results/ut-R.tmpout |
@@ -4511,7 +4511,8 @@ error hint: | ||
4511 | 4511 | ---- No. S-3-5 not used index |
4512 | 4512 | ---- |
4513 | 4513 | -- No. S-3-5-1 |
4514 | -\! psql contrib_regression -c "/*+IndexScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
4514 | +\o results/ut-S.tmpout | |
4515 | +/*+IndexScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
4515 | 4516 | LOG: available indexes for IndexScan(ti1): ti1_pred |
4516 | 4517 | LOG: pg_hint_plan: |
4517 | 4518 | used hint: |
@@ -4520,14 +4521,16 @@ not used hint: | ||
4520 | 4521 | duplication hint: |
4521 | 4522 | error hint: |
4522 | 4523 | |
4523 | - QUERY PLAN | |
4524 | ------------------------------------------------------------------------- | |
4525 | - Seq Scan on ti1 (cost=10000000000.00..10000000018.50 rows=1 width=15) | |
4524 | +\o | |
4525 | +\! sql/maskout.sh results/ut-S.tmpout | |
4526 | + QUERY PLAN | |
4527 | +------------------------------------------------------------------------------- | |
4528 | + Seq Scan on ti1 (cost={inf}..{inf} rows=1 width=xxx) | |
4526 | 4529 | Filter: (c1 = 100) |
4527 | -(2 rows) | |
4528 | 4530 | |
4529 | 4531 | -- No. S-3-5-2 |
4530 | -\! psql contrib_regression -c "/*+BitmapScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
4532 | +\o results/ut-S.tmpout | |
4533 | +/*+BitmapScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
4531 | 4534 | LOG: available indexes for BitmapScan(ti1): ti1_pred |
4532 | 4535 | LOG: pg_hint_plan: |
4533 | 4536 | used hint: |
@@ -4536,14 +4539,16 @@ not used hint: | ||
4536 | 4539 | duplication hint: |
4537 | 4540 | error hint: |
4538 | 4541 | |
4539 | - QUERY PLAN | |
4540 | ------------------------------------------------------------------------- | |
4541 | - Seq Scan on ti1 (cost=10000000000.00..10000000018.50 rows=1 width=15) | |
4542 | +\o | |
4543 | +\! sql/maskout.sh results/ut-S.tmpout | |
4544 | + QUERY PLAN | |
4545 | +------------------------------------------------------------------------------- | |
4546 | + Seq Scan on ti1 (cost={inf}..{inf} rows=1 width=xxx) | |
4542 | 4547 | Filter: (c1 = 100) |
4543 | -(2 rows) | |
4544 | 4548 | |
4545 | 4549 | -- No. S-3-5-3 |
4546 | -\! psql contrib_regression -c "/*+IndexOnlyScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
4550 | +\o results/ut-S.tmpout | |
4551 | +/*+IndexOnlyScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100; | |
4547 | 4552 | LOG: available indexes for IndexOnlyScan(ti1): ti1_pred |
4548 | 4553 | LOG: pg_hint_plan: |
4549 | 4554 | used hint: |
@@ -4552,14 +4557,16 @@ not used hint: | ||
4552 | 4557 | duplication hint: |
4553 | 4558 | error hint: |
4554 | 4559 | |
4555 | - QUERY PLAN | |
4556 | ------------------------------------------------------------------------ | |
4557 | - Seq Scan on ti1 (cost=10000000000.00..10000000018.50 rows=1 width=4) | |
4560 | +\o | |
4561 | +\! sql/maskout.sh results/ut-S.tmpout | |
4562 | + QUERY PLAN | |
4563 | +------------------------------------------------------------------------------- | |
4564 | + Seq Scan on ti1 (cost={inf}..{inf} rows=1 width=xxx) | |
4558 | 4565 | Filter: (c1 = 100) |
4559 | -(2 rows) | |
4560 | 4566 | |
4561 | 4567 | -- No. S-3-5-4 |
4562 | -\! psql contrib_regression -c "/*+IndexScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
4568 | +\o results/ut-S.tmpout | |
4569 | +/*+IndexScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
4563 | 4570 | LOG: available indexes for IndexScan(ti1): |
4564 | 4571 | LOG: pg_hint_plan: |
4565 | 4572 | used hint: |
@@ -4568,14 +4575,16 @@ not used hint: | ||
4568 | 4575 | duplication hint: |
4569 | 4576 | error hint: |
4570 | 4577 | |
4571 | - QUERY PLAN | |
4572 | ------------------------------------------------------------------------- | |
4573 | - Seq Scan on ti1 (cost=10000000000.00..10000000018.50 rows=1 width=15) | |
4578 | +\o | |
4579 | +\! sql/maskout.sh results/ut-S.tmpout | |
4580 | + QUERY PLAN | |
4581 | +------------------------------------------------------------------------------- | |
4582 | + Seq Scan on ti1 (cost={inf}..{inf} rows=1 width=xxx) | |
4574 | 4583 | Filter: (c1 = 100) |
4575 | -(2 rows) | |
4576 | 4584 | |
4577 | 4585 | -- No. S-3-5-5 |
4578 | -\! psql contrib_regression -c "/*+BitmapScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
4586 | +\o results/ut-S.tmpout | |
4587 | +/*+BitmapScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
4579 | 4588 | LOG: available indexes for BitmapScan(ti1): |
4580 | 4589 | LOG: pg_hint_plan: |
4581 | 4590 | used hint: |
@@ -4584,14 +4593,16 @@ not used hint: | ||
4584 | 4593 | duplication hint: |
4585 | 4594 | error hint: |
4586 | 4595 | |
4587 | - QUERY PLAN | |
4588 | ------------------------------------------------------------------------- | |
4589 | - Seq Scan on ti1 (cost=10000000000.00..10000000018.50 rows=1 width=15) | |
4596 | +\o | |
4597 | +\! sql/maskout.sh results/ut-S.tmpout | |
4598 | + QUERY PLAN | |
4599 | +------------------------------------------------------------------------------- | |
4600 | + Seq Scan on ti1 (cost={inf}..{inf} rows=1 width=xxx) | |
4590 | 4601 | Filter: (c1 = 100) |
4591 | -(2 rows) | |
4592 | 4602 | |
4593 | 4603 | -- No. S-3-5-6 |
4594 | -\! psql contrib_regression -c "/*+IndexOnlyScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
4604 | +\o results/ut-S.tmpout | |
4605 | +/*+IndexOnlyScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100; | |
4595 | 4606 | LOG: available indexes for IndexOnlyScan(ti1): |
4596 | 4607 | LOG: pg_hint_plan: |
4597 | 4608 | used hint: |
@@ -4600,11 +4611,12 @@ not used hint: | ||
4600 | 4611 | duplication hint: |
4601 | 4612 | error hint: |
4602 | 4613 | |
4603 | - QUERY PLAN | |
4604 | ------------------------------------------------------------------------ | |
4605 | - Seq Scan on ti1 (cost=10000000000.00..10000000018.50 rows=1 width=4) | |
4614 | +\o | |
4615 | +\! sql/maskout.sh results/ut-S.tmpout | |
4616 | + QUERY PLAN | |
4617 | +------------------------------------------------------------------------------- | |
4618 | + Seq Scan on ti1 (cost={inf}..{inf} rows=1 width=xxx) | |
4606 | 4619 | Filter: (c1 = 100) |
4607 | -(2 rows) | |
4608 | 4620 | |
4609 | 4621 | -- No. S-3-5-7 |
4610 | 4622 | EXPLAIN (COSTS false) SELECT * FROM s1.t1 WHERE t1.c1 = 1; |
@@ -4614,7 +4626,8 @@ EXPLAIN (COSTS false) SELECT * FROM s1.t1 WHERE t1.c1 = 1; | ||
4614 | 4626 | Index Cond: (c1 = 1) |
4615 | 4627 | (2 rows) |
4616 | 4628 | |
4617 | -\! psql contrib_regression -c "/*+TidScan(t1)*/ EXPLAIN (COSTS true) SELECT * FROM s1.t1 WHERE t1.c1 = 1" | grep -v "Planning time:" | |
4629 | +\o results/ut-S.tmpout | |
4630 | +/*+TidScan(t1)*/ EXPLAIN (COSTS true) SELECT * FROM s1.t1 WHERE t1.c1 = 1; | |
4618 | 4631 | LOG: pg_hint_plan: |
4619 | 4632 | used hint: |
4620 | 4633 | TidScan(t1) |
@@ -4622,11 +4635,12 @@ not used hint: | ||
4622 | 4635 | duplication hint: |
4623 | 4636 | error hint: |
4624 | 4637 | |
4625 | - QUERY PLAN | |
4626 | ------------------------------------------------------------------------ | |
4627 | - Seq Scan on t1 (cost=10000000000.00..10000000018.50 rows=1 width=15) | |
4638 | +\o | |
4639 | +\! sql/maskout.sh results/ut-S.tmpout | |
4640 | + QUERY PLAN | |
4641 | +------------------------------------------------------------------------------- | |
4642 | + Seq Scan on t1 (cost={inf}..{inf} rows=1 width=xxx) | |
4628 | 4643 | Filter: (c1 = 1) |
4629 | -(2 rows) | |
4630 | 4644 | |
4631 | 4645 | ---- |
4632 | 4646 | ---- No. S-3-6 query structure |
@@ -5262,12 +5276,11 @@ EXPLAIN SELECT c4 FROM s1.p1 WHERE c2 * 2 < 100 AND c1 < 10; | ||
5262 | 5276 | \! sql/maskout.sh results/ut-S.tmpout |
5263 | 5277 | QUERY PLAN |
5264 | 5278 | ---------------------------------------------------------- |
5265 | - Append (cost=xxx rows=4 width=xxx) | |
5266 | - -> Seq Scan on p1 (cost=xxx rows=1 width=xxx) | |
5279 | + Append (cost=xxx..xxx rows=4 width=xxx) | |
5280 | + -> Seq Scan on p1 (cost=xxx..xxx rows=1 width=xxx) | |
5267 | 5281 | Filter: ((c1 < 10) AND ((c2 * 2) < 100)) |
5268 | - -> Seq Scan on p1c1 (cost=xxx rows=3 width=xxx) | |
5282 | + -> Seq Scan on p1c1 (cost=xxx..xxx rows=3 width=xxx) | |
5269 | 5283 | Filter: ((c1 < 10) AND ((c2 * 2) < 100)) |
5270 | -(5 rows) | |
5271 | 5284 | |
5272 | 5285 | \o results/ut-S.tmpout |
5273 | 5286 | /*+IndexScan(p1 p1_parent)*/ EXPLAIN SELECT c4 FROM s1.p1 WHERE c2 * 2 < 100 AND c1 < 10; |
@@ -5284,12 +5297,11 @@ error hint: | ||
5284 | 5297 | \! sql/maskout.sh results/ut-S.tmpout |
5285 | 5298 | QUERY PLAN |
5286 | 5299 | ------------------------------------------------------------------------------------ |
5287 | - Append (cost=xxx rows=4 width=xxx) | |
5288 | - -> Index Scan using p1_parent on p1 (cost=xxx rows=1 width=xxx) | |
5300 | + Append (cost=xxx..xxx rows=4 width=xxx) | |
5301 | + -> Index Scan using p1_parent on p1 (cost=xxx..xxx rows=1 width=xxx) | |
5289 | 5302 | Filter: ((c2 * 2) < 100) |
5290 | - -> Index Scan using p1c1_c4_expr_idx on p1c1 (cost=xxx rows=3 width=xxx) | |
5303 | + -> Index Scan using p1c1_c4_expr_idx on p1c1 (cost=xxx..xxx rows=3 width=xxx) | |
5291 | 5304 | Filter: ((c2 * 2) < 100) |
5292 | -(5 rows) | |
5293 | 5305 | |
5294 | 5306 | -- No. S-3-10-4 |
5295 | 5307 | \o results/ut-S.tmpout |
@@ -5307,18 +5319,17 @@ error hint: | ||
5307 | 5319 | |
5308 | 5320 | \o |
5309 | 5321 | \! sql/maskout.sh results/ut-S.tmpout |
5310 | - QUERY PLAN | |
5311 | ------------------------------------------------------------------------------- | |
5312 | - Append (cost=xxx rows=4 width=xxx) | |
5313 | - -> Index Scan using p1_i2 on p1 (cost=xxx rows=1 width=xxx) | |
5322 | + QUERY PLAN | |
5323 | +------------------------------------------------------------------------------- | |
5324 | + Append (cost=xxx..xxx rows=4 width=xxx) | |
5325 | + -> Index Scan using p1_i2 on p1 (cost=xxx..xxx rows=1 width=xxx) | |
5314 | 5326 | Index Cond: (c2 = 1) |
5315 | - -> Seq Scan on p1c1 (cost=xxx rows=1 width=xxx) | |
5327 | + -> Seq Scan on p1c1 (cost={inf}..{inf} rows=1 width=xxx) | |
5316 | 5328 | Filter: (c2 = 1) |
5317 | - -> Seq Scan on p1c2 (cost=xxx rows=1 width=xxx) | |
5329 | + -> Seq Scan on p1c2 (cost={inf}..{inf} rows=1 width=xxx) | |
5318 | 5330 | Filter: (c2 = 1) |
5319 | - -> Seq Scan on p1c3 (cost=xxx rows=1 width=xxx) | |
5331 | + -> Seq Scan on p1c3 (cost={inf}..{inf} rows=1 width=xxx) | |
5320 | 5332 | Filter: (c2 = 1) |
5321 | -(9 rows) | |
5322 | 5333 | |
5323 | 5334 | -- No. S-3-10-5 |
5324 | 5335 | \o results/ut-S.tmpout |
@@ -5337,14 +5348,13 @@ error hint: | ||
5337 | 5348 | \! sql/maskout.sh results/ut-S.tmpout |
5338 | 5349 | QUERY PLAN |
5339 | 5350 | --------------------------------------------------------------------------------- |
5340 | - Append (cost=xxx rows=3 width=xxx) | |
5341 | - -> Seq Scan on p2 (cost=xxx rows=1 width=xxx) | |
5351 | + Append (cost={inf}..{inf} rows=3 width=xxx) | |
5352 | + -> Seq Scan on p2 (cost={inf}..{inf} rows=1 width=xxx) | |
5342 | 5353 | Filter: (c1 = 1) |
5343 | - -> Index Scan using p2c1_pkey on p2c1 (cost=xxx rows=1 width=xxx) | |
5354 | + -> Index Scan using p2c1_pkey on p2c1 (cost=xxx..xxx rows=1 width=xxx) | |
5344 | 5355 | Index Cond: (c1 = 1) |
5345 | - -> Seq Scan on p2c1c1 (cost=xxx rows=1 width=xxx) | |
5356 | + -> Seq Scan on p2c1c1 (cost={inf}..{inf} rows=1 width=xxx) | |
5346 | 5357 | Filter: (c1 = 1) |
5347 | -(7 rows) | |
5348 | 5358 | |
5349 | 5359 | ---- |
5350 | 5360 | ---- No. S-3-12 specified same table |
@@ -1,4 +1,4 @@ | ||
1 | 1 | #! /bin/sh |
2 | 2 | cat $1 | \ |
3 | -sed 's/cost=[\.0-9]*/cost=xxx/;s/width=[0-9]*/width=xxx/' |\ | |
4 | -grep -v "Planning time:" | |
3 | +sed 's/cost=10\{7\}[\.0-9]\+ /cost={inf}..{inf} /;s/cost=[\.0-9]\+ /cost=xxx..xxx /;s/width=[0-9]\+\([^0-9]\)/width=xxx\1/' |\ | |
4 | +egrep -v "^ *((Planning time|JIT|Functions|Options):|\([0-9]* rows\))" |
@@ -683,7 +683,7 @@ SET client_min_messages TO error; | ||
683 | 683 | SET pg_hint_plan.parse_messages TO error; |
684 | 684 | SHOW pg_hint_plan.parse_messages; |
685 | 685 | /*+Set*/SELECT 1; |
686 | -SET client_min_messages TO fatal; | |
686 | +SET client_min_messages TO error; | |
687 | 687 | /*+Set*/SELECT 1; |
688 | 688 | |
689 | 689 | -- No. A-8-4-11 |
@@ -214,7 +214,7 @@ EXPLAIN SELECT * FROM tm1 t1, tm1 t2 WHERE t1.c1 = t2.c1; | ||
214 | 214 | \! sql/maskout.sh results/ut-R.tmpout |
215 | 215 | |
216 | 216 | -- No. R-1-6-5 |
217 | -CREATE TEMP TABLE t_pg_class WITH OIDS AS SELECT * from pg_class LIMIT 100; | |
217 | +CREATE TEMP TABLE t_pg_class AS SELECT * from pg_class LIMIT 100; | |
218 | 218 | \o results/ut-R.tmpout |
219 | 219 | EXPLAIN SELECT * FROM t_pg_class t1, t_pg_class t2 WHERE t1.oid = t2.oid; |
220 | 220 | \o |
@@ -806,27 +806,41 @@ EXPLAIN (COSTS false) SELECT c2 FROM s1.ti1 WHERE c2 >= 1; | ||
806 | 806 | ---- |
807 | 807 | |
808 | 808 | -- No. S-3-5-1 |
809 | -\! psql contrib_regression -c "/*+IndexScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
810 | - | |
809 | +\o results/ut-S.tmpout | |
810 | +/*+IndexScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
811 | +\o | |
812 | +\! sql/maskout.sh results/ut-S.tmpout | |
811 | 813 | -- No. S-3-5-2 |
812 | -\! psql contrib_regression -c "/*+BitmapScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
813 | - | |
814 | +\o results/ut-S.tmpout | |
815 | +/*+BitmapScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
816 | +\o | |
817 | +\! sql/maskout.sh results/ut-S.tmpout | |
814 | 818 | -- No. S-3-5-3 |
815 | -\! psql contrib_regression -c "/*+IndexOnlyScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
816 | - | |
819 | +\o results/ut-S.tmpout | |
820 | +/*+IndexOnlyScan(ti1 ti1_pred)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100; | |
821 | +\o | |
822 | +\! sql/maskout.sh results/ut-S.tmpout | |
817 | 823 | -- No. S-3-5-4 |
818 | -\! psql contrib_regression -c "/*+IndexScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
819 | - | |
824 | +\o results/ut-S.tmpout | |
825 | +/*+IndexScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
826 | +\o | |
827 | +\! sql/maskout.sh results/ut-S.tmpout | |
820 | 828 | -- No. S-3-5-5 |
821 | -\! psql contrib_regression -c "/*+BitmapScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
822 | - | |
829 | +\o results/ut-S.tmpout | |
830 | +/*+BitmapScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT * FROM s1.ti1 WHERE c1 = 100; | |
831 | +\o | |
832 | +\! sql/maskout.sh results/ut-S.tmpout | |
823 | 833 | -- No. S-3-5-6 |
824 | -\! psql contrib_regression -c "/*+IndexOnlyScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100" | grep -v "Planning time:" | |
825 | - | |
834 | +\o results/ut-S.tmpout | |
835 | +/*+IndexOnlyScan(ti1 not_exist)*/ EXPLAIN (COSTS true) SELECT c1 FROM s1.ti1 WHERE c1 = 100; | |
836 | +\o | |
837 | +\! sql/maskout.sh results/ut-S.tmpout | |
826 | 838 | -- No. S-3-5-7 |
827 | 839 | EXPLAIN (COSTS false) SELECT * FROM s1.t1 WHERE t1.c1 = 1; |
828 | -\! psql contrib_regression -c "/*+TidScan(t1)*/ EXPLAIN (COSTS true) SELECT * FROM s1.t1 WHERE t1.c1 = 1" | grep -v "Planning time:" | |
829 | - | |
840 | +\o results/ut-S.tmpout | |
841 | +/*+TidScan(t1)*/ EXPLAIN (COSTS true) SELECT * FROM s1.t1 WHERE t1.c1 = 1; | |
842 | +\o | |
843 | +\! sql/maskout.sh results/ut-S.tmpout | |
830 | 844 | ---- |
831 | 845 | ---- No. S-3-6 query structure |
832 | 846 | ---- |