此内容没有您所选择的语言版本。
Chapter 6. Cache Store performance
In order to achieve the best performance, please follow the recommendations below when using Cache Stores:
- Use async mode (write-behind) if possible
- Prevent cache misses by preloading data
For JDBC Cache Store:
-
Use indexes on
idcolumn to prevent table scans -
Use PRIMARY_KEY on
idcolumn - Configure batch-size, fetch-size, etc
-
Use indexes on