Index is too large #437
-
Beta Was this translation helpful? Give feedback.
Answered by
prabhatsharma
Aug 15, 2022
Replies: 1 comment
-
We us compression to reduce size of the indexes. We also use sharding to improve performance. We use 2 layers of sharding. The more shards you have, the higher the size will be. You can try reducing the size of the index by tuning the following environment variables. ZINC_SHARD_NUM=1 // For 1 GB default shard size. You can change it to 10 GB to reduce index size. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wanxings
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We us compression to reduce size of the indexes. We also use sharding to improve performance. We use 2 layers of sharding. The more shards you have, the higher the size will be. You can try reducing the size of the index by tuning the following environment variables.
ZINC_SHARD_NUM=1
// For 1 GB default shard size. You can change it to 10 GB to reduce index size.
ZINC_SHARD_MAX_SIZE=1073741824