@@ -852,23 +852,23 @@ EXPLAIN (OPT,VERBOSE) SELECT * FROM tc WHERE a = 10 ORDER BY b
852852sort
853853 ├── columns: a:1 b:2
854854 ├── stats: [rows=10, distinct(1)=1, null(1)=0]
855- ├── cost: 52 .7943856
855+ ├── cost: 56 .7943856
856856 ├── fd: ()-->(1)
857857 ├── ordering: +2 opt(1) [actual: +2]
858858 ├── prune: (2)
859859 ├── interesting orderings: (+1)
860860 └── index-join tc
861861 ├── columns: a:1 b:2
862862 ├── stats: [rows=10, distinct(1)=1, null(1)=0]
863- ├── cost: 51 .92
863+ ├── cost: 55 .92
864864 ├── fd: ()-->(1)
865865 ├── prune: (2)
866866 ├── interesting orderings: (+1)
867867 └── scan tc@c
868868 ├── columns: a:1 rowid:3
869869 ├── constraint: /1/3: [/10 - /10]
870870 ├── stats: [rows=10, distinct(1)=1, null(1)=0]
871- ├── cost: 10 .81
871+ ├── cost: 14 .81
872872 ├── key: (3)
873873 └── fd: ()-->(1)
874874
@@ -878,23 +878,23 @@ EXPLAIN (OPT,TYPES) SELECT * FROM tc WHERE a = 10 ORDER BY b
878878sort
879879 ├── columns: a:1(int!null) b:2(int)
880880 ├── stats: [rows=10, distinct(1)=1, null(1)=0]
881- ├── cost: 52 .7943856
881+ ├── cost: 56 .7943856
882882 ├── fd: ()-->(1)
883883 ├── ordering: +2 opt(1) [actual: +2]
884884 ├── prune: (2)
885885 ├── interesting orderings: (+1)
886886 └── index-join tc
887887 ├── columns: a:1(int!null) b:2(int)
888888 ├── stats: [rows=10, distinct(1)=1, null(1)=0]
889- ├── cost: 51 .92
889+ ├── cost: 55 .92
890890 ├── fd: ()-->(1)
891891 ├── prune: (2)
892892 ├── interesting orderings: (+1)
893893 └── scan tc@c
894894 ├── columns: a:1(int!null) rowid:3(int!null)
895895 ├── constraint: /1/3: [/10 - /10]
896896 ├── stats: [rows=10, distinct(1)=1, null(1)=0]
897- ├── cost: 10 .81
897+ ├── cost: 14 .81
898898 ├── key: (3)
899899 └── fd: ()-->(1)
900900
@@ -942,20 +942,20 @@ inner-join (hash)
942942 ├── columns: a:1 b:2 k:6 v:7
943943 ├── multiplicity: left-rows(zero-or-one), right-rows(zero-or-more)
944944 ├── stats: [rows=990, distinct(1)=99, null(1)=0, distinct(6)=99, null(6)=0]
945- ├── cost: 2219 .96
945+ ├── cost: 2227 .96
946946 ├── fd: (6)-->(7), (1)==(6), (6)==(1)
947947 ├── prune: (2,7)
948948 ├── scan tc
949949 │ ├── columns: a:1 b:2
950950 │ ├── stats: [rows=1000, distinct(1)=100, null(1)=10]
951- │ ├── cost: 1100 .02
951+ │ ├── cost: 1104 .02
952952 │ ├── prune: (1,2)
953953 │ ├── interesting orderings: (+1)
954954 │ └── unfiltered-cols: (1-5)
955955 ├── scan t
956956 │ ├── columns: k:6 v:7
957957 │ ├── stats: [rows=1000, distinct(6)=1000, null(6)=0]
958- │ ├── cost: 1080 .02
958+ │ ├── cost: 1084 .02
959959 │ ├── key: (6)
960960 │ ├── fd: (6)-->(7)
961961 │ ├── prune: (6,7)
983983 ├── columns: a:1 b:2 [hidden: column6:6]
984984 ├── immutable
985985 ├── stats: [rows=333.333333]
986- ├── cost: 1179 .26548
986+ ├── cost: 1183 .26548
987987 ├── fd: (1,2)-->(6)
988988 ├── ordering: +6
989989 ├── prune: (1,2,6)
@@ -992,20 +992,20 @@ sort
992992 ├── columns: column6:6 a:1 b:2
993993 ├── immutable
994994 ├── stats: [rows=333.333333]
995- ├── cost: 1116 .71667
995+ ├── cost: 1120 .71667
996996 ├── fd: (1,2)-->(6)
997997 ├── prune: (1,2,6)
998998 ├── interesting orderings: (+1)
999999 ├── select
10001000 │ ├── columns: a:1 b:2
10011001 │ ├── immutable
10021002 │ ├── stats: [rows=333.333333]
1003- │ ├── cost: 1110 .04
1003+ │ ├── cost: 1114 .04
10041004 │ ├── interesting orderings: (+1)
10051005 │ ├── scan tc
10061006 │ │ ├── columns: a:1 b:2
10071007 │ │ ├── stats: [rows=1000]
1008- │ │ ├── cost: 1100 .02
1008+ │ │ ├── cost: 1104 .02
10091009 │ │ ├── prune: (1,2)
10101010 │ │ └── interesting orderings: (+1)
10111011 │ └── filters
@@ -1020,7 +1020,7 @@ sort
10201020 ├── columns: a:1(int) b:2(int) [hidden: column6:6(int)]
10211021 ├── immutable
10221022 ├── stats: [rows=333.333333]
1023- ├── cost: 1179 .26548
1023+ ├── cost: 1183 .26548
10241024 ├── fd: (1,2)-->(6)
10251025 ├── ordering: +6
10261026 ├── prune: (1,2,6)
@@ -1029,20 +1029,20 @@ sort
10291029 ├── columns: column6:6(int) a:1(int) b:2(int)
10301030 ├── immutable
10311031 ├── stats: [rows=333.333333]
1032- ├── cost: 1116 .71667
1032+ ├── cost: 1120 .71667
10331033 ├── fd: (1,2)-->(6)
10341034 ├── prune: (1,2,6)
10351035 ├── interesting orderings: (+1)
10361036 ├── select
10371037 │ ├── columns: a:1(int) b:2(int)
10381038 │ ├── immutable
10391039 │ ├── stats: [rows=333.333333]
1040- │ ├── cost: 1110 .04
1040+ │ ├── cost: 1114 .04
10411041 │ ├── interesting orderings: (+1)
10421042 │ ├── scan tc
10431043 │ │ ├── columns: a:1(int) b:2(int)
10441044 │ │ ├── stats: [rows=1000]
1045- │ │ ├── cost: 1100 .02
1045+ │ │ ├── cost: 1104 .02
10461046 │ │ ├── prune: (1,2)
10471047 │ │ └── interesting orderings: (+1)
10481048 │ └── filters
0 commit comments