Skip to content

Index is too large #437

Answered by prabhatsharma
wanxings asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wanxings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants