2021-03-14 08:35:07 +00:00
|
|
|
<?xml version="1.0"?>
|
2021-09-19 22:38:53 +00:00
|
|
|
<clickhouse>
|
2021-03-14 08:35:07 +00:00
|
|
|
<dictionary>
|
|
|
|
<name>dict0</name>
|
|
|
|
<source>
|
|
|
|
<postgresql>
|
|
|
|
<db>clickhouse</db>
|
|
|
|
<host>postgres1</host>
|
|
|
|
<port>5432</port>
|
|
|
|
<user>postgres</user>
|
|
|
|
<password>mysecretpassword</password>
|
|
|
|
<table>test0</table>
|
|
|
|
<invalidate_query>SELECT value FROM test0 WHERE id = 0</invalidate_query>
|
|
|
|
</postgresql>
|
|
|
|
</source>
|
|
|
|
<layout>
|
|
|
|
<hashed/>
|
|
|
|
</layout>
|
|
|
|
<structure>
|
|
|
|
<id>
|
|
|
|
<name>id</name>
|
2021-08-17 13:33:30 +00:00
|
|
|
<!--<type>UInt32</type>-->
|
2021-03-14 08:35:07 +00:00
|
|
|
</id>
|
|
|
|
<attribute>
|
2021-08-17 13:33:30 +00:00
|
|
|
<name>key</name>
|
2021-03-14 08:35:07 +00:00
|
|
|
<type>UInt32</type>
|
|
|
|
<null_value></null_value>
|
|
|
|
</attribute>
|
|
|
|
<attribute>
|
|
|
|
<name>value</name>
|
|
|
|
<type>UInt32</type>
|
|
|
|
<null_value></null_value>
|
|
|
|
</attribute>
|
|
|
|
</structure>
|
|
|
|
<lifetime>1</lifetime>
|
|
|
|
</dictionary>
|
|
|
|
<dictionary>
|
|
|
|
<name>dict1</name>
|
|
|
|
<source>
|
|
|
|
<postgresql>
|
|
|
|
<db>clickhouse</db>
|
|
|
|
<user>postgres</user>
|
|
|
|
<password>mysecretpassword</password>
|
|
|
|
<table>test1</table>
|
|
|
|
<replica>
|
|
|
|
<host>postgres1</host>
|
|
|
|
<priority>3</priority>
|
|
|
|
<port>5432</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>postgres2</host>
|
|
|
|
<port>5433</port>
|
|
|
|
<priority>1</priority>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>postgres2</host>
|
|
|
|
<port>5432</port>
|
|
|
|
<priority>2</priority>
|
|
|
|
</replica>
|
|
|
|
</postgresql>
|
|
|
|
</source>
|
|
|
|
<layout>
|
|
|
|
<hashed/>
|
|
|
|
</layout>
|
|
|
|
<structure>
|
|
|
|
<id>
|
|
|
|
<name>id</name>
|
2021-08-17 13:33:30 +00:00
|
|
|
<!--<type>UInt32</type>-->
|
2021-03-14 08:35:07 +00:00
|
|
|
</id>
|
|
|
|
<attribute>
|
2021-08-17 13:33:30 +00:00
|
|
|
<name>key</name>
|
2021-03-14 08:35:07 +00:00
|
|
|
<type>UInt32</type>
|
|
|
|
<null_value></null_value>
|
|
|
|
</attribute>
|
|
|
|
<attribute>
|
|
|
|
<name>value</name>
|
|
|
|
<type>UInt32</type>
|
|
|
|
<null_value></null_value>
|
|
|
|
</attribute>
|
|
|
|
</structure>
|
|
|
|
<lifetime>1</lifetime>
|
|
|
|
</dictionary>
|
2021-09-19 22:38:53 +00:00
|
|
|
</clickhouse>
|