The number of processed SQL statements is not reported anywhere. We should add a new field to box.stat for them (STATEMENT?), otherwise it's difficult to figure out what's going on with the database.
Also, all basic write operations executed by an SQL statement are accounted in box.stat (see DELETE, INSERT, REPLACE, UPDATE), but read operations (SELECT) are not. We should account those too, for consistency.
Accounting the total number of SQL statements is not of much use. DML, queries and DDL statements should be accounted separately at least. Let's add box.stat.sql() with a separate table of SQL stats.
The number of processed SQL statements is not reported anywhere. We should add a new field to
box.stat
for them (STATEMENT
?), otherwise it's difficult to figure out what's going on with the database.Also, all basic write operations executed by an SQL statement are accounted in
box.stat
(seeDELETE
,INSERT
,REPLACE
,UPDATE
), but read operations (SELECT
) are not. We should account those too, for consistency.