Reputation: 460
I am currently gathering metrics from Clickhouse's system tables and when grabbing information from the system.parts table there are a bunch of columns listed that are not documented, can anyone help explain what the following columns represent:
I am specifically interested in knowing the primary key's index size, but am having trouble determining the difference between the two primary key columns above.
Upvotes: 1
Views: 899
Reputation: 46
Since index is stored in memory, it's expected that primary_key_bytes_in_memory_allocated >= primary_key_bytes_in_memory. It's connected with difference between capacity and size for standard containers.
Upvotes: 3