feat(mito): Cache repeated vector for tags (#2523)

* feat: add vector_cache to CacheManager

* feat: cache repeated vectors

* feat: skip decoding pk if output doesn't contain tags

* test: add TestRegionMetadataBuilder

* test: test ProjectionMapper

* test: test vector cache

* test: test projection mapper convert

* style: fix clippy

* feat: do not cache vector if it is too large

* docs: update comment
This commit is contained in:
Yingwen
2023-10-07 19:36:00 +08:00
committed by GitHub
parent 0ad3fb6040
commit 657542c0b8
9 changed files with 379 additions and 69 deletions

View File

@@ -663,6 +663,7 @@ auto_flush_interval = "30m"
global_write_buffer_size = "1GiB"
global_write_buffer_reject_size = "2GiB"
sst_meta_cache_size = "128MiB"
vector_cache_size = "512MiB"
[[region_engine]]