ITTIA DB SQL C API  5.4.0
db_api_statistics_t Struct Reference

#include <ittia/db.h>

Data Fields

int have_statistics
db_statitem_t db
db_statitem_t row
db_statitem_t cursor
db_statitem_t seq
db_statitem_t seqdef
db_statitem_t tabledef
db_statitem_t indexdef
db_statitem_t oid

Detailed Description

Count ITTIA DB C API handles opened by the application to measure resource usage and prevent leaks.

If an application closes handles correctly, db.cur_value, cursor.cur_value, and seq.cur_value should be zero when all storages are closed.

See also:
db_api_statistics, db_done_ex

Field Documentation

True when API statistics are available.

Some builds may not collect these statistics.

Number of database handles open.

See also:
db_t

Number of rows open.

See also:
db_row_t

Number of cursors open.

See also:
db_cursor_t

Number of sequences open.

See also:
db_sequence_t

Number of sequence definitions open.

See also:
db_seqdef_t

Number of table definitions open.

See also:
db_tabledef_t

Number of index definitions open.

See also:
db_indexdef_t

Number of object IDs open.

See also:
db_oid_t