ClickHouse/docs/en/query_language/dicts
Azat Khuzhin 420089c301
Add new dictionary layout (sparse_hashed) that is more memory efficient
With this new layout, sparsehash will be used over default HashMap,
sparsehash is more memory efficient but it is also slower.

So in a nutshell:
- HashMap uses ~2x more memory then sparse_hash_map
- HashMap ~2-2.5x faster then sparse_hash_map
(tested on lots of input, and the most close to production was
dictionary with 600KK hashes and UInt16 as value)

TODO:
- fix allocated memory calculation
- getBufferSizeInBytes/getBufferSizeInCells interface
- benchmarks

v0: replace HashMap with google::sparse_hash_map
v2: use google::sparse_hash_map only when <sparse> isset to true
v3: replace attributes with different layout
v4: use ch hash over std::hash
2019-09-21 02:22:40 +03:00
..
external_dicts_dict_layout.md Add new dictionary layout (sparse_hashed) that is more memory efficient 2019-09-21 02:22:40 +03:00
external_dicts_dict_lifetime.md Doc fixes: remove double placeholders; add them where missing. (#3923) 2018-12-25 18:25:43 +03:00
external_dicts_dict_sources.md DOCAPI-6183: JOIN syntax limitations. (#5424) 2019-06-04 22:50:24 +03:00
external_dicts_dict_structure.md DOCAPI-3911: EN review and RU translation for external dicts docs. (#6032) 2019-07-26 08:49:26 +03:00
external_dicts_dict.md Doc fixes: remove all anchors <a> (#3897) 2018-12-21 22:23:55 +03:00
external_dicts.md DOCAPI-6889: External dictionaries functions docs update. (#5556) 2019-06-14 17:27:25 +03:00
index.md WIP on docs (#3860) 2018-12-18 14:32:08 +03:00
internal_dicts.md Doc fixes: remove all anchors <a> (#3897) 2018-12-21 22:23:55 +03:00