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)
- build problem on ubuntu,v23.5.1.3174-stable,submodule build error HOT 2
- Logs populated by `DNSCacheUpdater: IPs of some hosts have been changed. Will reload cluster config` HOT 1
- [RFC] Freezing python packages HOT 3
- Logical error: 'mutation_pointer < it->second->entry->znode_name'. HOT 1
- Variant: runtime error: load of value 808482864, which is not a valid value for type Types::Which
- WITH TOTALS triggers CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN
- Inserting into a table does not work if the material view that looks at this table is not deleted HOT 6
- Materialized Views with Recursive Queries
- Kafka Engine improvements RFC HOT 1
- ALTER DELETE with skip index on where clause not longer pruning parts HOT 5
- Add virtual columns `_etag`, `_last_modified`, `_storage_class` for `S3` storage. HOT 3
- Which table engine to use? HOT 1
- Unexpected result when comparing `IN` expression and integer
- Replica table stuck in read-only (after I manually edited files on disk) HOT 2
- JOIN on parameterized view fails with UNKNOWN_IDENTIFIER
- Parameter out of bound in IColumnString::insertRangeFrom (03036_dynamic_read_subcolumns)
- An option to place objects in breadth-first order for `plain` and `plain_rewritable` metadata engines
- Tests are using table names that are not supported HOT 1
- Segfault in `DB::IMergeTreeDataPart::getIndexSizeInBytes()` during `ServerAsynchronousMetrics::updateImpl`
- pagination/streaming support in Clickhouse Grafana plugin HOT 3
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.