DC
и где он блок хранит? на диске?
Size: a a a
DC
DC
DC
DC
TU
events_importanceитоговое число записей одинаковое, но распределение совершенно разное
┌─count─┬───────────────start─┐
│ 194 │ 2021-02-02 06:00:00 │
│ 7 │ 2021-02-02 04:00:00 │
└───────┴─────────────────────┘
events_importance после пересоздания
┌─count─┬───────────────start─┐
│ 122 │ 2021-02-02 10:00:00 │
│ 16 │ 2021-02-02 08:00:00 │
│ 10 │ 2021-02-02 07:00:00 │
│ 12 │ 2021-02-02 06:00:00 │
│ 21 │ 2021-02-02 04:00:00 │
│ 8 │ 2021-02-02 03:00:00 │
│ 4 │ 2021-02-02 02:00:00 │
│ 4 │ 2021-02-02 01:00:00 │
│ 4 │ 2021-02-02 00:00:00 │
└───────┴─────────────────────┘
TU
SELECT
countState() AS count,
toStartOfMinute(toDateTime(time)) AS time,
importance,
toDate(time) AS _date
FROM events
GROUP BY time, importance
MP
❌
DB::Exception: Suspiciously many (152) broken parts to remove.: Cannot attach table
. правильно я понимаю, что я могу эти куски <Warning> DB.TABLE: Detaching stale part /var/lib/clickhouse/data/DB/TABLE/610766fc0a3e72b7376196f9f9251b7a_1024111_1024332_7_1024651, which should have been deleted after a move. That can only happen after unclean restart of ClickHouse after move of a part having an operation blocking that stale copy of part.
перетащить в другую папку?SP
SP
СГ
C
AP
SP
RK
RK
RK
RK
RK
DC