Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
Best Practices
On this page
Here are some best practices to manage performance tradeoffs between transactions and analytics using SingleStore Kai.
Create Indexes
To improve query performance, SingleStore recommends creating indexes on the collections.
Faster Transactions (But Lower Resilience)
SingleStore enables retryWrites by default, which provides higher resilience against network errors.retryWrites setting will improve latency for write operations, but the application might need to manually handle errors due to transient network conditions.
"mongodb://<user>:<password>@svc-XXXX.svc.singlestore.com:27017/?retryWrites=false&authMechanism=PLAIN&tls=true&loadBalanced=true"
SingleStore recommends leaving retryWrites enabled for ingesting data.
Last modified: