Status Parameters for prepared statements
Status Parameters for prepared statements
#define SQLITE_STMTSTATUS_FULLSCAN_STEP 1 #define SQLITE_STMTSTATUS_SORT 2 #define SQLITE_STMTSTATUS_AUTOINDEX 3 #define SQLITE_STMTSTATUS_VM_STEP 4
These preprocessor macros define integer codes that name counter values associated with the sqlite3_stmt_status() interface. The meanings of the various counters are as follows:
- SQLITE_STMTSTATUS_FULLSCAN_STEP
- This is the number of times that SQLite has stepped forward in a table as part of a full table scan. Large numbers for this counter may indicate opportunities for performance improvement through careful use of indices.
- SQLITE_STMTSTATUS_SORT
- This is the number of sort operations that have occurred. A non-zero value in this counter may indicate an opportunity to improvement performance through ca