We perform a repair on a weekly basis.
at the beginning, it took 3 hours to repair
but the more data we had and the more time it took
Now it takes something like 20h to repair.
I found that creating an artificial partition key to restrict the totall range will reduce the repair for each table by at least a factor 2 or 3.
For example,
table A1 {
id
PRIMARY KEY (id)
};
table A2 {
cursor // the artificial partition key, calculated according to id manually, the range is restricted 0-7
id
PRIMARY KEY (cursor, id)
};
Why "creating an artificial partition key to restrict the totall range will reduce the repair for each table by at least a factor 2 or 3"?
Any insights would be much appreciated!