Giter Club home page Giter Club logo

Comments (7)

davidducos avatar davidducos commented on June 10, 2024

Hi @midenok,

I assigned this to you as you implemented this feature request. You might be able to explain the performance degradation.

from mydumper.

midenok avatar midenok commented on June 10, 2024

The above example has only one index, integer key. Defer cannot help here, but OTOH has negative performance impact due to extra queuing. Maybe it should be disabled by default and enabled only by command line option.

from mydumper.

davidducos avatar davidducos commented on June 10, 2024

@midenok, Can you explain in which cases it will be useful?
I'm thinking to automatically set some variables like --rows, and this might be one of them.

from mydumper.

midenok avatar midenok commented on June 10, 2024

I hope commit message explains it:

    Improve mydumper parallelism: integer sharding deferrer

    Integer PK is the only PK that allows parallelized sharding on
    mydumper. Non-integer PK tables utilize only one thread per table and
    if they are going in the end such tables cause some worker threads to
    be idle. To mitigate such cases we enqueue integer tables only after
    all non-integer tables processed.

from mydumper.

davidducos avatar davidducos commented on June 10, 2024

Hi @midenok, what you are explaining is not what I saw. I ended up in a scenario where a integer pk was being split by a fixed amount of rows.

from mydumper.

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.