class SQLite3::Statement
def stat key = nil
- +filter_hits+: the number of times that a join step was bypassed
a find, and thus the join step had to be processed as normal
- +filter_misses+: the number of times that the Bloom filter returned
- +runs+: the number of times that the prepared statement has been run
parameters that might affect the query plan
automatically regenerated due to schema changes or changes to bound
- +reprepares+: the number of times that the prepare statement has been
prepared statement
- +vm_steps+: the number of virtual machine operations executed by the
that were created automatically in order to help joins run faster
- +autoindexes+: the number of rows inserted into transient indices
- +sorts+: the number of sort operations that have occurred
in a table as part of a full table scan
- +fullscan_steps+: the number of times that SQLite has stepped forward
statistics about the statement such as:
the future without notice. The hash includes information about internal
The contents of the hash are implementation specific and may change in
Returns a Hash containing information about the statement.
def stat key = nil if key stat_for(key) else stats_as_hash end end