DT
Size: a a a
DT
AZ
DT
AP
sudo find /var/lib/clickhouse/metadata -name "*.sql" | xargs grep 'UUID DEFAULT'
AP
AP
AK
select * from system.metrics;
Number of sessions (connections) to ZooKeeper. Should be no more than one, because using more than one connection to ZooKeeper may lead to bugs due to lack of linearizability (stale reads) that ZooKeeper consistency model allows.
<zookeeper>
<node>
<host>10.X.X.2</host>
<port>2181</port>
</node>
<node>
<host>10.X.X.3</host>
<port>2181</port>
</node>
<node>
<host>10.X.X.4</host>
<port>2181</port>
</node>
<node>
<host>10.X.X.5</host>
<port>2181</port>
</node>
<node>
<host>10.X.X.6</host>
<port>2181</port>
</node>
<session_timeout_ms>30000</session_timeout_ms>
</zookeeper>
DT
sudo find /var/lib/clickhouse/metadata -name "*.sql" | xargs grep 'UUID DEFAULT'
AP
AZ
AP
sudo find /var/lib/clickhouse/metadata -name "*.sql" | xargs grep UUID | grep DEFAULT
AZ
click_transaction_id
UUID DEFAULT toUUID(0) COMMENT 'Click Transaction ID for Conversion',DT
click_transaction_id
UUID DEFAULT toUUID(0) COMMENT 'Click Transaction ID for Conversion',AP
DT
AZ
DT
AZ
M
select cast(toUUID(0), ‘UUID’)
- будет работать ? просто инттересноDT