Calculator

In addition to the runtime statistics, eXtremeDB provides the possibility of obtaining runtime information about any database class, including the memory that will be used by that class at runtime, its indexes and the size of dynamic objects. This information allows applications to optimize schema designs, choose the optimal page sizes and other storage and performance parameters. The following APIs manage the Database Calculator:

mco_calc_init Initialize the calculator
mco_calc_deinit Release the calculator resources
mco_calc_reg_schema_classes Register the classes enumerated in the database schema
mco_calc_register_classes Registers the specified classes
mco_calc_class_reg Registers a class with the specified parameters
mco_calc_class_add Registers the specified class
mco_calc_fill_db Fill the database with objects of the registered classes
mco_calc_stat_collect Collect memory statistics for the registered classes
mco_calc_get_class_info Collects memory statistics for the specified class
mco_calc_cinfo_browse Browse through the calculator classes
mco_calc_iinfo_browse Browse through the calculator indexes

Related Topics Link IconRelated Topics