Optimize data push and search query performance in OpenSearch by applying batch operations and reducing document retrieval counts.
API and SDK data pushes are subject to frequency and size limits. Package documents into batches before sending them. Automatic data synchronization through ApsaraDB RDS is also subject to TPS and data size limits. For more information, see Data Push.
Search query performance depends on the number of documents retrieved. More retrieved documents require more computation and increase response time. To optimize performance, reduce the number of documents your query retrieves. For more information, see Search and parse query results.