Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Estimate cardinalities of predicates with uncorrelated subquery results #2536

Merged
merged 55 commits into from
May 19, 2023

Conversation

dey4ss
Copy link
Member

@dey4ss dey4ss commented Feb 1, 2023

This PR estimates query plans rewritten by the JoinToPredicateRewriteRule as if they were still (semi-) joins. Thus, the rwritten predicates are correctly placed in the query plans.
Imagine the following query plan (simplified example, edges annotated with estimated output cardinality and selectivity):

                        100 rows (0.5)
                +---------------+
                | LikePredicate |
                +---------------+
                        |
                        | 200 rows (0.2)
                        |
                +---------------+
                |   SemiJoin    |
                +---------------+
               /                 \
              /                   \ 1 row (0.05)
             |                     |
             |             +---------------+
             |             |   Predicate   |  
             |             +---------------+
             |                     |
             | 1000 rows           | 20 rows
             |                     |
     +---------------+     +---------------+
     |    Table A    |     |    Table B    |
     +---------------+     +---------------+

In the query plan, the semi-join has a selectivity of 0.2 and the like predicate a selectivity of 0.5. Thus, the semi-join is executed before (and placed below the predicate by the PredicatePlacementRule and the PredicateReorderingRule). When we rewrite the plan with the JoinToPredicateRewriteRule, the plan looks like this (w/o predicate placement and ordering):

                        500 rows (0.5)
                +---------------+
                | LikePredicate |
                +---------------+
                        |
                        | 1000 rows (1)
                        |
                +---------------+
                |   Predicate   |
                +---------------+
               /                 * 
              /                   *  1 row (1), uncorrelated subquery
             |                     *
             |             +---------------+
             |             |  Projection   |  
             |             +---------------+
             |                     |
             |                     | 1 row (0.05)
             |                     |
             |             +---------------+
             |             |   Predicate   |  
             |             +---------------+
             |                     |
             | 1000 rows           | 20 rows
             |                     |
     +---------------+     +---------------+
     |    Table A    |     |    Table B    |
     +---------------+     +---------------+

Currently, the predicate containing an uncorrelated subquery is not resolved to an OperatorScanPredicate. Thus, we assume the worst case and forward its input statistics (i.e., selectivity = 1). The predicate reordering sorts predicates to execute the predicate with the lowest selectivity first: The like predicate would thus end up below the predicate with the subquery.

However, we can get the desired result/ordering when we estimate the predicate as we would do for the (rewritten) semi-join: With the changes made by this PR, we correctly estimate the predicate to have an output cardinality of 200 rows / selectivity 0.2 and the favorable predicate ordering is achieved.

This is just a simplified example. In experiments (will post when finished), we observed that this can lead to absolutely unfortunate query plans when we push predicates with subqueries behind, e.g., expensive predicates that are performed by the ExpressionEvaluator or end up in completely different plans due to semi-join reductions, which will also be placed below our predicate.

The extensio of the cardinality estimation also includes the correct estimation of a future order dependency-based join to predicate rewrite. (Can provide details on that if desired.)

Benchmarks will follow.

closes #2508

Benchmark master vs PR

tl;dr Nothing really changes (as expected) - we don't really have scans with uncorrelated subquery per default.
System

nemea - click to expand
property value
Hostname nemea
CPU Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
Memory 939GB
numactl nodebind: 2
numactl membind: 2

Commit Info and Build Time

