OptionaltierPerformance tier preset.
OptionalcacheEnable query result caching.
When enabled, identical SELECT queries return cached results until the cache TTL expires or cache is invalidated.
OptionalcacheCache time-to-live in milliseconds.
After this duration, cached query results are considered stale and will be re-fetched on next access.
OptionalcacheMaximum number of cached query results.
When exceeded, least-recently-used entries are evicted.
OptionalbatchEnable write batching.
When enabled, write operations (INSERT, UPDATE, DELETE) are collected and executed in batches to reduce I/O operations.
OptionalbatchBatch flush interval in milliseconds.
Accumulated writes are flushed after this interval.
OptionalbatchMaximum batch size before auto-flush.
When batch reaches this size, it is immediately flushed regardless of the flush interval.
OptionalvalidateValidate SQL statements before execution.
Performs basic syntax and injection checks.
OptionaltrackTrack performance metrics.
When enabled, the adapter tracks:
Retrieve metrics via adapter.getMetrics().
OptionalslowSlow query logging threshold in milliseconds.
Queries exceeding this duration are logged at warn level.
OptionalretryRetry operations on transient errors.
Transient errors include network timeouts, connection resets, and deadlocks.
OptionalmaxMaximum retry attempts.
OptionalretryDelay between retry attempts in milliseconds.
Uses exponential backoff: delay * 2^attempt.
Performance configuration options provided by users.
All fields are optional; unspecified fields use tier defaults.
Example: Override specific settings while using a tier