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

Sql. Performance degradation in SELECTS (2 nodes VS 1 node)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • sql

    Description

      Ignite 3, rev. 7d188ac7ae068bd69ff0e6e6cfe5a32ac5749d17

      Benchmark: https://github.com/gridgain/YCSB/blob/ycsb-2023.3/ignite3/src/main/java/site/ycsb/db/ignite3/IgniteSqlClient.java 

      The benchmark establishes an SQL Session and perform SELECTs via preparedStatement.

       

      Steps:

      • Run an Ignite cluster of 2 nodes with the attached config ignite-config.json .
        • fsync = false
      • Run the SQL YCSB benchmark in preload mode:
        • -db site.ycsb.db.ignite3.IgniteSqlClient -load -P /opt/pubagent/poc/config/ycsb/workloads/workloadc -threads 1 -p recordcount=10000 -p dataintegrity=true -p measurementtype=timeseries -p hosts=192.168.1.60
      • Run the SQL YCSB benchmark in 100% read mode: 
        • -db site.ycsb.db.ignite3.IgniteSqlClient -t -P /opt/pubagent/poc/config/ycsb/workloads/workloadc -threads 1 -p operationcount=10000 -p recordcount=10000 -p dataintegrity=true -p measurementtype=timeseries -p hosts=192.168.1.60 -s
      • Observe the following average throughput on reads:

      Server node's logs: sql-logs-2-server-nodes.zip

      Repeat the test with only 1 server node and observe ~20x better throughput on reads:

       

       

      Attachments

        1. sql-logs-2-server-nodes.zip
          20 kB
          Ivan Artiukhov
        2. sql-2nodes-select.png
          87 kB
          Ivan Artiukhov
        3. sql-1node-select.png
          44 kB
          Ivan Artiukhov
        4. jdbc-2nodes-select.png
          86 kB
          Ivan Artiukhov
        5. jdbc-1node-select.png
          34 kB
          Ivan Artiukhov
        6. image-2023-11-06-14-36-20-627.png
          87 kB
          Konstantin Orlov
        7. ignite-config.json
          0.2 kB
          Ivan Artiukhov
        8. echarts.png
          82 kB
          Konstantin Orlov
        9. 6b6f0c-select-logs.zip.zip
          50 kB
          Ivan Artiukhov
        10. 6b6f0c-select-2srv.png
          63 kB
          Ivan Artiukhov
        11. 2023-11-02-15-41-10_run.txt
          544 kB
          Ivan Artiukhov
        12. 2023-11-02-15-41-10_run.png
          94 kB
          Ivan Artiukhov
        13. 2023-11-02-15-41-10_logs.zip
          16.77 MB
          Ivan Artiukhov

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            korlov Konstantin Orlov
            Artukhov Ivan Artiukhov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m

                Slack

                  Issue deployment