Giter VIP home page Giter VIP logo

Comments (5)

lomik avatar lomik commented on August 15, 2024

I would suggest to try another way first. You can send series list as attached file as described here https://clickhouse.yandex/docs/en/single/#external-data-for-query-processing . I want to try it for a long time but there is not enough time

Usually it is enough to increase this parameter through the settings

[clickhouse]
url = "http://graphite:qwerty@localhost:8123/?max_query_size=2097152&max_ast_elements=1000000&readonly=2&log_queries=1"

from graphite-clickhouse.

Felixoid avatar Felixoid commented on August 15, 2024

AFAIK, it's forbidden to change settings for users with readonly=1 in CH. So, if anybody does have real readonly user, it won't work

UPD: I've tested and max_query_size=2097152 surprisingly works for user with readonly=1

UPD2: No, with readonly=1 it's indeed impossible:
{"error": "clickhouse response status 500: Code: 164, e.displayText() = DB::Exception: Cannot modify 'max_query_size' setting in readonly mode (version 19.13.3.26 (official build))\n"}

from graphite-clickhouse.

Felixoid avatar Felixoid commented on August 15, 2024

Thank you for the suggestion of using external tables, I'll try to implement it.

from graphite-clickhouse.

Hipska avatar Hipska commented on August 15, 2024

I think this issue could also be solved when #22 get's resolved. Or at least this issue might become irrelevant.

from graphite-clickhouse.

Felixoid avatar Felixoid commented on August 15, 2024

PoC is ready in the PR, you are very welcome to try it out

from graphite-clickhouse.

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.