Giter Club home page Giter Club logo

Comments (6)

jsding avatar jsding commented on July 19, 2024

出现252后面,就会大量的出现

[E] saving msg error code: 202, message: Too many simultaneous queries. Maximum: 100 will loop to write the data

from clickhouse_sinker.

sundy-li avatar sundy-li commented on July 19, 2024

使用clickhouse_sinker,大量的
[E] saving msg error code: 252, message: Too many parts (300). Merges are processing significantly slower than inserts. will loop to write the data
错误。

请问如何解决?

这个是你插入太多碎片导致了,比如分区设计不合理,一批数据过小等

from clickhouse_sinker.

sundy-li avatar sundy-li commented on July 19, 2024

后面202 是循环插入 导致的, 这个我会fix下, 设置一个最大重试次数

from clickhouse_sinker.

jsding avatar jsding commented on July 19, 2024

多谢,

我使用clickhouse_sinker来同步kafka的数据到clickhouse,对于流量比较高的topics就很正常(2000/s),但有些topics数据量比较少就会出现错误,可能设计个最低的缓存量,再一起批量写到clickhouse里?

from clickhouse_sinker.

sundy-li avatar sundy-li commented on July 19, 2024

多谢,

我使用clickhouse_sinker来同步kafka的数据到clickhouse,对于流量比较高的topics就很正常(2000/s),但有些topics数据量比较少就会出现错误,可能设计个最低的缓存量,再一起批量写到clickhouse里?

hmm, 这个不好折中, 有的数据可能就是 非常少, 所以我这里提供了2个参数
flushInterval, bufferSize 可以到task级别去设置, 调大对应的参数

from clickhouse_sinker.

sundy-li avatar sundy-li commented on July 19, 2024

不过,自由度还是交给用户好,所以我加入了 minBufferSize, 这个配置下 buffer太小 不会受到 flushInterval 影响

from clickhouse_sinker.

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.