mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Log PK index loading
This commit is contained in:
parent
3b0b42cbbb
commit
c66f71c795
@ -988,6 +988,8 @@ void IMergeTreeDataPart::loadIndex() const
|
|||||||
"{}, read: {})", index_path, marks_count, loaded_index[i]->size());
|
"{}, read: {})", index_path, marks_count, loaded_index[i]->size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG_TEST(storage.log, "Loaded primary key index for part {}, {} columns are kept in memory", name, key_size);
|
||||||
|
|
||||||
if (!index_file->eof())
|
if (!index_file->eof())
|
||||||
throw Exception(ErrorCodes::EXPECTED_END_OF_FILE, "Index file {} is unexpectedly long", index_path);
|
throw Exception(ErrorCodes::EXPECTED_END_OF_FILE, "Index file {} is unexpectedly long", index_path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user