Configuring an External Dictionary

If dictionary is configured using xml file, than dictionary configuration has the following structure:

  1. <dictionary>
  2. <name>dict_name</name>
  3. <structure>
  4. <!-- Complex key configuration -->
  5. </structure>
  6. <source>
  7. <!-- Source configuration -->
  8. </source>
  9. <layout>
  10. <!-- Memory layout configuration -->
  11. </layout>
  12. <lifetime>
  13. <!-- Lifetime of dictionary in memory -->
  14. </lifetime>
  15. </dictionary>

Corresponding DDL-query has the following structure:

  1. CREATE DICTIONARY dict_name
  2. (
  3. ... -- attributes
  4. )
  5. PRIMARY KEY ... -- complex or single key configuration
  6. SOURCE(...) -- Source configuration
  7. LAYOUT(...) -- Memory layout configuration
  8. LIFETIME(...) -- Lifetime of dictionary in memory
  • 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