OpenSearch Performance Tuning: Refresh Intervals, Bulk Sizing, and Shard Analysis
· 6 min read
Getting good write throughput from OpenSearch requires understanding three things: the refresh cycle, translog durability, and shard sizing. This post benchmarks bulk indexing with default and tuned settings on a live OpenSearch 2.19.1 cluster managed by FoundryDB. The cluster is a single-node tier-2 (2 CPU, 4 GB RAM), which is the smallest configuration available. Numbers from larger nodes will be better, but the ratios between default and tuned settings hold.
All commands use YOUR_OPENSEARCH_HOST and YOUR_PASSWORD as placeholders.