ClickHouse/docs/en/query_language/dicts/external_dicts_dict.md
ogorbacheva 06aa03f1a7 Doc fixes: remove all anchors <a> (#3897)
* Doc fixes: rm anchors <a>

* Doc fixes: rm anchors <a>

* Doc fixes: fix links

* Doc fixes: fix the links
2018-12-21 22:23:55 +03:00

1.0 KiB
Raw Blame History

Configuring an External Dictionary

The dictionary configuration has the following structure:

<dictionary>
    <name>dict_name</name>

    <source>
      <!-- Source configuration -->
    </source>

    <layout>
      <!-- Memory layout configuration -->
    </layout>

    <structure>
      <!-- Complex key configuration -->
    </structure>

    <lifetime>
      <!-- Lifetime of dictionary in memory -->
    </lifetime>
</dictionary>
  • name The identifier that can be used to access the dictionary. Use the characters [a-zA-Z0-9_\-].
  • source — Source of the dictionary.
  • layout — Dictionary layout in memory.
  • structure — Structure of the dictionary . A key and attributes that can be retrieved by this key.
  • lifetime — Frequency of dictionary updates.

Original article