commit date message build time
41512c3 01.02.2023 12:54 Schedule uncorrelated subqueries together with other operators (#2520) real 334.68 user 2905.01 sys 90.37
ef5dfaf 01.02.2023 17:51 more tests real 335.44 user 2854.20 sys 88.13

hyriseBenchmarkTPCH - single-threaded, SF 10.0

Sum of avg. item runtimes: -1% || Geometric mean of throughput changes: +1%
Configuration Overview - click to expand
 +Configuration Overview----+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter                | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_41512c379b874f51b3d202608854046959cb6a4a_st.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_ef5dfaf0212a50775d0f9ad333240792d28e6b89_st.json |
 +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH                | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                             | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                             |
 |  benchmark_mode          | Ordered                                                                                                                                    | Ordered                                                                                                                                    |
 |  build_type              | release                                                                                                                                    | release                                                                                                                                    |
 |  chunk_size              | 65535                                                                                                                                      | 65535                                                                                                                                      |
 |  clients                 | 1                                                                                                                                          | 1                                                                                                                                          |
 |  clustering              | None                                                                                                                                       | None                                                                                                                                       |
 |  compiler                | clang 14.0.0                                                                                                                               | clang 14.0.0                                                                                                                               |
 |  cores                   | 0                                                                                                                                          | 0                                                                                                                                          |
 |  data_preparation_cores  | 0                                                                                                                                          | 0                                                                                                                                          |
 |  date                    | 2023-02-01 15:54:47                                                                                                                        | 2023-02-02 13:33:02                                                                                                                        |
 |  encoding                | {'default': {'encoding': 'Dictionary'}}                                                                                                    | {'default': {'encoding': 'Dictionary'}}                                                                                                    |
 |  indexes                 | False                                                                                                                                      | False                                                                                                                                      |
 |  max_duration            | 60000000000                                                                                                                                | 60000000000                                                                                                                                |
 |  max_runs                | 100                                                                                                                                        | 100                                                                                                                                        |
 |  scale_factor            | 10.0                                                                                                                                       | 10.0                                                                                                                                       |
 |  time_unit               | ns                                                                                                                                         | ns                                                                                                                                         |
 |  use_prepared_statements | False                                                                                                                                      | False                                                                                                                                      |
 |  using_scheduler         | False                                                                                                                                      | False                                                                                                                                      |
 |  verify                  | False                                                                                                                                      | False                                                                                                                                      |
 |  warmup_duration         | 1000000000                                                                                                                                 | 1000000000                                                                                                                                 |
 +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
++----------++----------+----------+--------++----------+----------+--------+---------+
+| Item     || Latency (ms/iter)   | Change || Throughput (iter/s) | Change | p-value |
+|          ||      old |      new |        ||      old |      new |        |         |
++----------++----------+----------+--------++----------+----------+--------+---------+
+| TPC-H 01 ||  5871.59 |  5786.06 |   -1%  ||     0.17 |     0.17 |   +1%  |  0.4652 |
+| TPC-H 02 ||    48.62 |    49.10 |   +1%˄ ||    20.57 |    20.37 |   -1%˄ |  0.3327 |
+| TPC-H 03 ||  2269.52 |  2290.71 |   +1%  ||     0.44 |     0.44 |   -1%  |  0.4066 |
+| TPC-H 04 ||  1440.45 |  1468.72 |   +2%  ||     0.69 |     0.68 |   -2%  |  0.1046 |
+| TPC-H 05 ||  3121.45 |  3094.02 |   -1%  ||     0.32 |     0.32 |   +1%  |  0.4387 |
+| TPC-H 06 ||   159.83 |   159.34 |   -0%˄ ||     6.26 |     6.28 |   +0%˄ |  0.6887 |
+| TPC-H 07 ||   968.36 |   975.46 |   +1%  ||     1.03 |     1.03 |   -1%  |  0.0224 |
+| TPC-H 08 ||   726.33 |   717.94 |   -1%  ||     1.38 |     1.39 |   +1%  |  0.0000 |
+| TPC-H 09 ||  5233.34 |  5194.83 |   -1%  ||     0.19 |     0.19 |   +1%  |  0.0121 |
+| TPC-H 10 ||  3015.35 |  2962.83 |   -2%  ||     0.33 |     0.34 |   +2%  |  0.1789 |
+| TPC-H 11 ||    77.60 |    77.67 |   +0%˄ ||    12.89 |    12.87 |   -0%˄ |  0.8141 |
+| TPC-H 12 ||  1028.66 |   998.25 |   -3%  ||     0.97 |     1.00 |   +3%  |  0.0000 |
+| TPC-H 13 ||  4702.58 |  4631.09 |   -2%  ||     0.21 |     0.22 |   +2%  |  0.0933 |
+| TPC-H 14 ||   433.52 |   424.27 |   -2%˄ ||     2.31 |     2.36 |   +2%˄ |  0.0000 |
+| TPC-H 15 ||   195.64 |   195.36 |   -0%˄ ||     5.11 |     5.12 |   +0%˄ |  0.1975 |
+| TPC-H 16 ||   651.26 |   638.29 |   -2%  ||     1.54 |     1.57 |   +2%  |  0.0000 |
+| TPC-H 17 ||   223.45 |   221.01 |   -1%˄ ||     4.48 |     4.52 |   +1%˄ |  0.0000 |
+| TPC-H 18 ||  1644.83 |  1623.51 |   -1%  ||     0.61 |     0.62 |   +1%  |  0.0395 |
+| TPC-H 19 ||   275.34 |   273.63 |   -1%˄ ||     3.63 |     3.65 |   +1%˄ |  0.1912 |
+| TPC-H 20 ||   421.72 |   417.82 |   -1%˄ ||     2.37 |     2.39 |   +1%˄ |  0.0265 |
+| TPC-H 21 ||  4831.51 |  4773.20 |   -1%  ||     0.21 |     0.21 |   +1%  |  0.1083 |
+| TPC-H 22 ||   440.60 |   429.52 |   -3%˄ ||     2.27 |     2.33 |   +3%˄ |  0.0000 |
++----------++----------+----------+--------++----------+----------+--------+---------+
+| Sum      || 37781.57 | 37402.64 |   -1%  ||          |          |        |         |
+| Geomean  ||          |          |        ||          |          |   +1%  |         |
++----------++----------+----------+--------++----------+----------+--------+---------+
+|    Notes || ˄ Execution stopped due to max runs reached                            |
++----------++----------+----------+--------++----------+----------+--------+---------+

hyriseBenchmarkTPCH - single-threaded, SF 0.01

Sum of avg. item runtimes: -0% || Geometric mean of throughput changes: -1%
Configuration Overview - click to expand
 +Configuration Overview----+------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter                | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_41512c379b874f51b3d202608854046959cb6a4a_st_s01.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_ef5dfaf0212a50775d0f9ad333240792d28e6b89_st_s01.json |
 +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH                | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                                 | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                                 |
 |  benchmark_mode          | Ordered                                                                                                                                        | Ordered                                                                                                                                        |
 |  build_type              | release                                                                                                                                        | release                                                                                                                                        |
 |  chunk_size              | 65535                                                                                                                                          | 65535                                                                                                                                          |
 |  clients                 | 1                                                                                                                                              | 1                                                                                                                                              |
 |  clustering              | None                                                                                                                                           | None                                                                                                                                           |
 |  compiler                | clang 14.0.0                                                                                                                                   | clang 14.0.0                                                                                                                                   |
 |  cores                   | 0                                                                                                                                              | 0                                                                                                                                              |
 |  data_preparation_cores  | 0                                                                                                                                              | 0                                                                                                                                              |
 |  date                    | 2023-02-01 16:14:22                                                                                                                            | 2023-02-02 13:52:30                                                                                                                            |
 |  encoding                | {'default': {'encoding': 'Dictionary'}}                                                                                                        | {'default': {'encoding': 'Dictionary'}}                                                                                                        |
 |  indexes                 | False                                                                                                                                          | False                                                                                                                                          |
 |  max_duration            | 60000000000                                                                                                                                    | 60000000000                                                                                                                                    |
 |  max_runs                | 100                                                                                                                                            | 100                                                                                                                                            |
 |  scale_factor            | 0.009999999776482582                                                                                                                           | 0.009999999776482582                                                                                                                           |
 |  time_unit               | ns                                                                                                                                             | ns                                                                                                                                             |
 |  use_prepared_statements | False                                                                                                                                          | False                                                                                                                                          |
 |  using_scheduler         | False                                                                                                                                          | False                                                                                                                                          |
 |  verify                  | False                                                                                                                                          | False                                                                                                                                          |
 |  warmup_duration         | 1000000000                                                                                                                                     | 1000000000                                                                                                                                     |
 +--------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
++----------++----------+---------+--------++----------+----------+--------+---------+
+| Item     || Latency (ms/iter)  | Change || Throughput (iter/s) | Change | p-value |
+|          ||      old |     new |        ||      old |      new |        |         |
++----------++----------+---------+--------++----------+----------+--------+---------+
+| TPC-H 01 ||     4.83 |    4.86 |   +1%˄ ||   207.09 |   205.74 |   -1%˄ |  0.0215 |
+| TPC-H 02 ||     3.75 |    3.75 |   +0%˄ ||   266.87 |   266.34 |   -0%˄ |  0.9754 |
+| TPC-H 03 ||     0.70 |    0.70 |   +1%˄ ||  1426.16 |  1418.52 |   -1%˄ |  0.6312 |
+| TPC-H 04 ||     0.47 |    0.47 |   +1%˄ ||  2136.84 |  2122.55 |   -1%˄ |  0.0656 |
+| TPC-H 05 ||     1.03 |    1.03 |   -0%˄ ||   970.98 |   973.13 |   +0%˄ |  0.7824 |
+| TPC-H 06 ||     0.18 |    0.18 |   +0%˄ ||  5537.03 |  5535.61 |   -0%˄ |  0.9162 |
+| TPC-H 07 ||    10.65 |   10.47 |   -2%˄ ||    93.87 |    95.47 |   +2%˄ |  0.8158 |
+| TPC-H 08 ||    15.65 |   15.41 |   -2%˄ ||    63.91 |    64.88 |   +2%˄ |  0.5630 |
+| TPC-H 09 ||     3.89 |    3.72 |   -4%˄ ||   256.63 |   268.34 |   +5%˄ |  0.7637 |
+| TPC-H 10 ||     0.81 |    0.82 |   +2%˄ ||  1229.68 |  1210.04 |   -2%˄ |  0.0000 |
+| TPC-H 11 ||     0.21 |    0.21 |   +1%˄ ||  4779.43 |  4734.43 |   -1%˄ |  0.4504 |
+| TPC-H 12 ||     0.61 |    0.63 |   +3%˄ ||  1635.81 |  1592.91 |   -3%˄ |  0.1721 |
+| TPC-H 13 ||     1.99 |    2.01 |   +1%˄ ||   502.02 |   498.05 |   -1%˄ |  0.0360 |
+| TPC-H 14 ||     0.34 |    0.35 |   +1%˄ ||  2911.95 |  2870.56 |   -1%˄ |  0.1580 |
+| TPC-H 15 ||     1.18 |    1.26 |   +7%˄ ||   843.72 |   788.70 |   -7%˄ |  0.0000 |
+| TPC-H 16 ||     1.99 |    2.00 |   +1%˄ ||   502.83 |   499.61 |   -1%˄ |  0.0351 |
+| TPC-H 17 ||     0.64 |    0.73 |  +15%˄ ||  1565.15 |  1357.48 |  -13%˄ |  0.2227 |
+| TPC-H 18 ||     1.17 |    1.18 |   +1%˄ ||   855.17 |   847.16 |   -1%˄ |  0.0000 |
+| TPC-H 19 ||     5.16 |    5.14 |   -0%˄ ||   193.70 |   194.57 |   +0%˄ |  0.0008 |
+| TPC-H 20 ||     2.18 |    2.23 |   +2%˄ ||   458.88 |   448.35 |   -2%˄ |  0.2550 |
+| TPC-H 21 ||     1.46 |    1.47 |   +1%˄ ||   685.02 |   680.39 |   -1%˄ |  0.8751 |
+| TPC-H 22 ||     1.02 |    1.02 |   -1%˄ ||   976.25 |   981.34 |   +1%˄ |  0.0576 |
++----------++----------+---------+--------++----------+----------+--------+---------+
+| Sum      ||    59.89 |   59.64 |   -0%  ||          |          |        |         |
+| Geomean  ||          |         |        ||          |          |   -1%  |         |
++----------++----------+---------+--------++----------+----------+--------+---------+
+|    Notes || ˄ Execution stopped due to max runs reached                           |
++----------++----------+---------+--------++----------+----------+--------+---------+

hyriseBenchmarkTPCH - multi-threaded, ordered, 1 client, 28 cores, SF 10.0

Sum of avg. item runtimes: -0% || Geometric mean of throughput changes: +1%
Configuration Overview - click to expand
 +Configuration Overview---------+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter                     | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_41512c379b874f51b3d202608854046959cb6a4a_mt_ordered.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_ef5dfaf0212a50775d0f9ad333240792d28e6b89_mt_ordered.json |
 +-------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH                     | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                                     | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                                     |
 |  benchmark_mode               | Ordered                                                                                                                                            | Ordered                                                                                                                                            |
 |  build_type                   | release                                                                                                                                            | release                                                                                                                                            |
 |  chunk_size                   | 65535                                                                                                                                              | 65535                                                                                                                                              |
 |  clients                      | 1                                                                                                                                                  | 1                                                                                                                                                  |
 |  clustering                   | None                                                                                                                                               | None                                                                                                                                               |
 |  compiler                     | clang 14.0.0                                                                                                                                       | clang 14.0.0                                                                                                                                       |
 |  cores                        | 28                                                                                                                                                 | 28                                                                                                                                                 |
 |  data_preparation_cores       | 0                                                                                                                                                  | 0                                                                                                                                                  |
 |  date                         | 2023-02-01 16:14:50                                                                                                                                | 2023-02-02 13:52:59                                                                                                                                |
 |  encoding                     | {'default': {'encoding': 'Dictionary'}}                                                                                                            | {'default': {'encoding': 'Dictionary'}}                                                                                                            |
 |  indexes                      | False                                                                                                                                              | False                                                                                                                                              |
 |  max_duration                 | 60000000000                                                                                                                                        | 60000000000                                                                                                                                        |
 |  max_runs                     | -1                                                                                                                                                 | -1                                                                                                                                                 |
 |  scale_factor                 | 10.0                                                                                                                                               | 10.0                                                                                                                                               |
 |  time_unit                    | ns                                                                                                                                                 | ns                                                                                                                                                 |
 |  use_prepared_statements      | False                                                                                                                                              | False                                                                                                                                              |
 |  using_scheduler              | True                                                                                                                                               | True                                                                                                                                               |
 |  utilized_cores_per_numa_node | [0, 0, 28]                                                                                                                                         | [0, 0, 28]                                                                                                                                         |
 |  verify                       | False                                                                                                                                              | False                                                                                                                                              |
 |  warmup_duration              | 0                                                                                                                                                  | 0                                                                                                                                                  |
 +-------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
++----------++----------+----------+--------++----------+----------+--------+----------------------+
+| Item     || Latency (ms/iter)   | Change || Throughput (iter/s) | Change |              p-value |
+|          ||      old |      new |        ||      old |      new |        |                      |
++----------++----------+----------+--------++----------+----------+--------+----------------------+
+| TPC-H 01 ||  4770.91 |  4800.21 |   +1%  ||     0.20 |     0.20 |   -0%  | (run time too short) |
+| TPC-H 02 ||    67.54 |    66.75 |   -1%  ||    13.86 |    14.03 |   +1%  |               0.2482 |
+| TPC-H 03 ||  1133.35 |  1122.57 |   -1%  ||     0.87 |     0.88 |   +2%  | (run time too short) |
+| TPC-H 04 ||   615.55 |   614.01 |   -0%  ||     1.60 |     1.60 |   +0%  | (run time too short) |
+| TPC-H 05 ||  1028.49 |  1025.60 |   -0%  ||     0.97 |     0.97 |   +0%  |               0.8562 |
+| TPC-H 06 ||    77.72 |    77.53 |   -0%  ||    12.07 |    12.10 |   +0%  |               0.5690 |
+| TPC-H 07 ||   471.80 |   469.24 |   -1%  ||     2.08 |     2.10 |   +1%  |               0.3280 |
+| TPC-H 08 ||   411.29 |   409.89 |   -0%  ||     2.40 |     2.40 |   +0%  |               0.5699 |
+| TPC-H 09 ||  2505.90 |  2479.43 |   -1%  ||     0.38 |     0.40 |   +4%  | (run time too short) |
+| TPC-H 10 ||  1614.60 |  1637.98 |   +1%  ||     0.62 |     0.60 |   -3%  | (run time too short) |
+| TPC-H 11 ||    89.59 |    90.22 |   +1%  ||    10.55 |    10.47 |   -1%  |               0.2558 |
+| TPC-H 12 ||   560.73 |   560.04 |   -0%  ||     1.77 |     1.77 |   +0%  |               0.7607 |
+| TPC-H 13 ||  3004.08 |  2987.88 |   -1%  ||     0.32 |     0.33 |   +5%  | (run time too short) |
+| TPC-H 14 ||   174.86 |   174.49 |   -0%  ||     5.55 |     5.57 |   +0%  |               0.6027 |
+| TPC-H 15 ||   171.84 |   172.92 |   +1%  ||     5.65 |     5.62 |   -1%  |               0.2120 |
+| TPC-H 16 ||   799.20 |   788.69 |   -1%  ||     1.23 |     1.25 |   +1%  |               0.0366 |
+| TPC-H 17 ||   101.13 |   100.44 |   -1%  ||     9.42 |     9.47 |   +1%  |               0.1759 |
+| TPC-H 18 ||  2650.59 |  2598.99 |   -2%  ||     0.37 |     0.38 |   +5%  | (run time too short) |
+| TPC-H 19 ||   166.45 |   166.62 |   +0%  ||     5.83 |     5.82 |   -0%  |               0.8680 |
+| TPC-H 20 ||   264.98 |   261.92 |   -1%  ||     3.68 |     3.73 |   +1%  |               0.1478 |
+| TPC-H 21 ||  1222.49 |  1214.31 |   -1%  ||     0.80 |     0.82 |   +2%  | (run time too short) |
+| TPC-H 22 ||   156.17 |   155.20 |   -1%  ||     6.18 |     6.23 |   +1%  |               0.1298 |
++----------++----------+----------+--------++----------+----------+--------+----------------------+
+| Sum      || 22059.26 | 21974.93 |   -0%  ||          |          |        |                      |
+| Geomean  ||          |          |        ||          |          |   +1%  |                      |
++----------++----------+----------+--------++----------+----------+--------+----------------------+

hyriseBenchmarkTPCH - multi-threaded, shuffled, 28 clients, 28 cores, SF 10.0

Sum of avg. item runtimes: +0% || Geometric mean of throughput changes: +0%
Configuration Overview - click to expand
 +Configuration Overview---------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter                     | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_41512c379b874f51b3d202608854046959cb6a4a_mt.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCH_ef5dfaf0212a50775d0f9ad333240792d28e6b89_mt.json |
 +-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH                     | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                             | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                             |
 |  benchmark_mode               | Shuffled                                                                                                                                   | Shuffled                                                                                                                                   |
 |  build_type                   | release                                                                                                                                    | release                                                                                                                                    |
 |  chunk_size                   | 65535                                                                                                                                      | 65535                                                                                                                                      |
 |  clients                      | 28                                                                                                                                         | 28                                                                                                                                         |
 |  clustering                   | None                                                                                                                                       | None                                                                                                                                       |
 |  compiler                     | clang 14.0.0                                                                                                                               | clang 14.0.0                                                                                                                               |
 |  cores                        | 28                                                                                                                                         | 28                                                                                                                                         |
 |  data_preparation_cores       | 0                                                                                                                                          | 0                                                                                                                                          |
 |  date                         | 2023-02-01 16:38:34                                                                                                                        | 2023-02-02 14:16:50                                                                                                                        |
 |  encoding                     | {'default': {'encoding': 'Dictionary'}}                                                                                                    | {'default': {'encoding': 'Dictionary'}}                                                                                                    |
 |  indexes                      | False                                                                                                                                      | False                                                                                                                                      |
 |  max_duration                 | 1200000000000                                                                                                                              | 1200000000000                                                                                                                              |
 |  max_runs                     | -1                                                                                                                                         | -1                                                                                                                                         |
 |  scale_factor                 | 10.0                                                                                                                                       | 10.0                                                                                                                                       |
 |  time_unit                    | ns                                                                                                                                         | ns                                                                                                                                         |
 |  use_prepared_statements      | False                                                                                                                                      | False                                                                                                                                      |
 |  using_scheduler              | True                                                                                                                                       | True                                                                                                                                       |
 |  utilized_cores_per_numa_node | [0, 0, 28]                                                                                                                                 | [0, 0, 28]                                                                                                                                 |
 |  verify                       | False                                                                                                                                      | False                                                                                                                                      |
 |  warmup_duration              | 0                                                                                                                                          | 0                                                                                                                                          |
 +-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
++----------++----------+----------+--------++----------+----------+--------+---------+
+| Item     || Latency (ms/iter)   | Change || Throughput (iter/s) | Change | p-value |
+|          ||      old |      new |        ||      old |      new |        |         |
++----------++----------+----------+--------++----------+----------+--------+---------+
+| TPC-H 01 ||  5746.76 |  5782.72 |   +1%  ||     0.46 |     0.46 |   +0%  |  0.6735 |
+| TPC-H 02 ||   375.75 |   392.59 |   +4%  ||     0.46 |     0.46 |   +0%  |  0.8234 |
+| TPC-H 03 ||  3491.01 |  3539.52 |   +1%  ||     0.45 |     0.46 |   +0%  |  0.8065 |
+| TPC-H 04 ||  2268.15 |  2454.15 |   +8%  ||     0.46 |     0.46 |   +0%  |  0.2272 |
+| TPC-H 05 ||  4102.48 |  4417.16 |   +8%  ||     0.46 |     0.46 |   +0%  |  0.1508 |
+| TPC-H 06 ||   441.37 |   460.74 |   +4%  ||     0.46 |     0.46 |   +0%  |  0.7174 |
+| TPC-H 07 ||  2441.78 |  2456.19 |   +1%  ||     0.46 |     0.46 |   +0%  |  0.9334 |
+| TPC-H 08 ||  1890.98 |  1936.69 |   +2%  ||     0.46 |     0.46 |   +0%  |  0.7610 |
+| TPC-H 09 ||  5556.05 |  5828.25 |   +5%  ||     0.45 |     0.45 |   +0%  |  0.1628 |
+| TPC-H 10 ||  4934.09 |  4889.73 |   -1%  ||     0.46 |     0.46 |   +0%  |  0.8392 |
+| TPC-H 11 ||   482.10 |   564.11 |  +17%  ||     0.46 |     0.46 |   +0%  |  0.3426 |
+| TPC-H 12 ||  2199.45 |  2196.80 |   -0%  ||     0.46 |     0.46 |   +0%  |  0.9849 |
+| TPC-H 13 ||  5697.79 |  5565.78 |   -2%  ||     0.46 |     0.46 |   +0%  |  0.2241 |
+| TPC-H 14 ||  1191.69 |   901.05 |  -24%  ||     0.46 |     0.46 |   +0%  |  0.0077 |
+| TPC-H 15 ||   467.62 |   513.53 |  +10%  ||     0.46 |     0.46 |   +0%  |  0.4384 |
+| TPC-H 16 ||  2338.58 |  2190.44 |   -6%  ||     0.46 |     0.46 |   +0%  |  0.3847 |
+| TPC-H 17 ||   655.64 |   601.32 |   -8%  ||     0.46 |     0.46 |   +0%  |  0.5758 |
+| TPC-H 18 ||  3647.48 |  3523.12 |   -3%  ||     0.46 |     0.46 |   +0%  |  0.2338 |
+| TPC-H 19 ||   909.53 |   801.12 |  -12%  ||     0.46 |     0.46 |   +0%  |  0.3102 |
+| TPC-H 20 ||  1161.72 |  1162.98 |   +0%  ||     0.46 |     0.46 |   +0%  |  0.9900 |
+| TPC-H 21 ||  5671.11 |  5679.58 |   +0%  ||     0.46 |     0.46 |   +0%  |  0.9729 |
+| TPC-H 22 ||   870.00 |   910.84 |   +5%  ||     0.46 |     0.46 |   +1%  |  0.6962 |
++----------++----------+----------+--------++----------+----------+--------+---------+
+| Sum      || 56541.14 | 56768.42 |   +0%  ||          |          |        |         |
+| Geomean  ||          |          |        ||          |          |   +0%  |         |
++----------++----------+----------+--------++----------+----------+--------+---------+

hyriseBenchmarkTPCDS - single-threaded

Sum of avg. item runtimes: -2% || Geometric mean of throughput changes: +3%
Configuration Overview - click to expand
 +Configuration Overview---+---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter               | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCDS_41512c379b874f51b3d202608854046959cb6a4a_st.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCDS_ef5dfaf0212a50775d0f9ad333240792d28e6b89_st.json |
 +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH               | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                              | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                              |
 |  benchmark_mode         | Ordered                                                                                                                                     | Ordered                                                                                                                                     |
 |  build_type             | release                                                                                                                                     | release                                                                                                                                     |
 |  chunk_size             | 65535                                                                                                                                       | 65535                                                                                                                                       |
 |  clients                | 1                                                                                                                                           | 1                                                                                                                                           |
 |  compiler               | clang 14.0.0                                                                                                                                | clang 14.0.0                                                                                                                                |
 |  cores                  | 0                                                                                                                                           | 0                                                                                                                                           |
 |  data_preparation_cores | 0                                                                                                                                           | 0                                                                                                                                           |
 |  date                   | 2023-02-01 17:00:16                                                                                                                         | 2023-02-02 14:38:33                                                                                                                         |
 |  encoding               | {'default': {'encoding': 'Dictionary'}}                                                                                                     | {'default': {'encoding': 'Dictionary'}}                                                                                                     |
 |  indexes                | False                                                                                                                                       | False                                                                                                                                       |
 |  max_duration           | 60000000000                                                                                                                                 | 60000000000                                                                                                                                 |
 |  max_runs               | 100                                                                                                                                         | 100                                                                                                                                         |
 |  time_unit              | ns                                                                                                                                          | ns                                                                                                                                          |
 |  using_scheduler        | False                                                                                                                                       | False                                                                                                                                       |
 |  verify                 | False                                                                                                                                       | False                                                                                                                                       |
 |  warmup_duration        | 1000000000                                                                                                                                  | 1000000000                                                                                                                                  |
 +-------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Item    || Latency (ms/iter)   | Change || Throughput (iter/s) | Change | p-value |
+|         ||      old |      new |        ||      old |      new |        |         |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| 01      ||   265.03 |   259.79 |   -2%˄ ||     3.77 |     3.85 |   +2%˄ |  0.0000 |
+| 03      ||    80.90 |    79.49 |   -2%˄ ||    12.36 |    12.58 |   +2%˄ |  0.0000 |
+| 06      ||   171.21 |   128.56 |  -25%˄ ||     5.84 |     7.78 |  +33%˄ |  0.0000 |
+| 07      ||   312.17 |   313.07 |   +0%˄ ||     3.20 |     3.19 |   -0%˄ |  0.6315 |
+| 09      ||   645.32 |   653.00 |   +1%  ||     1.55 |     1.53 |   -1%  |  0.0018 |
+| 10      ||   160.83 |   160.87 |   +0%˄ ||     6.22 |     6.22 |   -0%˄ |  0.9213 |
+| 13      ||   439.60 |   435.30 |   -1%˄ ||     2.27 |     2.30 |   +1%˄ |  0.0024 |
+| 15      ||   116.16 |   107.89 |   -7%˄ ||     8.61 |     9.27 |   +8%˄ |  0.0000 |
+| 16      ||   176.74 |   168.26 |   -5%˄ ||     5.66 |     5.94 |   +5%˄ |  0.0000 |
+| 17      ||   339.39 |   332.19 |   -2%˄ ||     2.95 |     3.01 |   +2%˄ |  0.0000 |
+| 19      ||   120.25 |   121.21 |   +1%˄ ||     8.32 |     8.25 |   -1%˄ |  0.0039 |
+| 25      ||   196.33 |   192.16 |   -2%˄ ||     5.09 |     5.20 |   +2%˄ |  0.0000 |
+| 26      ||   142.41 |   143.66 |   +1%˄ ||     7.02 |     6.96 |   -1%˄ |  0.1486 |
+| 28      ||   612.49 |   600.25 |   -2%˄ ||     1.63 |     1.67 |   +2%˄ |  0.0000 |
+| 29      ||   505.66 |   492.88 |   -3%˄ ||     1.98 |     2.03 |   +3%˄ |  0.0000 |
+| 31      ||  1343.69 |  1318.92 |   -2%  ||     0.74 |     0.76 |   +2%  |  0.0000 |
+| 32      ||    50.13 |    47.13 |   -6%˄ ||    19.95 |    21.21 |   +6%˄ |  0.0000 |
+| 34      ||   177.59 |   179.75 |   +1%˄ ||     5.63 |     5.56 |   -1%˄ |  0.0887 |
+| 35      ||   645.96 |   634.24 |   -2%  ||     1.55 |     1.58 |   +2%  |  0.0000 |
+| 37      ||   368.39 |   334.42 |   -9%˄ ||     2.71 |     2.99 |  +10%˄ |  0.0000 |
+| 39a     ||  1925.60 |  1821.08 |   -5%  ||     0.52 |     0.55 |   +6%  |  0.0000 |
+| 39b     ||  1913.66 |  1802.97 |   -6%  ||     0.52 |     0.55 |   +6%  |  0.0000 |
+| 41      ||   289.61 |   286.13 |   -1%˄ ||     3.45 |     3.49 |   +1%˄ |  0.0000 |
+| 42      ||   100.83 |    98.95 |   -2%˄ ||     9.92 |    10.11 |   +2%˄ |  0.0000 |
+| 43      ||   949.67 |   945.40 |   -0%  ||     1.05 |     1.06 |   +0%  |  0.1479 |
+| 45      ||   120.57 |   117.39 |   -3%˄ ||     8.29 |     8.52 |   +3%˄ |  0.0000 |
+| 48      ||  1049.23 |  1023.14 |   -2%  ||     0.95 |     0.98 |   +3%  |  0.0000 |
+| 50      ||   129.16 |   128.15 |   -1%˄ ||     7.74 |     7.80 |   +1%˄ |  0.0000 |
+| 52      ||    97.89 |    97.32 |   -1%˄ ||    10.22 |    10.28 |   +1%˄ |  0.0000 |
+| 55      ||    94.72 |    94.10 |   -1%˄ ||    10.56 |    10.63 |   +1%˄ |  0.0000 |
+| 62      ||   544.97 |   544.60 |   -0%˄ ||     1.83 |     1.84 |   +0%˄ |  0.2987 |
+| 65      ||  1802.30 |  1766.43 |   -2%  ||     0.55 |     0.57 |   +2%  |  0.0005 |
+| 69      ||   155.11 |   149.47 |   -4%˄ ||     6.45 |     6.69 |   +4%˄ |  0.0000 |
+| 73      ||    95.85 |    94.70 |   -1%˄ ||    10.43 |    10.56 |   +1%˄ |  0.0000 |
+| 79      ||   488.57 |   481.98 |   -1%˄ ||     2.05 |     2.07 |   +1%˄ |  0.0000 |
+| 81      ||   212.63 |   205.03 |   -4%˄ ||     4.70 |     4.88 |   +4%˄ |  0.0000 |
+| 82      ||   459.20 |   416.21 |   -9%˄ ||     2.18 |     2.40 |  +10%˄ |  0.0000 |
+| 83      ||    44.18 |    43.25 |   -2%˄ ||    22.63 |    23.12 |   +2%˄ |  0.0987 |
+| 85      ||   140.98 |   140.42 |   -0%˄ ||     7.09 |     7.12 |   +0%˄ |  0.0096 |
+| 88      ||   784.06 |   762.82 |   -3%  ||     1.28 |     1.31 |   +3%  |  0.0000 |
+| 91      ||    17.02 |    16.68 |   -2%˄ ||    58.76 |    59.96 |   +2%˄ |  0.0000 |
+| 92      ||    39.81 |    39.31 |   -1%˄ ||    25.12 |    25.43 |   +1%˄ |  0.0000 |
+| 93      ||  3912.77 |  3834.04 |   -2%  ||     0.26 |     0.26 |   +2%  |  0.0001 |
+| 94      ||   108.44 |   107.52 |   -1%˄ ||     9.22 |     9.30 |   +1%˄ |  0.0221 |
+| 95      ||  9024.89 |  9096.16 |   +1%  ||     0.11 |     0.11 |   -1%  |       ˅ |
+| 96      ||    77.01 |    76.89 |   -0%˄ ||    12.98 |    13.01 |   +0%˄ |  0.8021 |
+| 97      ||  3286.37 |  3205.07 |   -2%  ||     0.30 |     0.31 |   +3%  |  0.0000 |
+| 99      ||  1042.01 |  1046.11 |   +0%  ||     0.96 |     0.96 |   -0%  |  0.0088 |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Sum     || 35777.36 | 35144.38 |   -2%  ||          |          |        |         |
+| Geomean ||          |          |        ||          |          |   +3%  |         |
++---------++----------+----------+--------++----------+----------+--------+---------+
+|   Notes || ˄ Execution stopped due to max runs reached                            |
+|         || ˅ Insufficient number of runs for p-value calculation                  |
++---------++----------+----------+--------++----------+----------+--------+---------+

hyriseBenchmarkTPCDS - multi-threaded, shuffled, 28 clients, 28 cores

Sum of avg. item runtimes: +0% || Geometric mean of throughput changes: +0%
Configuration Overview - click to expand
 +Configuration Overview---------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter                     | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCDS_41512c379b874f51b3d202608854046959cb6a4a_mt.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCDS_ef5dfaf0212a50775d0f9ad333240792d28e6b89_mt.json |
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH                     | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                              | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                              |
 |  benchmark_mode               | Shuffled                                                                                                                                    | Shuffled                                                                                                                                    |
 |  build_type                   | release                                                                                                                                     | release                                                                                                                                     |
 |  chunk_size                   | 65535                                                                                                                                       | 65535                                                                                                                                       |
 |  clients                      | 28                                                                                                                                          | 28                                                                                                                                          |
 |  compiler                     | clang 14.0.0                                                                                                                                | clang 14.0.0                                                                                                                                |
 |  cores                        | 28                                                                                                                                          | 28                                                                                                                                          |
 |  data_preparation_cores       | 0                                                                                                                                           | 0                                                                                                                                           |
 |  date                         | 2023-02-01 17:27:30                                                                                                                         | 2023-02-02 15:05:22                                                                                                                         |
 |  encoding                     | {'default': {'encoding': 'Dictionary'}}                                                                                                     | {'default': {'encoding': 'Dictionary'}}                                                                                                     |
 |  indexes                      | False                                                                                                                                       | False                                                                                                                                       |
 |  max_duration                 | 1200000000000                                                                                                                               | 1200000000000                                                                                                                               |
 |  max_runs                     | -1                                                                                                                                          | -1                                                                                                                                          |
 |  time_unit                    | ns                                                                                                                                          | ns                                                                                                                                          |
 |  using_scheduler              | True                                                                                                                                        | True                                                                                                                                        |
 |  utilized_cores_per_numa_node | [0, 0, 28]                                                                                                                                  | [0, 0, 28]                                                                                                                                  |
 |  verify                       | False                                                                                                                                       | False                                                                                                                                       |
 |  warmup_duration              | 0                                                                                                                                           | 0                                                                                                                                           |
 +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Item    || Latency (ms/iter)   | Change || Throughput (iter/s) | Change | p-value |
+|         ||      old |      new |        ||      old |      new |        |         |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| 01      ||   645.60 |   627.39 |   -3%  ||     0.46 |     0.46 |   +0%  |  0.7533 |
+| 03      ||   236.02 |   269.07 |  +14%  ||     0.46 |     0.46 |   +0%  |  0.5420 |
+| 06      ||   564.74 |   548.03 |   -3%  ||     0.46 |     0.46 |   +1%  |  0.8276 |
+| 07      ||   860.68 |   862.26 |   +0%  ||     0.46 |     0.46 |   +0%  |  0.9865 |
+| 09      ||   506.26 |   557.57 |  +10%  ||     0.46 |     0.46 |   +0%  |  0.4575 |
+| 10      ||   425.62 |   533.74 |  +25%  ||     0.46 |     0.46 |   +0%  |  0.1776 |
+| 13      ||  1394.34 |  1681.82 |  +21%  ||     0.46 |     0.46 |   +0%  |  0.0287 |
+| 15      ||   499.27 |   438.93 |  -12%  ||     0.46 |     0.46 |   +1%  |  0.4211 |
+| 16      ||   705.94 |   689.34 |   -2%  ||     0.46 |     0.46 |   +0%  |  0.8662 |
+| 17      ||  1083.87 |  1008.14 |   -7%  ||     0.46 |     0.46 |   +0%  |  0.4739 |
+| 19      ||   553.02 |   465.04 |  -16%  ||     0.46 |     0.46 |   +0%  |  0.3162 |
+| 25      ||   803.92 |   851.69 |   +6%  ||     0.46 |     0.46 |   +0%  |  0.6154 |
+| 26      ||   605.21 |   518.43 |  -14%  ||     0.46 |     0.46 |   +1%  |  0.3019 |
+| 28      ||   491.41 |   616.46 |  +25%  ||     0.46 |     0.46 |   +0%  |  0.0776 |
+| 29      ||  1393.38 |  1319.19 |   -5%  ||     0.46 |     0.46 |   +0%  |  0.4858 |
+| 31      ||  2093.54 |  1814.14 |  -13%  ||     0.46 |     0.46 |   +1%  |  0.0693 |
+| 32      ||   286.80 |   263.00 |   -8%  ||     0.46 |     0.46 |   +0%  |  0.7009 |
+| 34      ||   486.38 |   418.85 |  -14%  ||     0.46 |     0.46 |   +0%  |  0.1578 |
+| 35      ||  1843.89 |  1852.81 |   +0%  ||     0.46 |     0.46 |   +0%  |  0.9439 |
+| 37      ||   682.51 |   619.69 |   -9%  ||     0.46 |     0.46 |   +0%  |  0.4616 |
+| 39a     ||  2277.37 |  2131.53 |   -6%  ||     0.46 |     0.46 |   +0%  |  0.2222 |
+| 39b     ||  2157.18 |  2214.54 |   +3%  ||     0.46 |     0.46 |   -0%  |  0.6318 |
+| 41      ||  2897.25 |  2806.35 |   -3%  ||     0.46 |     0.46 |   +0%  |  0.5934 |
+| 42      ||   365.49 |   353.08 |   -3%  ||     0.46 |     0.46 |   -0%  |  0.8284 |
+| 43      ||  1488.05 |  1363.05 |   -8%  ||     0.46 |     0.46 |   +0%  |  0.2122 |
+| 45      ||   555.96 |   550.30 |   -1%  ||     0.46 |     0.46 |   -0%  |  0.9413 |
+| 48      ||  2809.40 |  2628.47 |   -6%  ||     0.46 |     0.46 |   +0%  |  0.3207 |
+| 50      ||   544.27 |   589.61 |   +8%  ||     0.46 |     0.46 |   +0%  |  0.5284 |
+| 52      ||   318.08 |   327.65 |   +3%  ||     0.46 |     0.46 |   +0%  |  0.8536 |
+| 55      ||   342.43 |   274.58 |  -20%  ||     0.46 |     0.46 |   +0%  |  0.1757 |
+| 62      ||   891.25 |   885.69 |   -1%  ||     0.46 |     0.46 |   +1%  |  0.9316 |
+| 65      ||  3508.81 |  3662.18 |   +4%  ||     0.46 |     0.46 |   +1%  |  0.0587 |
+| 69      ||   536.93 |   532.57 |   -1%  ||     0.46 |     0.46 |   -0%  |  0.9559 |
+| 73      ||   354.91 |   312.21 |  -12%  ||     0.46 |     0.46 |   +0%  |  0.4374 |
+| 79      ||  1079.68 |  1094.22 |   +1%  ||     0.46 |     0.46 |   +0%  |  0.8415 |
+| 81      ||   735.32 |   881.87 |  +20%  ||     0.46 |     0.46 |   +0%  |  0.1149 |
+| 82      ||   829.43 |   673.20 |  -19%  ||     0.46 |     0.46 |   +0%  |  0.0597 |
+| 83      ||   333.51 |   334.04 |   +0%  ||     0.46 |     0.46 |   +0%  |  0.9940 |
+| 85      ||   731.45 |   730.96 |   -0%  ||     0.46 |     0.46 |   +0%  |  0.9956 |
+| 88      ||   746.42 |   938.56 |  +26%  ||     0.46 |     0.46 |   +0%  |  0.0707 |
+| 91      ||   242.75 |   220.79 |   -9%  ||     0.46 |     0.46 |   +1%  |  0.6977 |
+| 92      ||   353.24 |   292.11 |  -17%  ||     0.46 |     0.46 |   +0%  |  0.3633 |
+| 93      ||  2471.19 |  2544.96 |   +3%  ||     0.46 |     0.46 |   +0%  |  0.6204 |
+| 94      ||   731.03 |   769.13 |   +5%  ||     0.46 |     0.46 |   +0%  |  0.7262 |
+| 95      ||  7766.19 |  8025.62 |   +3%  ||     0.46 |     0.46 |   +0%  |  0.1309 |
+| 96      ||   222.11 |   195.69 |  -12%  ||     0.46 |     0.46 |   +0%  |  0.4754 |
+| 97      ||  4235.21 |  4299.87 |   +2%  ||     0.46 |     0.46 |   +0%  |  0.6102 |
+| 99      ||  1217.37 |  1415.96 |  +16%  ||     0.46 |     0.46 |   +0%  |  0.0067 |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Sum     || 56904.69 | 57004.41 |   +0%  ||          |          |        |         |
+| Geomean ||          |          |        ||          |          |   +0%  |         |
++---------++----------+----------+--------++----------+----------+--------+---------+

hyriseBenchmarkTPCC - single-threaded

Sum of avg. item runtimes: -1% || Geometric mean of throughput changes: +1%
Configuration Overview - click to expand
 +Configuration Overview---+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter               | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCC_41512c379b874f51b3d202608854046959cb6a4a_st.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCC_ef5dfaf0212a50775d0f9ad333240792d28e6b89_st.json |
 +-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH               | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                             | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                             |
 |  benchmark_mode         | Shuffled                                                                                                                                   | Shuffled                                                                                                                                   |
 |  build_type             | release                                                                                                                                    | release                                                                                                                                    |
 |  chunk_size             | 65535                                                                                                                                      | 65535                                                                                                                                      |
 |  clients                | 1                                                                                                                                          | 1                                                                                                                                          |
 |  compiler               | clang 14.0.0                                                                                                                               | clang 14.0.0                                                                                                                               |
 |  cores                  | 0                                                                                                                                          | 0                                                                                                                                          |
 |  data_preparation_cores | 0                                                                                                                                          | 0                                                                                                                                          |
 |  date                   | 2023-02-01 17:47:58                                                                                                                        | 2023-02-02 15:25:50                                                                                                                        |
 |  encoding               | {'default': {'encoding': 'Dictionary'}}                                                                                                    | {'default': {'encoding': 'Dictionary'}}                                                                                                    |
 |  indexes                | False                                                                                                                                      | False                                                                                                                                      |
 |  max_duration           | 60000000000                                                                                                                                | 60000000000                                                                                                                                |
 |  max_runs               | -1                                                                                                                                         | -1                                                                                                                                         |
 |  scale_factor           | 1                                                                                                                                          | 1                                                                                                                                          |
 |  time_unit              | ns                                                                                                                                         | ns                                                                                                                                         |
 |  using_scheduler        | False                                                                                                                                      | False                                                                                                                                      |
 |  verify                 | False                                                                                                                                      | False                                                                                                                                      |
 |  warmup_duration        | 0                                                                                                                                          | 0                                                                                                                                          |
 +-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
++--------------++----------+---------+--------++----------+----------+--------+---------+
+| Item         || Latency (ms/iter)  | Change || Throughput (iter/s) | Change | p-value |
+|              ||      old |     new |        ||      old |      new |        |         |
++--------------++----------+---------+--------++----------+----------+--------+---------+
+| Delivery     ||    23.45 |   23.32 |   -1%  ||     4.20 |     4.22 |   +0%  |  0.1423 |
+| New-Order    ||    16.57 |   16.50 |   -0%  ||    47.40 |    47.57 |   +0%  |  0.6125 |
+| Order-Status ||     1.09 |    1.08 |   -1%  ||     4.22 |     4.23 |   +0%  |  0.4470 |
+| Payment      ||     2.08 |    2.08 |   -0%  ||    45.28 |    45.51 |   +0%  |  0.8763 |
+| Stock-Level  ||     3.68 |    3.62 |   -2%  ||     4.20 |     4.25 |   +1%  |  0.1468 |
++--------------++----------+---------+--------++----------+----------+--------+---------+
+| Sum          ||    46.86 |   46.61 |   -1%  ||          |          |        |         |
+| Geomean      ||          |         |        ||          |          |   +1%  |         |
++--------------++----------+---------+--------++----------+----------+--------+---------+

hyriseBenchmarkTPCC - multi-threaded, shuffled, 28 clients, 28 cores

Sum of avg. item runtimes: +0% || Geometric mean of throughput changes: -0%
Configuration Overview - click to expand
 +Configuration Overview---------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter                     | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCC_41512c379b874f51b3d202608854046959cb6a4a_mt.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkTPCC_ef5dfaf0212a50775d0f9ad333240792d28e6b89_mt.json |
 +-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH                     | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                             | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                             |
 |  benchmark_mode               | Shuffled                                                                                                                                   | Shuffled                                                                                                                                   |
 |  build_type                   | release                                                                                                                                    | release                                                                                                                                    |
 |  chunk_size                   | 65535                                                                                                                                      | 65535                                                                                                                                      |
 |  clients                      | 28                                                                                                                                         | 28                                                                                                                                         |
 |  compiler                     | clang 14.0.0                                                                                                                               | clang 14.0.0                                                                                                                               |
 |  cores                        | 28                                                                                                                                         | 28                                                                                                                                         |
 |  data_preparation_cores       | 0                                                                                                                                          | 0                                                                                                                                          |
 |  date                         | 2023-02-01 17:49:02                                                                                                                        | 2023-02-02 15:26:51                                                                                                                        |
 |  encoding                     | {'default': {'encoding': 'Dictionary'}}                                                                                                    | {'default': {'encoding': 'Dictionary'}}                                                                                                    |
 |  indexes                      | False                                                                                                                                      | False                                                                                                                                      |
 |  max_duration                 | 1200000000000                                                                                                                              | 1200000000000                                                                                                                              |
 |  max_runs                     | -1                                                                                                                                         | -1                                                                                                                                         |
 |  scale_factor                 | 1                                                                                                                                          | 1                                                                                                                                          |
 |  time_unit                    | ns                                                                                                                                         | ns                                                                                                                                         |
 |  using_scheduler              | True                                                                                                                                       | True                                                                                                                                       |
 |  utilized_cores_per_numa_node | [0, 0, 28]                                                                                                                                 | [0, 0, 28]                                                                                                                                 |
 |  verify                       | False                                                                                                                                      | False                                                                                                                                      |
 |  warmup_duration              | 0                                                                                                                                          | 0                                                                                                                                          |
 +-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
++--------------++----------+---------+--------++----------+----------+--------+---------+
+| Item         || Latency (ms/iter)  | Change || Throughput (iter/s) | Change | p-value |
+|              ||      old |     new |        ||      old |      new |        |         |
++--------------++----------+---------+--------++----------+----------+--------+---------+
+| Delivery     ||   209.44 |  209.80 |   +0%  ||     4.52 |     4.51 |   -0%  |  0.8049 |
+|    unsucc.:  ||     3.57 |    3.63 |   +2%  ||    64.73 |    64.70 |   -0%  |         |
+| New-Order    ||    56.16 |   56.18 |   +0%  ||   137.52 |   137.89 |   +0%  |  0.7975 |
+|    unsucc.:  ||     4.35 |    4.30 |   -1%  ||   641.60 |   640.70 |   -0%  |         |
+| Order-Status ||     7.33 |    7.38 |   +1%  ||    69.26 |    69.21 |   -0%  |  0.0785 |
+| Payment      ||     9.55 |    9.42 |   -1%  ||    20.82 |    20.64 |   -1%  |  0.0302 |
+|    unsucc.:  ||     3.98 |    3.92 |   -2%  ||   723.68 |   723.35 |   -0%  |         |
+| Stock-Level  ||    16.78 |   16.73 |   -0%  ||    69.26 |    69.21 |   -0%  |  0.4005 |
++--------------++----------+---------+--------++----------+----------+--------+---------+
+| Sum          ||   299.28 |  299.52 |   +0%  ||          |          |        |         |
+| Geomean      ||          |         |        ||          |          |   -0%  |         |
++--------------++----------+---------+--------++----------+----------+--------+---------+

hyriseBenchmarkJoinOrder - single-threaded

Sum of avg. item runtimes: -0% || Geometric mean of throughput changes: +1%
Configuration Overview - click to expand
 +Configuration Overview---+-------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter               | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkJoinOrder_41512c379b874f51b3d202608854046959cb6a4a_st.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkJoinOrder_ef5dfaf0212a50775d0f9ad333240792d28e6b89_st.json |
 +-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH               | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                                  | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                                  |
 |  benchmark_mode         | Ordered                                                                                                                                         | Ordered                                                                                                                                         |
 |  build_type             | release                                                                                                                                         | release                                                                                                                                         |
 |  chunk_size             | 65535                                                                                                                                           | 65535                                                                                                                                           |
 |  clients                | 1                                                                                                                                               | 1                                                                                                                                               |
 |  compiler               | clang 14.0.0                                                                                                                                    | clang 14.0.0                                                                                                                                    |
 |  cores                  | 0                                                                                                                                               | 0                                                                                                                                               |
 |  data_preparation_cores | 0                                                                                                                                               | 0                                                                                                                                               |
 |  date                   | 2023-02-01 18:10:45                                                                                                                             | 2023-02-02 15:46:58                                                                                                                             |
 |  encoding               | {'default': {'encoding': 'Dictionary'}}                                                                                                         | {'default': {'encoding': 'Dictionary'}}                                                                                                         |
 |  indexes                | False                                                                                                                                           | False                                                                                                                                           |
 |  max_duration           | 60000000000                                                                                                                                     | 60000000000                                                                                                                                     |
 |  max_runs               | 100                                                                                                                                             | 100                                                                                                                                             |
 |  time_unit              | ns                                                                                                                                              | ns                                                                                                                                              |
 |  using_scheduler        | False                                                                                                                                           | False                                                                                                                                           |
 |  verify                 | False                                                                                                                                           | False                                                                                                                                           |
 |  warmup_duration        | 1000000000                                                                                                                                      | 1000000000                                                                                                                                      |
 +-------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Item    || Latency (ms/iter)   | Change || Throughput (iter/s) | Change | p-value |
+|         ||      old |      new |        ||      old |      new |        |         |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| 10a     ||   177.57 |   179.42 |   +1%˄ ||     5.63 |     5.57 |   -1%˄ |  0.0000 |
+| 10b     ||   128.38 |   129.93 |   +1%˄ ||     7.79 |     7.70 |   -1%˄ |  0.0000 |
+| 10c     ||   354.56 |   323.05 |   -9%˄ ||     2.82 |     3.10 |  +10%˄ |  0.0000 |
+| 11a     ||    20.39 |    20.23 |   -1%˄ ||    49.03 |    49.44 |   +1%˄ |  0.0000 |
+| 11b     ||    20.24 |    20.11 |   -1%˄ ||    49.41 |    49.72 |   +1%˄ |  0.0019 |
+| 11c     ||    25.59 |    25.59 |   -0%˄ ||    39.07 |    39.08 |   +0%˄ |  0.8334 |
+| 11d     ||    28.58 |    28.38 |   -1%˄ ||    34.99 |    35.24 |   +1%˄ |  0.0000 |
+| 12a     ||    51.94 |    51.70 |   -0%˄ ||    19.25 |    19.34 |   +0%˄ |  0.0000 |
+| 12b     ||    41.17 |    40.80 |   -1%˄ ||    24.29 |    24.51 |   +1%˄ |  0.0000 |
+| 12c     ||    86.77 |    86.81 |   +0%˄ ||    11.52 |    11.52 |   -0%˄ |  0.7829 |
+| 13a     ||   287.86 |   287.66 |   -0%˄ ||     3.47 |     3.48 |   +0%˄ |  0.1234 |
+| 13b     ||   165.34 |   165.90 |   +0%˄ ||     6.05 |     6.03 |   -0%˄ |  0.0000 |
+| 13c     ||   129.05 |   129.47 |   +0%˄ ||     7.75 |     7.72 |   -0%˄ |  0.0000 |
+| 13d     ||   602.78 |   604.02 |   +0%˄ ||     1.66 |     1.66 |   -0%˄ |  0.3284 |
+| 14a     ||   419.01 |   420.93 |   +0%˄ ||     2.39 |     2.38 |   -0%˄ |  0.0203 |
+| 14b     ||   238.01 |   237.80 |   -0%˄ ||     4.20 |     4.21 |   +0%˄ |  0.2881 |
+| 14c     ||   500.91 |   494.79 |   -1%˄ ||     2.00 |     2.02 |   +1%˄ |  0.0000 |
+| 15a     ||    98.32 |    90.57 |   -8%˄ ||    10.17 |    11.04 |   +9%˄ |  0.0000 |
+| 15b     ||    97.49 |    89.89 |   -8%˄ ||    10.26 |    11.12 |   +8%˄ |  0.0000 |
+| 15c     ||   102.87 |    95.07 |   -8%˄ ||     9.72 |    10.52 |   +8%˄ |  0.0000 |
+| 15d     ||   100.49 |    92.35 |   -8%˄ ||     9.95 |    10.83 |   +9%˄ |  0.0000 |
+| 16a     ||  2268.70 |  2260.62 |   -0%  ||     0.44 |     0.44 |   +0%  |  0.5305 |
+| 16b     ||  3305.31 |  3328.48 |   +1%  ||     0.30 |     0.30 |   -1%  |  0.1406 |
+| 16c     ||  2339.42 |  2361.65 |   +1%  ||     0.43 |     0.42 |   -1%  |  0.0240 |
+| 16d     ||  2315.93 |  2359.86 |   +2%  ||     0.43 |     0.42 |   -2%  |  0.0001 |
+| 17a     ||   602.01 |   601.04 |   -0%˄ ||     1.66 |     1.66 |   +0%˄ |  0.0232 |
+| 17b     ||   480.53 |   478.48 |   -0%˄ ||     2.08 |     2.09 |   +0%˄ |  0.0000 |
+| 17c     ||   459.22 |   457.39 |   -0%˄ ||     2.18 |     2.19 |   +0%˄ |  0.0000 |
+| 17d     ||   542.61 |   540.65 |   -0%˄ ||     1.84 |     1.85 |   +0%˄ |  0.0000 |
+| 17e     ||  1615.12 |  1612.57 |   -0%  ||     0.62 |     0.62 |   +0%  |  0.3738 |
+| 17f     ||   965.13 |   958.39 |   -1%  ||     1.04 |     1.04 |   +1%  |  0.0000 |
+| 18a     ||   615.72 |   610.62 |   -1%  ||     1.62 |     1.64 |   +1%  |  0.0000 |
+| 18b     ||   124.90 |   125.14 |   +0%˄ ||     8.01 |     7.99 |   -0%˄ |  0.0052 |
+| 18c     ||   589.03 |   581.04 |   -1%˄ ||     1.70 |     1.72 |   +1%˄ |  0.0000 |
+| 19a     ||   200.30 |   195.15 |   -3%˄ ||     4.99 |     5.12 |   +3%˄ |  0.0000 |
+| 19b     ||   140.76 |   138.80 |   -1%˄ ||     7.10 |     7.20 |   +1%˄ |  0.0000 |
+| 19c     ||   212.46 |   207.41 |   -2%˄ ||     4.71 |     4.82 |   +2%˄ |  0.0000 |
+| 19d     ||   736.83 |   735.24 |   -0%  ||     1.36 |     1.36 |   +0%  |  0.0205 |
+| 1a      ||    12.41 |    12.05 |   -3%˄ ||    80.57 |    83.01 |   +3%˄ |  0.0000 |
+| 1b      ||    11.84 |    11.47 |   -3%˄ ||    84.47 |    87.19 |   +3%˄ |  0.0000 |
+| 1c      ||    13.01 |    12.49 |   -4%˄ ||    76.86 |    80.03 |   +4%˄ |  0.0000 |
+| 1d      ||    11.88 |    11.48 |   -3%˄ ||    84.17 |    87.08 |   +3%˄ |  0.0000 |
+| 20a     ||   408.05 |   407.72 |   -0%˄ ||     2.45 |     2.45 |   +0%˄ |  0.0179 |
+| 20b     ||   242.68 |   245.18 |   +1%˄ ||     4.12 |     4.08 |   -1%˄ |  0.0000 |
+| 20c     ||   234.90 |   236.69 |   +1%˄ ||     4.26 |     4.22 |   -1%˄ |  0.0000 |
+| 21a     ||    48.70 |    48.65 |   -0%˄ ||    20.53 |    20.56 |   +0%˄ |  0.0172 |
+| 21b     ||    24.63 |    24.31 |   -1%˄ ||    40.60 |    41.14 |   +1%˄ |  0.0000 |
+| 21c     ||    48.35 |    48.16 |   -0%˄ ||    20.68 |    20.76 |   +0%˄ |  0.0000 |
+| 22a     ||   207.02 |   203.85 |   -2%˄ ||     4.83 |     4.91 |   +2%˄ |  0.0000 |
+| 22b     ||   153.05 |   150.55 |   -2%˄ ||     6.53 |     6.64 |   +2%˄ |  0.0000 |
+| 22c     ||   503.04 |   497.51 |   -1%˄ ||     1.99 |     2.01 |   +1%˄ |  0.0000 |
+| 22d     ||   899.60 |   900.67 |   +0%  ||     1.11 |     1.11 |   -0%  |  0.4297 |
+| 23a     ||    55.69 |    55.45 |   -0%˄ ||    17.96 |    18.03 |   +0%˄ |  0.0006 |
+| 23b     ||    55.68 |    55.73 |   +0%˄ ||    17.96 |    17.94 |   -0%˄ |  0.1775 |
+| 23c     ||    98.94 |    95.23 |   -4%˄ ||    10.11 |    10.50 |   +4%˄ |  0.0000 |
+| 24a     ||   169.08 |   170.08 |   +1%˄ ||     5.91 |     5.88 |   -1%˄ |  0.0000 |
+| 24b     ||   147.96 |   148.61 |   +0%˄ ||     6.76 |     6.73 |   -0%˄ |  0.0000 |
+| 25a     ||   295.67 |   296.74 |   +0%˄ ||     3.38 |     3.37 |   -0%˄ |  0.0016 |
+| 25b     ||   136.61 |   137.35 |   +1%˄ ||     7.32 |     7.28 |   -1%˄ |  0.0000 |
+| 25c     ||   938.20 |   932.69 |   -1%  ||     1.07 |     1.07 |   +1%  |  0.0002 |
+| 26a     ||   178.67 |   180.59 |   +1%˄ ||     5.60 |     5.54 |   -1%˄ |  0.0000 |
+| 26b     ||   147.00 |   148.34 |   +1%˄ ||     6.80 |     6.74 |   -1%˄ |  0.0000 |
+| 26c     ||   247.78 |   249.65 |   +1%˄ ||     4.04 |     4.01 |   -1%˄ |  0.0000 |
+| 27a     ||    28.22 |    28.04 |   -1%˄ ||    35.44 |    35.66 |   +1%˄ |  0.0000 |
+| 27b     ||    27.98 |    27.57 |   -1%˄ ||    35.74 |    36.27 |   +1%˄ |  0.0000 |
+| 27c     ||    48.54 |    48.34 |   -0%˄ ||    20.60 |    20.69 |   +0%˄ |  0.0000 |
+| 28a     ||   297.97 |   296.11 |   -1%˄ ||     3.36 |     3.38 |   +1%˄ |  0.0000 |
+| 28b     ||    44.25 |    43.83 |   -1%˄ ||    22.60 |    22.81 |   +1%˄ |  0.0000 |
+| 28c     ||   336.39 |   335.03 |   -0%˄ ||     2.97 |     2.98 |   +0%˄ |  0.0000 |
+| 29a     ||   138.05 |   133.31 |   -3%˄ ||     7.24 |     7.50 |   +4%˄ |  0.0000 |
+| 29b     ||   111.70 |   106.88 |   -4%˄ ||     8.95 |     9.36 |   +5%˄ |  0.0000 |
+| 29c     ||   175.57 |   176.25 |   +0%˄ ||     5.70 |     5.67 |   -0%˄ |  0.0000 |
+| 2a      ||    51.55 |    51.32 |   -0%˄ ||    19.40 |    19.49 |   +0%˄ |  0.0000 |
+| 2b      ||    42.67 |    42.56 |   -0%˄ ||    23.43 |    23.50 |   +0%˄ |  0.0037 |
+| 2c      ||    26.77 |    26.78 |   +0%˄ ||    37.35 |    37.34 |   -0%˄ |  0.3313 |
+| 2d      ||    70.78 |    70.12 |   -1%˄ ||    14.13 |    14.26 |   +1%˄ |  0.0000 |
+| 30a     ||   165.51 |   165.99 |   +0%˄ ||     6.04 |     6.02 |   -0%˄ |  0.0000 |
+| 30b     ||   143.90 |   144.49 |   +0%˄ ||     6.95 |     6.92 |   -0%˄ |  0.0000 |
+| 30c     ||   393.95 |   391.20 |   -1%˄ ||     2.54 |     2.56 |   +1%˄ |  0.0000 |
+| 31a     ||   171.96 |   172.81 |   +0%˄ ||     5.82 |     5.79 |   -0%˄ |  0.0000 |
+| 31b     ||   150.89 |   151.49 |   +0%˄ ||     6.63 |     6.60 |   -0%˄ |  0.0000 |
+| 31c     ||   195.25 |   197.44 |   +1%˄ ||     5.12 |     5.06 |   -1%˄ |  0.0000 |
+| 32a     ||    17.10 |    16.97 |   -1%˄ ||    58.47 |    58.91 |   +1%˄ |  0.0000 |
+| 32b     ||    35.21 |    35.19 |   -0%˄ ||    28.40 |    28.42 |   +0%˄ |  0.5653 |
+| 33a     ||    26.47 |    26.31 |   -1%˄ ||    37.78 |    38.00 |   +1%˄ |  0.0000 |
+| 33b     ||    25.83 |    25.71 |   -0%˄ ||    38.71 |    38.89 |   +0%˄ |  0.0000 |
+| 33c     ||    29.66 |    29.49 |   -1%˄ ||    33.71 |    33.91 |   +1%˄ |  0.0000 |
+| 3a      ||   127.94 |   127.02 |   -1%˄ ||     7.82 |     7.87 |   +1%˄ |  0.0000 |
+| 3b      ||    16.56 |    16.50 |   -0%˄ ||    60.38 |    60.58 |   +0%˄ |  0.0187 |
+| 3c      ||   445.26 |   440.43 |   -1%˄ ||     2.25 |     2.27 |   +1%˄ |  0.0007 |
+| 4a      ||   118.26 |   115.85 |   -2%˄ ||     8.46 |     8.63 |   +2%˄ |  0.0000 |
+| 4b      ||    15.47 |    15.41 |   -0%˄ ||    64.65 |    64.87 |   +0%˄ |  0.3378 |
+| 4c      ||   128.88 |   126.99 |   -1%˄ ||     7.76 |     7.87 |   +1%˄ |  0.0000 |
+| 5a      ||    56.78 |    54.37 |   -4%˄ ||    17.61 |    18.39 |   +4%˄ |  0.0000 |
+| 5b      ||   149.13 |   137.21 |   -8%˄ ||     6.71 |     7.29 |   +9%˄ |  0.0000 |
+| 5c      ||   193.20 |   183.24 |   -5%˄ ||     5.18 |     5.46 |   +5%˄ |  0.0000 |
+| 6a      ||   118.52 |   119.05 |   +0%˄ ||     8.44 |     8.40 |   -0%˄ |  0.0000 |
+| 6b      ||   129.49 |   130.24 |   +1%˄ ||     7.72 |     7.68 |   -1%˄ |  0.0000 |
+| 6c      ||   113.43 |   113.96 |   +0%˄ ||     8.82 |     8.77 |   -0%˄ |  0.0000 |
+| 6d      ||   548.46 |   547.09 |   -0%˄ ||     1.82 |     1.83 |   +0%˄ |  0.0000 |
+| 6e      ||   118.74 |   119.14 |   +0%˄ ||     8.42 |     8.39 |   -0%˄ |  0.0000 |
+| 6f      ||   718.47 |   715.99 |   -0%  ||     1.39 |     1.40 |   +0%  |  0.0000 |
+| 7a      ||    78.78 |    78.12 |   -1%˄ ||    12.69 |    12.80 |   +1%˄ |  0.0000 |
+| 7b      ||    75.19 |    74.75 |   -1%˄ ||    13.30 |    13.38 |   +1%˄ |  0.0000 |
+| 7c      ||   613.08 |   610.92 |   -0%  ||     1.63 |     1.64 |   +0%  |  0.2087 |
+| 8a      ||    44.98 |    43.56 |   -3%˄ ||    22.23 |    22.96 |   +3%˄ |  0.0000 |
+| 8b      ||    42.69 |    41.30 |   -3%˄ ||    23.42 |    24.21 |   +3%˄ |  0.0000 |
+| 8c      ||  1893.35 |  1876.10 |   -1%  ||     0.53 |     0.53 |   +1%  |  0.0001 |
+| 8d      ||   335.58 |   324.71 |   -3%˄ ||     2.98 |     3.08 |   +3%˄ |  0.0000 |
+| 9a      ||   199.76 |   193.07 |   -3%˄ ||     5.01 |     5.18 |   +3%˄ |  0.0000 |
+| 9b      ||   113.67 |   110.88 |   -2%˄ ||     8.80 |     9.02 |   +3%˄ |  0.0000 |
+| 9c      ||   280.46 |   274.57 |   -2%˄ ||     3.57 |     3.64 |   +2%˄ |  0.0000 |
+| 9d      ||   485.51 |   479.16 |   -1%˄ ||     2.06 |     2.09 |   +1%˄ |  0.0000 |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Sum     || 36399.53 | 36261.09 |   -0%  ||          |          |        |         |
+| Geomean ||          |          |        ||          |          |   +1%  |         |
++---------++----------+----------+--------++----------+----------+--------+---------+
+|   Notes || ˄ Execution stopped due to max runs reached                            |
++---------++----------+----------+--------++----------+----------+--------+---------+

hyriseBenchmarkJoinOrder - multi-threaded, shuffled, 28 clients, 28 cores

Sum of avg. item runtimes: +0% || Geometric mean of throughput changes: +0%
Configuration Overview - click to expand
 +Configuration Overview---------+-------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
 | Parameter                     | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkJoinOrder_41512c379b874f51b3d202608854046959cb6a4a_mt.json | /home/Daniel.Lindner/hyrise/cmake-build-release/benchmark_all_results/hyriseBenchmarkJoinOrder_ef5dfaf0212a50775d0f9ad333240792d28e6b89_mt.json |
 +-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
 |  GIT-HASH                     | 41512c379b874f51b3d202608854046959cb6a4a-dirty                                                                                                  | ef5dfaf0212a50775d0f9ad333240792d28e6b89-dirty                                                                                                  |
 |  benchmark_mode               | Shuffled                                                                                                                                        | Shuffled                                                                                                                                        |
 |  build_type                   | release                                                                                                                                         | release                                                                                                                                         |
 |  chunk_size                   | 65535                                                                                                                                           | 65535                                                                                                                                           |
 |  clients                      | 28                                                                                                                                              | 28                                                                                                                                              |
 |  compiler                     | clang 14.0.0                                                                                                                                    | clang 14.0.0                                                                                                                                    |
 |  cores                        | 28                                                                                                                                              | 28                                                                                                                                              |
 |  data_preparation_cores       | 0                                                                                                                                               | 0                                                                                                                                               |
 |  date                         | 2023-02-01 18:55:34                                                                                                                             | 2023-02-02 16:31:06                                                                                                                             |
 |  encoding                     | {'default': {'encoding': 'Dictionary'}}                                                                                                         | {'default': {'encoding': 'Dictionary'}}                                                                                                         |
 |  indexes                      | False                                                                                                                                           | False                                                                                                                                           |
 |  max_duration                 | 1200000000000                                                                                                                                   | 1200000000000                                                                                                                                   |
 |  max_runs                     | -1                                                                                                                                              | -1                                                                                                                                              |
 |  time_unit                    | ns                                                                                                                                              | ns                                                                                                                                              |
 |  using_scheduler              | True                                                                                                                                            | True                                                                                                                                            |
 |  utilized_cores_per_numa_node | [0, 0, 28]                                                                                                                                      | [0, 0, 28]                                                                                                                                      |
 |  verify                       | False                                                                                                                                           | False                                                                                                                                           |
 |  warmup_duration              | 0                                                                                                                                               | 0                                                                                                                                               |
 +-------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Item    || Latency (ms/iter)   | Change || Throughput (iter/s) | Change | p-value |
+|         ||      old |      new |        ||      old |      new |        |         |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| 10a     ||   231.92 |   179.70 |  -23%  ||     0.49 |     0.49 |   +0%  |  0.0614 |
+| 10b     ||   144.31 |   123.27 |  -15%  ||     0.49 |     0.49 |   +0%  |  0.2351 |
+| 10c     ||   423.03 |   387.72 |   -8%  ||     0.49 |     0.49 |   +0%  |  0.3207 |
+| 11a     ||    48.28 |    48.95 |   +1%  ||     0.49 |     0.49 |   +0%  |  0.9483 |
+| 11b     ||    54.64 |    53.58 |   -2%  ||     0.49 |     0.49 |   +0%  |  0.9473 |
+| 11c     ||    56.62 |    82.92 |  +46%  ||     0.49 |     0.49 |   +0%  |  0.0292 |
+| 11d     ||    88.10 |    72.93 |  -17%  ||     0.49 |     0.49 |   +0%  |  0.3190 |
+| 12a     ||   174.53 |   184.11 |   +5%  ||     0.49 |     0.49 |   +0%  |  0.7366 |
+| 12b     ||    73.88 |    59.96 |  -19%  ||     0.49 |     0.49 |   +0%  |  0.2632 |
+| 12c     ||   314.61 |   334.60 |   +6%  ||     0.49 |     0.49 |   +0%  |  0.5551 |
+| 13a     ||   591.41 |   599.23 |   +1%  ||     0.49 |     0.49 |   +0%  |  0.8403 |
+| 13b     ||   264.77 |   261.15 |   -1%  ||     0.49 |     0.49 |   +0%  |  0.9050 |
+| 13c     ||   239.94 |   274.29 |  +14%  ||     0.49 |     0.49 |   +0%  |  0.2998 |
+| 13d     ||  1099.85 |  1032.15 |   -6%  ||     0.49 |     0.49 |   +0%  |  0.2732 |
+| 14a     ||   779.44 |   786.22 |   +1%  ||     0.49 |     0.49 |   +0%  |  0.8874 |
+| 14b     ||   505.26 |   537.53 |   +6%  ||     0.49 |     0.49 |   +0%  |  0.4751 |
+| 14c     ||   983.52 |   980.92 |   -0%  ||     0.49 |     0.49 |   +0%  |  0.9651 |
+| 15a     ||   147.37 |   149.75 |   +2%  ||     0.49 |     0.49 |   +0%  |  0.8929 |
+| 15b     ||   137.25 |   118.83 |  -13%  ||     0.49 |     0.49 |   +0%  |  0.2635 |
+| 15c     ||   179.14 |   146.38 |  -18%  ||     0.49 |     0.49 |   +0%  |  0.0990 |
+| 15d     ||   206.46 |   176.58 |  -14%  ||     0.49 |     0.49 |   +0%  |  0.2666 |
+| 16a     ||  2529.67 |  2516.34 |   -1%  ||     0.49 |     0.49 |   +0%  |  0.8129 |
+| 16b     ||  3869.69 |  3860.65 |   -0%  ||     0.49 |     0.49 |   +0%  |  0.8870 |
+| 16c     ||  2716.80 |  2708.72 |   -0%  ||     0.49 |     0.49 |   +0%  |  0.9011 |
+| 16d     ||  2634.70 |  2662.21 |   +1%  ||     0.49 |     0.49 |   +0%  |  0.6369 |
+| 17a     ||   870.33 |   811.88 |   -7%  ||     0.49 |     0.49 |   +0%  |  0.2358 |
+| 17b     ||   672.12 |   614.52 |   -9%  ||     0.49 |     0.49 |   +0%  |  0.2675 |
+| 17c     ||   533.52 |   525.16 |   -2%  ||     0.49 |     0.49 |   +0%  |  0.8377 |
+| 17d     ||   574.95 |   630.32 |  +10%  ||     0.49 |     0.49 |   +0%  |  0.1957 |
+| 17e     ||  1542.78 |  1542.96 |   +0%  ||     0.49 |     0.49 |   +0%  |  0.9971 |
+| 17f     ||  1085.61 |  1105.09 |   +2%  ||     0.49 |     0.49 |   +0%  |  0.7319 |
+| 18a     ||   809.20 |   795.19 |   -2%  ||     0.49 |     0.49 |   +0%  |  0.8107 |
+| 18b     ||   142.08 |   166.12 |  +17%  ||     0.49 |     0.49 |   +0%  |  0.1554 |
+| 18c     ||   689.67 |   702.21 |   +2%  ||     0.49 |     0.49 |   +0%  |  0.7806 |
+| 19a     ||   444.42 |   485.64 |   +9%  ||     0.49 |     0.49 |   +0%  |  0.3723 |
+| 19b     ||   308.42 |   381.78 |  +24%  ||     0.49 |     0.49 |   +0%  |  0.0639 |
+| 19c     ||   527.08 |   465.79 |  -12%  ||     0.49 |     0.49 |   +0%  |  0.2160 |
+| 19d     ||  1237.87 |  1304.41 |   +5%  ||     0.49 |     0.49 |   +0%  |  0.2605 |
+| 1a      ||    38.41 |    69.21 |  +80%  ||     0.49 |     0.49 |   +0%  |  0.2016 |
+| 1b      ||    32.60 |    24.00 |  -26%  ||     0.49 |     0.49 |   +0%  |  0.2990 |
+| 1c      ||    45.73 |    46.99 |   +3%  ||     0.49 |     0.49 |   +0%  |  0.9164 |
+| 1d      ||    39.09 |    29.41 |  -25%  ||     0.49 |     0.49 |   +0%  |  0.3932 |
+| 20a     ||   573.20 |   574.80 |   +0%  ||     0.49 |     0.49 |   +0%  |  0.9702 |
+| 20b     ||   430.69 |   409.90 |   -5%  ||     0.49 |     0.49 |   +0%  |  0.5827 |
+| 20c     ||   409.80 |   409.71 |   -0%  ||     0.49 |     0.49 |   +0%  |  0.9980 |
+| 21a     ||   100.67 |    69.57 |  -31%  ||     0.49 |     0.49 |   +0%  |  0.2250 |
+| 21b     ||    73.04 |    72.33 |   -1%  ||     0.49 |     0.49 |   +0%  |  0.9596 |
+| 21c     ||    84.75 |    89.79 |   +6%  ||     0.49 |     0.49 |   +0%  |  0.7515 |
+| 22a     ||   575.59 |   487.48 |  -15%  ||     0.49 |     0.49 |   +0%  |  0.0581 |
+| 22b     ||   332.65 |   333.66 |   +0%  ||     0.49 |     0.49 |   +0%  |  0.9745 |
+| 22c     ||   898.74 |   875.67 |   -3%  ||     0.49 |     0.49 |   +0%  |  0.6568 |
+| 22d     ||  1281.50 |  1248.75 |   -3%  ||     0.49 |     0.49 |   +0%  |  0.6108 |
+| 23a     ||   166.18 |   137.33 |  -17%  ||     0.49 |     0.49 |   +0%  |  0.1718 |
+| 23b     ||   121.72 |   119.64 |   -2%  ||     0.49 |     0.49 |   +0%  |  0.9060 |
+| 23c     ||   168.84 |   169.41 |   +0%  ||     0.49 |     0.49 |   +0%  |  0.9800 |
+| 24a     ||   253.71 |   272.62 |   +7%  ||     0.49 |     0.49 |   +0%  |  0.5361 |
+| 24b     ||   170.55 |   136.91 |  -20%  ||     0.49 |     0.49 |   +0%  |  0.1673 |
+| 25a     ||   572.76 |   505.98 |  -12%  ||     0.49 |     0.49 |   +0%  |  0.1502 |
+| 25b     ||   159.19 |   175.44 |  +10%  ||     0.49 |     0.49 |   +0%  |  0.5504 |
+| 25c     ||   981.09 |   962.03 |   -2%  ||     0.49 |     0.49 |   +0%  |  0.7170 |
+| 26a     ||   351.61 |   318.92 |   -9%  ||     0.49 |     0.49 |   +0%  |  0.3073 |
+| 26b     ||   198.20 |   220.43 |  +11%  ||     0.49 |     0.49 |   +0%  |  0.3987 |
+| 26c     ||   490.02 |   475.70 |   -3%  ||     0.49 |     0.49 |   +0%  |  0.7579 |
+| 27a     ||    76.82 |   115.77 |  +51%  ||     0.49 |     0.49 |   +0%  |  0.0414 |
+| 27b     ||    83.95 |    93.25 |  +11%  ||     0.49 |     0.49 |   +0%  |  0.5189 |
+| 27c     ||    69.17 |    89.28 |  +29%  ||     0.49 |     0.49 |   +0%  |  0.2480 |
+| 28a     ||   756.74 |   713.66 |   -6%  ||     0.49 |     0.49 |   +0%  |  0.4178 |
+| 28b     ||   175.83 |   188.44 |   +7%  ||     0.49 |     0.49 |   +0%  |  0.6555 |
+| 28c     ||   739.06 |   817.00 |  +11%  ||     0.49 |     0.49 |   +0%  |  0.1404 |
+| 29a     ||   214.75 |   197.04 |   -8%  ||     0.49 |     0.49 |   +0%  |  0.4520 |
+| 29b     ||   163.12 |   149.97 |   -8%  ||     0.49 |     0.49 |   +0%  |  0.4972 |
+| 29c     ||   205.35 |   256.02 |  +25%  ||     0.49 |     0.49 |   +0%  |  0.0367 |
+| 2a      ||   125.83 |   169.73 |  +35%  ||     0.49 |     0.49 |   +0%  |  0.0229 |
+| 2b      ||   158.51 |   132.02 |  -17%  ||     0.49 |     0.49 |   +0%  |  0.2544 |
+| 2c      ||    81.66 |    82.89 |   +2%  ||     0.49 |     0.49 |   +0%  |  0.9436 |
+| 2d      ||   194.23 |   205.00 |   +6%  ||     0.49 |     0.49 |   +0%  |  0.6774 |
+| 30a     ||   315.87 |   350.10 |  +11%  ||     0.49 |     0.49 |   +0%  |  0.3158 |
+| 30b     ||   230.23 |   239.92 |   +4%  ||     0.49 |     0.49 |   +0%  |  0.7236 |
+| 30c     ||   684.54 |   762.66 |  +11%  ||     0.49 |     0.49 |   +0%  |  0.1496 |
+| 31a     ||   295.11 |   338.49 |  +15%  ||     0.49 |     0.49 |   +0%  |  0.2400 |
+| 31b     ||   165.38 |   169.16 |   +2%  ||     0.49 |     0.49 |   +0%  |  0.8641 |
+| 31c     ||   307.38 |   319.32 |   +4%  ||     0.49 |     0.49 |   +0%  |  0.6717 |
+| 32a     ||    31.59 |    30.02 |   -5%  ||     0.49 |     0.49 |   +0%  |  0.6716 |
+| 32b     ||   119.10 |   111.41 |   -6%  ||     0.49 |     0.49 |   +0%  |  0.6075 |
+| 33a     ||    64.38 |    87.99 |  +37%  ||     0.49 |     0.49 |   +0%  |  0.0981 |
+| 33b     ||    78.50 |    74.93 |   -5%  ||     0.49 |     0.49 |   +0%  |  0.8232 |
+| 33c     ||    88.65 |    69.88 |  -21%  ||     0.49 |     0.49 |   +0%  |  0.1786 |
+| 3a      ||   384.92 |   460.23 |  +20%  ||     0.49 |     0.49 |   +0%  |  0.1065 |
+| 3b      ||    72.95 |    63.06 |  -14%  ||     0.49 |     0.49 |   +0%  |  0.5773 |
+| 3c      ||   528.96 |   518.74 |   -2%  ||     0.49 |     0.49 |   +0%  |  0.7885 |
+| 4a      ||   210.64 |   224.44 |   +7%  ||     0.49 |     0.49 |   +0%  |  0.6743 |
+| 4b      ||    49.23 |    51.08 |   +4%  ||     0.49 |     0.49 |   +0%  |  0.9052 |
+| 4c      ||   227.67 |   220.12 |   -3%  ||     0.49 |     0.49 |   +0%  |  0.7681 |
+| 5a      ||   204.88 |   150.12 |  -27%  ||     0.49 |     0.49 |   +0%  |  0.0369 |
+| 5b      ||   198.62 |   219.61 |  +11%  ||     0.49 |     0.49 |   +0%  |  0.4277 |
+| 5c      ||   213.51 |   233.96 |  +10%  ||     0.49 |     0.49 |   +0%  |  0.4765 |
+| 6a      ||   100.63 |   115.34 |  +15%  ||     0.49 |     0.49 |   +0%  |  0.4523 |
+| 6b      ||   159.72 |   158.99 |   -0%  ||     0.49 |     0.49 |   +0%  |  0.9766 |
+| 6c      ||    95.03 |    99.02 |   +4%  ||     0.49 |     0.49 |   +0%  |  0.7777 |
+| 6d      ||   496.34 |   524.86 |   +6%  ||     0.49 |     0.49 |   +0%  |  0.3394 |
+| 6e      ||   112.32 |   103.85 |   -8%  ||     0.49 |     0.49 |   +0%  |  0.5441 |
+| 6f      ||   989.05 |   979.40 |   -1%  ||     0.49 |     0.49 |   +0%  |  0.8205 |
+| 7a      ||   127.99 |   129.44 |   +1%  ||     0.49 |     0.49 |   +0%  |  0.9505 |
+| 7b      ||   139.65 |   102.60 |  -27%  ||     0.49 |     0.49 |   +0%  |  0.0808 |
+| 7c      ||   844.48 |   865.18 |   +2%  ||     0.49 |     0.49 |   +0%  |  0.6348 |
+| 8a      ||   128.74 |   113.94 |  -11%  ||     0.49 |     0.49 |   +0%  |  0.4925 |
+| 8b      ||   138.14 |   118.74 |  -14%  ||     0.49 |     0.49 |   +0%  |  0.3111 |
+| 8c      ||  2269.71 |  2234.71 |   -2%  ||     0.49 |     0.49 |   +0%  |  0.5485 |
+| 8d      ||   560.55 |   626.33 |  +12%  ||     0.49 |     0.49 |   +0%  |  0.0738 |
+| 9a      ||   466.60 |   486.20 |   +4%  ||     0.49 |     0.49 |   +0%  |  0.6044 |
+| 9b      ||   368.17 |   377.60 |   +3%  ||     0.49 |     0.49 |   +0%  |  0.8146 |
+| 9c      ||   674.76 |   630.66 |   -7%  ||     0.49 |     0.49 |   +0%  |  0.3853 |
+| 9d      ||   951.57 |   967.86 |   +2%  ||     0.49 |     0.49 |   +0%  |  0.7599 |
++---------++----------+----------+--------++----------+----------+--------+---------+
+| Sum     || 52624.16 | 52645.51 |   +0%  ||          |          |        |         |
+| Geomean ||          |          |        ||          |          |   +0%  |         |
++---------++----------+----------+--------++----------+----------+--------+---------+

Copy link
Collaborator

@Bouncner Bouncner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It confuses me. I probably need some whiteboard explanations. :-/

subquery_statistics = estimate_statistics(subquery_expression->lqp);
}

