Comments (5)
I guess it's clickhouse server behavior. Check the docs
A mutation query returns immediately after the mutation entry is added (in case of replicated tables to ZooKeeper, for nonreplicated tables - to the filesystem). The mutation itself executes asynchronously using the system profile settings.
For *MergeTree tables mutations execute by rewriting whole data parts. There is no atomicity - parts are substituted for mutated parts as soon as they are ready and a SELECT query that started executing during a mutation will see data from parts that have already been mutated along with data from parts that have not been mutated yet.
from clickhouse.client.
Hi, I've checked - ALTER TABLE DELETE WHERE
query works well in my tests (see 302dc03), what is the issue you're having?
from clickhouse.client.
i check query
query work correctly. but run async with fast response.
in special scenario, duplicate data generated.
from clickhouse.client.
What do you mean, duplicate data? This is ALTER TABLE .... DELETE
query, how can it produce duplicate data? Do you have an example?
from clickhouse.client.
I'm sorry.
for example :
first delete 100000 record .
then insert new record with order key ,
in first step(delete 100000 record) await connection.ExecuteStatementAsync
response very fast ,
if call Thread.Sleep(10000)
and then insert new data , new data replace correctly in the table ,
but if remove Thread.Sleep(10000)
,new data add to exiting data and data duplicated.
from clickhouse.client.
Related Issues (20)
- cast object of type 'System.DateTime' to type 'System.DateOnly' HOT 3
- Which protocol does ClickHouse.Client use behind the scene
- Add way to set BulkCopy columns HOT 1
- Perform regression tests on all supported .NET platforms
- Password not being accepted by Clickhouse.Client HOT 1
- Nullable DateTime HOT 1
- ClickHouseConnectionFactory.Instace HOT 1
- Query optimization suggestion HOT 5
- ClickHouseBulkCopy zipstream got a low performance because not in parallel mode HOT 2
- Please consider providing a strong name for ClickHouse.Client HOT 2
- ClickHouseBulkCopy sends additional empty request if BatchSize equals to rows collection length HOT 2
- Writing dates before 01.01.1970 HOT 1
- RowsWritten Problem
- Insert data for nested type inside a nested type HOT 1
- DataTable.Load fails with System.InvalidCastException exception HOT 2
- Support for Brotli compression format HOT 1
- The cancellation token does not cancel the queue on ClickHouse. HOT 5
- New ClickHouse type HOT 1
- Readact Connection String in Tracing HOT 1
- How to use 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.client.