GithubHelp home page GithubHelp logo

benchmarksql_mysql's People

Contributors

irene-coming avatar

Watchers

 avatar  avatar

benchmarksql_mysql's Issues

TPC-C for DBLE

Hi,在 TPC-C 模型中的关联查询,可能需要涉及绑定表。
使用 DBLE 的版本为 Release 3.21.10.1
以下为大概的配置。
sharding.xml

<?xml version="1.0"?>
<dble:sharding xmlns:dble="http://dble.cloud/" version="4.0">
<schema name="dble">
    <singleTable name="bmsql_config" shardingNode="dn1" />
    <shardingTable name="bmsql_warehouse" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="w_id">
            <childTable name="bmsql_customer" joinColumn="c_w_id" parentColumn="w_id"/>
    </shardingTable>

    <shardingTable name="bmsql_district" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="d_w_id">
            <childTable name="bmsql_stock" joinColumn="s_w_id" parentColumn="d_w_id"/>
            <childTable name="bmsql_order_line" joinColumn="ol_w_id" parentColumn="d_w_id"/>
    </shardingTable>

    <shardingTable name="bmsql_customer" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="c_w_id">
            <childTable name="bmsql_warehouse" joinColumn="w_id" parentColumn="c_w_id"/>
    </shardingTable>
    <shardingTable name="bmsql_item" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="i_id" />
    <shardingTable name="bmsql_history" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="h_w_id" />
    <shardingTable name="bmsql_oorder" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="o_w_id" />
    <shardingTable name="bmsql_stock" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="s_w_id">
            <childTable name="bmsql_order_line" joinColumn="ol_w_id" parentColumn="s_w_id"/>
            <childTable name="bmsql_district" joinColumn="d_w_id" parentColumn="s_w_id"/>
    </shardingTable>
    <shardingTable name="bmsql_new_order" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="no_w_id" />
    <shardingTable name="bmsql_order_line" shardingNode="dn$1-2" function="hash-sysbench" shardingColumn="ol_w_id">
            <childTable name="bmsql_stock" joinColumn="s_w_id" parentColumn="ol_w_id"/>
            <childTable name="bmsql_district" joinColumn="d_w_id" parentColumn="ol_w_id"/>
    </shardingTable>
</schema>
<shardingNode name="dn1" dbGroup="host_1" database="dble" />
<shardingNode name="dn2" dbGroup="host_2" database="dble" />
<function name="hash-sysbench" class="Hash">
        <property name="partitionCount">2</property>
        <property name="partitionLength">1</property>
    </function>

</dble:sharding>

关于这个报错,能否提供些建议呢~
image
Best wishes!

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.