GithubHelp home page GithubHelp logo

Comments (5)

UnamedRus avatar UnamedRus commented on June 29, 2024

After I upgraded from 23.12 to 24.5, the same mutation is rewriting every part of the table, like if no parts pruning based on the filter happens anymore. This is a total blocker for us as delete mutations are made unusable by this new behaviour.

Technically, it always worked in such way.
Maybe, this degradation have other reason/explanation.
#59225 (comment)

from clickhouse.

arnaudbriche avatar arnaudbriche commented on June 29, 2024

When I looked in the system.part_log table, I observed that prior to 2024.3, most entries generated by the mutation had read_rows = 0, while after the upgrade the number was never 0 anymore.

from clickhouse.

arnaudbriche avatar arnaudbriche commented on June 29, 2024

I found out in previous issues that parts that where pruned by the where clause are supposed to be renamed only.
This behaviour is consistent with the previous perf characteristics I used to observe for this mutation.

#12188

from clickhouse.

SaltTan avatar SaltTan commented on June 29, 2024

What about SELECTs? Is the index used?

explain indexes=1
SELECT count() from evm_blocks_ethereum_mainnet  
WHERE block_number > <SOME_RECENT_BLOCK_NUMBER>

from clickhouse.

arnaudbriche avatar arnaudbriche commented on June 29, 2024

Unfortunately I cannot test your query by now because I downgraded the nodes to 24.2.

But the following query ran in low milliseconds so I am confident that the index is actually used.

select
    max(block_number)
from evm_blocks_ethereum_mainnet
settings max_threads=1

from 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.