// Case (ii): Between predicate with column BETWEEN min(<subquery) AND max(<subquery>). Equivalent to a semi-join
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand how a between can be equivalent to a semi-join.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the UCC information ist still missing here, right?

Copy link
Member Author

@dey4ss dey4ss Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guess it's too hidden here?

// We do not have to further check if the subqueries return at most one row. This will be ensured during execution
// by the TableScan operator.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think I would still add "some" UCC information here. It doesn't really help reading the code, when the main assumption here is cleared up many lines later. And stating that the table scan would recognize certain cases doesn't help to understand why we can even do those between-to-join reformulations.

src/lib/statistics/cardinality_estimator.cpp Outdated Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Outdated Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Show resolved Hide resolved
src/test/lib/statistics/cardinality_estimator_test.cpp Outdated Show resolved Hide resolved
@dey4ss dey4ss requested a review from Bouncner March 29, 2023 11:59
@dey4ss
Copy link
Member Author

dey4ss commented Mar 29, 2023

@Bouncner I added more comments, please see if they are sufficient.

// equals or between condition, it acts as a filter comparable to a semi-join with the join key of the subquery
// result (see examples below). We obtain such predicates with subquery results from the JoinToPredicateRewriteRule.
// This rule also checks that all preconditions are met to ensure correct query results. Thus, we do not check them
// here. For more information about this query rewrite, see `join_to_predicate_rewrite_rule.hpp`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found text that explains that we only run into this branch here for the rewrite and not when somebody manually created "equal" subqueries.
I think that would help understanding this branch a lot.

