throwException("Too many parts ("+toString(parts_count_in_total)+") in all partitions in total. This indicates wrong choice of partition key. The threshold can be modified with 'max_parts_in_total' setting in <merge_tree> element in config.xml or with per-table setting.",ErrorCodes::TOO_MANY_PARTS);
throwException("Too many parts ("+toString(parts_count)+"). Merges are processing significantly slower than inserts.",ErrorCodes::TOO_MANY_PARTS);
throwException("Too many parts ("+toString(parts_count_in_partition)+"). Merges are processing significantly slower than inserts.",ErrorCodes::TOO_MANY_PARTS);
throwException("Too many parts ("+toString(parts_count_in_total)+") in all partitions in total. This indicates wrong choice of partition key. The threshold can be modified with 'max_parts_in_total' setting in <merge_tree> element in config.xml or with per-table setting.",ErrorCodes::TOO_MANY_PARTS);
throwException("Too many parts ("+toString(parts_count)+"). Merges are processing significantly slower than inserts.",ErrorCodes::TOO_MANY_PARTS);
throwException("Too many parts ("+toString(parts_count_in_partition)+"). Merges are processing significantly slower than inserts.",ErrorCodes::TOO_MANY_PARTS);
@@ -36,9 +36,10 @@ struct MergeTreeSettings : public SettingsCollection<MergeTreeSettings>
M(SettingSeconds, temporary_directories_lifetime, 86400, "How many seconds to keep tmp_-directories.") \
\
/** Inserts settings. */ \
M(SettingUInt64, parts_to_delay_insert, 150, "If table contains at least that many active parts, artificially slow down insert into table.") \
M(SettingUInt64, parts_to_throw_insert, 300, "If more than this number active parts, throw 'Too many parts ...' exception.") \
M(SettingUInt64, max_delay_to_insert, 1, "Max delay of inserting data into MergeTree table in seconds, if there are a lot of unmerged parts.") \
M(SettingUInt64, parts_to_delay_insert, 150, "If table contains at least that many active parts in single partition, artificially slow down insert into table.") \
M(SettingUInt64, parts_to_throw_insert, 300, "If more than this number active parts in single partition, throw 'Too many parts ...' exception.") \
M(SettingUInt64, max_delay_to_insert, 1, "Max delay of inserting data into MergeTree table in seconds, if there are a lot of unmerged parts in single partition.") \
M(SettingUInt64, max_parts_in_total, 100000, "If more than this number active parts in all partitions in total, throw 'Too many parts ...' exception.") \
\
/** Replication settings. */ \
M(SettingUInt64, replicated_deduplication_window, 100, "How many last blocks of hashes should be kept in ZooKeeper (old blocks will be deleted).") \