Following is the definition of the
mco_cc_info_tstructure used to obtain information about this class generated by the calculator:nobjsThe number of these objects in the database.pages_minThe minimum number of pages objects of this class will use.pages_curThe current number of pages objects of this class use.pages_maxThe maximum number of pages objects of this class will use.bytes_curThe current amount of memory objects of this class use.bytes_minThe minimum amount of memory objects of this class will use.bytes_maxThe maximum amount of memory objects of this class will use.nvecsThe number of vectors in this class.nstrsThe number of strings in this class.nblobsThe number of BLOBs in this class.is_persTrue if this class is persistent.(See function
mco_calc_get_class_info()and the Database Calculator Callback Handlers for examples of use of this structure).The Database Calculator is controlled by the
mco_calc_tstructure which is defined as follows inmcodbcalc.h:dbThe database handle of the database to be calculated.clsThe list of registered classes.nclsThe number of registered classes.dictThe database dictionary.oid_valUsed to create OID values during execution ofmco_calc_fill_db().pg_sizeThe database page size.opsThe calculated optimal page size.total_pgsThe total number of database pages.free_pgsThe total number of free pages.dslA structure containing the lengths of dynamic fields (see below).The element
mco_calc_t.dslis a structure containing the minimum and maximum lengths of dynamic fields. It is defined as follows:v_lminMinimum length of vector fields.v_lmaxMaximum length of vector fields.s_lminMinimum length of string fields.s_lmaxMaximum length of string fields.b_lminMinimum length of BLOB fields.b_lmaxMaximum length of BLOB fields.