dbcore
Vars | |
all_queries | All the current queries that exist. |
---|---|
all_queries_num | Number of all queries, reset to 0 when logged in SStime_track. Used by SStime_track |
processing_queries | Queries being checked for timeouts. |
queries_active | Queries currently being handled by database driver |
queries_active_num | Number of active queries, reset to 0 when logged in SStime_track. Used by SStime_track |
queries_standby | Queries pending execution, mapped to complete arguments |
queries_standby_num | Number of standby queries, reset to 0 when logged in SStime_track. Used by SStime_track |
shutting_down | We are in the process of shutting down and should not allow more DB connections |
Procs | |
QuerySelect | |
create_active_query | Helper proc for handling activating queued queries |
reset_tracking | Resets the tracking numbers on the subsystem. Used by SStime_track. |
Var Details
all_queries
All the current queries that exist.
all_queries_num
Number of all queries, reset to 0 when logged in SStime_track. Used by SStime_track
processing_queries
Queries being checked for timeouts.
queries_active
Queries currently being handled by database driver
queries_active_num
Number of active queries, reset to 0 when logged in SStime_track. Used by SStime_track
queries_standby
Queries pending execution, mapped to complete arguments
queries_standby_num
Number of standby queries, reset to 0 when logged in SStime_track. Used by SStime_track
shutting_down
We are in the process of shutting down and should not allow more DB connections
Proc Details
QuerySelect
- QuerySelect
Run a list of query datums in parallel, blocking until they all complete.
- queries - List of queries or single query datum to run.
- warn - Controls rather warn_execute() or Execute() is called.
- qdel - If you don't care about the result or checking for errors, you can have the queries be deleted afterwards. This can be combined with invoke_async as a way of running queries async without having to care about waiting for them to finish so they can be deleted.
create_active_query
Helper proc for handling activating queued queries
reset_tracking
Resets the tracking numbers on the subsystem. Used by SStime_track.