Last updated：2020-12-28 14:51:02
The following factors determine the disk storage capacity of Kingsoft Cloud Elasticsearch Service (KES):
Based on the preceding factors, the minimum disk space is equal to the source data size multiplied by 3.6. The minimum disk space is calculated based on the following formula:
Disk space = Source data size × (1 + Number of replicas) × (1 + Index overheads)/(1 - Linux reserved space)/(1 - Internal task overheads)/(1 - Safety threshold) = Source data size × (1 + Number of replicas) × 1.8 = Source data size × 3.6
The size and number of shards greatly affect the stability and performance of a KES cluster. Each index in the KES cluster requires a proper shard plan. By default, five shards are planned for each index.
The computing resources of KES are mainly consumed by writes and queries. The complexity and proportions of writes and queries vary in different business scenarios. Therefore, it is more difficult to estimate computing resources than to estimate storage resources. We recommend that you first estimate the amount of storage resources and then preliminarily select computing resources. You can determine whether the computing resources are sufficient during testing.
We recommend that you first select at least three nodes to avoid split-brain and ensure high fault tolerance of the KES nodes.
After you preliminarily select the instance type, you can use practical data for testing. You can determine whether the instance type is appropriate by observing monitoring information such as the CPU usage, write performance, QPS, and rejected writes or queries. In addition, we recommend that you configure alarms for the monitoring information to identify resource shortage as soon as possible during online use.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.