Coder Social home page Coder Social logo

Comments (5)

seungwonlee0603 avatar seungwonlee0603 commented on July 29, 2024

did you resolve this?

from sysbench-tpcc.

sunneepark avatar sunneepark commented on July 29, 2024

@ingardm

I’m experiencing the same issue

My solution is changing command options ‘—time’ value
like from --time=300 to --time=1000

This error happens “db connection closed" still waiting many queries.

So, we could deal with enough total execution time through command option ‘time’ or

being sufficient for the data transfer to complete queries through server system variables. This is reference about server system variables.
https://dev.mysql.com/doc/refman/5.7/en/error-lost-connection.html

Also,
FATAL: thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) ALERT: attempt to fetch row from an empty result set FATAL:

happens when data is not loaded properly. because It says “empty set”. There are no records that match SELECT clause.

So, definitely finish the previous step “prepare data and table” without any error message. Then, it will be fine :)

from sysbench-tpcc.

seungwonlee0603 avatar seungwonlee0603 commented on July 29, 2024

yeah, if anyone is having this issue, make sure your command options are as same as the prepare stage, and set the time big enough.

from sysbench-tpcc.

littlexsparkee avatar littlexsparkee commented on July 29, 2024

@seungwonlee0603
Why is the time parameter relevant to receiving an error or not? Maybe I'm missing something but I'd expect any length of time to work

from sysbench-tpcc.

vadimtk avatar vadimtk commented on July 29, 2024

I just faced this error myself.
The reason was long running transactions, it should be fixed by setting con:query("SET autocommit=1") when loading data

from sysbench-tpcc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.