Comments (5)
I cannot make it work with 23.8.9.54 https://fiddle.clickhouse.com/eb6d35aa-2ac2-4695-a3d0-6c4bdb97be54
try set allow_experimental_analyzer=0;
with 24.3.3.102
from clickhouse.
Though, it throws exception with settings on the highest level https://fiddle.clickhouse.com/9d07b4d5-e42e-4441-91ce-ab60daeee26f , but it works as expected with the latest version too.
May be it's the same as
from clickhouse.
I cannot make it work with 23.8.9.54 https://fiddle.clickhouse.com/eb6d35aa-2ac2-4695-a3d0-6c4bdb97be54
try
set allow_experimental_analyzer=0;
with 24.3.3.102
Thank you for your reply. You're right, I have not been able to reproduce the problem in version 23.8. It might be caused by a different scenario leading to the current situation. My production environment has these parameters:
SETTINGS max_memory_usage = 5000000000, max_execution_time = 9, max_bytes_before_external_group_by = 2500000000, max_bytes_before_external_sort = 2500000000, distributed_aggregation_memory_efficient = 1
The memory consumption of routine queries remains at an acceptable level. However, after updating to 24.3, memory usage spiked sharply, almost OOM
Additionally, setting allow_experimental_analyzer=0 seems to have no effect.
from clickhouse.
Though, it throws exception with settings on the highest level https://fiddle.clickhouse.com/9d07b4d5-e42e-4441-91ce-ab60daeee26f , but it works as expected with the latest version too.
May be it's the same as
the highest level SETTINGS can take effect; I am aware of this. My current situation indeed seems to resemble the issue you mentioned. Are there any temporary methods to make the settings for subqueries effective?
from clickhouse.
I cannot make it work with 23.8.9.54 https://fiddle.clickhouse.com/eb6d35aa-2ac2-4695-a3d0-6c4bdb97be54
tryset allow_experimental_analyzer=0;
with 24.3.3.102Thank you for your reply. You're right, I have not been able to reproduce the problem in version 23.8. It might be caused by a different scenario leading to the current situation. My production environment has these parameters:
SETTINGS max_memory_usage = 5000000000, max_execution_time = 9, max_bytes_before_external_group_by = 2500000000, max_bytes_before_external_sort = 2500000000, distributed_aggregation_memory_efficient = 1
The memory consumption of routine queries remains at an acceptable level. However, after updating to 24.3, memory usage spiked sharply, almost OOMAdditionally, setting allow_experimental_analyzer=0 seems to have no effect.
The issue remains unresolved, but in order to make the external sorting for distinct on (a, b) * effective, I added the statement group by a, b,.... Now the memory can be limited within the specified range.
from clickhouse.
Related Issues (20)
- Broken formatting of PrettyMonoblock for DESCRIBE HOT 1
- system.detached_tables HOT 1
- IN with nullable tuples returns incorrect results HOT 6
- Random crashes after upgrade to 23.8.15 HOT 1
- Repm install, yum install, or start clickhouse-server error Segmentation fault HOT 2
- 23 -> 24 __table1.<column> query issue HOT 3
- CREATE TABLE with PostgreSQL table engine or postgresql table function results in zombie idle connections growth
- DBeaver & DataGrip --multiquery type usage HOT 1
- TTL TO VOlUME 'XXX' Unexpected behaviour HOT 3
- TTL wrap up around minimal date HOT 3
- A system.table_settings is wanted HOT 2
- implicit projections should work with monotonic functions
- Fuzzer: Convert plans into remote plans HOT 2
- Calculate `minmax` index from primary key columns HOT 3
- JSON formats: parse `new ISODate("2024-05-29T23:16:12.256Z")` as `DateTime64(3)`
- [RFC] Offload primary key after merge or mutation if lazy load is enabled and it is not loaded for source parts HOT 2
- Clickhouse OOM & big replication_queue size, it's something wrong or bug? HOT 1
- ClickHouse Cannot execute replicated DDL query, maximum retries exceeded HOT 2
- Type conversion error using same alias as primary key in nested subquery
- Add a changelog entry for users to skip upgrading to version 22.12 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clickhouse.