Giter VIP home page Giter VIP logo

Comments (3)

jensenojs avatar jensenojs commented on May 29, 2024

经由旭哥提醒, 这个东西的优化场景是这样的

比如一次插入100W行,一个batch是10W,目前就一次去重. 但是这一百万里面如果只有一个auto-pk有值的填充, 那也会给整个auto-pk开启去重. 剩余的所有数据的去重都是没有必要的. 用这个参数的话就可以直接报错了.

from matrixone.

jensenojs avatar jensenojs commented on May 29, 2024

还没开始做, 相关issue

from matrixone.

jensenojs avatar jensenojs commented on May 29, 2024

目前没有tbl-level config的支持, 已经建立了issue 跟踪

先用DB-level config顶一下, call it uniqeness_check_on_autoincr, 它有几个配置项, 对于本场景下

  • check : do dup check
  • none : don't do dup check
  • error : if user insert with a supplied value, fail the insert

from matrixone.

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.