|
Lightweight 0.20260921.0
|
Cumulative counters, primarily for tests and diagnostics. More...
#include <SqlPreparedStatementCache.hpp>
Public Attributes | |
| uint64_t | hits {} |
| Prepare requests served from the pool, i.e. reusing a handle the server already prepared. | |
| uint64_t | misses {} |
Prepare requests that had to issue SQLPrepare. | |
| uint64_t | evictions {} |
| Pooled handles freed because the capacity bound was exceeded. | |
| uint64_t | directReuses {} |
Cumulative counters, primarily for tests and diagnostics.
Definition at line 73 of file SqlPreparedStatementCache.hpp.
| uint64_t Lightweight::SqlPreparedStatementCache::Statistics::hits {} |
Prepare requests served from the pool, i.e. reusing a handle the server already prepared.
Definition at line 76 of file SqlPreparedStatementCache.hpp.
| uint64_t Lightweight::SqlPreparedStatementCache::Statistics::misses {} |
Prepare requests that had to issue SQLPrepare.
Definition at line 79 of file SqlPreparedStatementCache.hpp.
| uint64_t Lightweight::SqlPreparedStatementCache::Statistics::evictions {} |
Pooled handles freed because the capacity bound was exceeded.
Definition at line 82 of file SqlPreparedStatementCache.hpp.
| uint64_t Lightweight::SqlPreparedStatementCache::Statistics::directReuses {} |
Prepare requests a statement served from the handle it was already holding, i.e. a repeat of the query text it last prepared. Like a hit these cost no SQLPrepare, but they never touch the pool: parking the handle only to look that same text back up would be pure overhead.
Definition at line 87 of file SqlPreparedStatementCache.hpp.
Referenced by Lightweight::SqlPreparedStatementCache::RecordDirectReuse().