DatabaseConnectionStatusCode Enumeration |
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public enum DatabaseConnectionStatusCode
type DatabaseConnectionStatusCode
Members
| Member name | Value | Description |
---|
| LookAsideUsed | 0 |
This parameter returns the number of lookaside memory slots currently checked out.
|
| CacheUsed | 1 |
This parameter returns the approximate number of bytes of heap memory used by
all pager caches associated with the database connection. The highwater mark
associated with SQLITE_DBSTATUS_CACHE_USED is always 0.
|
| SchemaUsed | 2 |
This parameter returns the approximate number of bytes of heap memory used
to store the schema for all databases associated with the connection - main,
temp, and any ATTACH-ed databases. The full amount of memory used by the
schemas is reported, even if the schema memory is shared with other database
connections due to shared cache mode being enabled. The highwater mark associated
with SQLITE_DBSTATUS_SCHEMA_USED is always 0.
|
| StatementUsed | 3 |
This parameter returns the approximate number of bytes of heap and lookaside
memory used by all prepared statements associated with the database connection.
The highwater mark associated with SQLITE_DBSTATUS_STMT_USED is always 0.
|
| LookAsideHit | 4 |
This parameter returns the number malloc attempts that were satisfied using
lookaside memory. Only the high-water value is meaningful; the current value is always zero.
|
| LookAsideMissSize | 5 |
This parameter returns the number malloc attempts that might have been satisfied
using lookaside memory but failed due to the amount of memory requested being larger
than the lookaside slot size. Only the high-water value is meaningful; the current
value is always zero.
|
| LookAsideMissFull | 6 |
This parameter returns the number malloc attempts that might have been satisfied
using lookaside memory but failed due to all lookaside memory already being in use.
Only the high-water value is meaningful; the current value is always zero.
|
| CacheMiss | 8 |
This parameter returns the number of pager cache misses that have occurred.
The highwater mark associated with SQLITE_DBSTATUS_CACHE_MISS is always 0.
|
| CacheWrite | 9 |
This parameter returns the number of dirty cache entries that have been written
to disk. Specifically, the number of pages written to the wal file in wal mode
databases, or the number of pages written to the database file in rollback mode
databases. Any pages written as part of transaction rollback or database recovery
operations are not included. If an IO or other error occurs while writing a page
to disk, the effect on subsequent SQLITE_DBSTATUS_CACHE_WRITE requests is undefined.
The highwater mark associated with SQLITE_DBSTATUS_CACHE_WRITE is always 0.
|
| DeferedFKS | 10 |
This parameter returns zero for the current value if and only if all foreign key
constraints (deferred or immediate) have been resolved. The highwater mark is always 0.
|
See Also