I need to reload data for the last day in ClickHouse. My idea is to delete rows for the last day using ALTER TABLE DELETE statement and then insert the updated rows.
I've already found in the documentation: "Mutations are also partially ordered with INSERT INTO queries: data that was inserted into the table before the mutation was submitted will be mutated and data that was inserted after that will not be mutated." But I don't understand this sentence. So should I wait for the asynchronous delete process to end before I start doing my inserts or is it fine to start inserting right away? It's interesting to know the answer for both cases with replication and without.