Copy link
Member Author

@dey4ss dey4ss Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the column = <subquery> case, we can actually have it triggered by the user with the example below:

SELECT n_name FROM nation WHERE n_regionkey = (SELECT r_regionkey FROM region WHERE r_name = 'ASIA');

However, the SubqueryToJoinRule eventually rewrites the subquery scan to a join.

What do you think of pulling the part starting from We obtain such predicates ... up and move it after the first sentence?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that would help.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I would even move it up to line 421.

Copy link
Collaborator

@Bouncner Bouncner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing on the code side, but happy to further annoy you with stupid questions.

@dey4ss
Copy link
Member Author

dey4ss commented May 10, 2023

Nothing on the code side, but happy to further annoy you with stupid questions.

It's okay that you contribute with what you're able to :b
No, srsly, gonna refine the documentation.

@dey4ss
Copy link
Member Author

dey4ss commented May 11, 2023

@Bouncner happy?

Copy link
Collaborator

@Bouncner Bouncner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I promise, I'll approve next time.

Maybe ... if I understand what you're doing here. So ... maybe. No.

src/lib/statistics/cardinality_estimator.cpp Outdated Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Outdated Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Outdated Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Outdated Show resolved Hide resolved
src/lib/statistics/cardinality_estimator.cpp Outdated Show resolved Hide resolved
@dey4ss dey4ss merged commit 4043328 into master May 19, 2023
@dey4ss dey4ss deleted the dey4ss/dey4ss/benchmark_join_to_predicate branch May 19, 2023 07:31
nikriek pushed a commit that referenced this pull request Oct 28, 2023
…ts (#2536)

Estimate query plans rewritten by the `JoinToPredicateRewriteRule` as if they were still (semi-) joins to place the rwritten predicates correctly in the query plans.
nikriek pushed a commit that referenced this pull request Nov 6, 2023
…ts (#2536)

Estimate query plans rewritten by the `JoinToPredicateRewriteRule` as if they were still (semi-) joins to place the rwritten predicates correctly in the query plans.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FullCI Run all CI tests (slow, but required for merge)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cardinality Estimation of Uncorrelated Subqueries
2 participants