Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22110

[SQL] TPC-H q16 query hangs with sc=0.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • sql

    Description

      Benchmark: https://github.com/cmu-db/benchbase/tree/main/src/main/java/com/oltpbenchmark/benchmarks/tpch 

      Setup

      • 1 server node
      • TPC-H with scale factor = 0.1

      Steps

      1. Start an Ignite node
      2. Run benchbase with -s 1 --create=true --load=true --execute=false to preload data
      3. Observe via the benchbase log that the data was successfully loaded
      4. Run benchbase with -s 1 --create=false --load=false --execute=true to run the benchmark

      Expected result

      The benchmark finishes after warmup + duration time

      Actual result

      The benchmark hangs for hours on Q16 query:

       

      SELECT
         p_brand,
         p_type,
         p_size,
         COUNT(DISTINCT ps_suppkey) AS supplier_cnt
      FROM
         partsupp,
         part
      WHERE
         p_partkey = ps_partkey
         AND p_brand <> ?
         AND p_type NOT LIKE ?
         AND p_size IN (?, ?, ?, ?, ?, ?, ?, ?)
         AND ps_suppkey NOT IN
         (
            SELECT
               s_suppkey
            FROM
               supplier
            WHERE
               s_comment LIKE '%Customer%Complaints%'
         )
      GROUP BY
         p_brand,
         p_type,
         p_size
      ORDER BY
         supplier_cnt DESC,
         p_brand,
         p_type,
         p_size

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              n.e.sivkov Nikita Sivkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: