Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
SYNTAX
 
xpfGetModelProperties(modelId         : GENERIC;
                      options         : INTEGER)
                      modelProperties : SET OF STRING
 
The purpose of this function is to retrieve model properties that is only stored in EDM internal tables and not in an instance/object. Hence, this function is the only means for an (XPX) application to retrieve this information.
 
The following properties is always returned:
 
MAX_INSTANCEIDS 
USED_INSTANCEIDS 
LOST_INSTANCEIDSMAX_DATASIZE USED_DATASIZE USED_DISKSPACE 
EDMFILES   i.e., number of EDMfiles in model
DISKSPACE_USED_BY_EDMFILES
 
When the option xpxLONG_FORM is enabled the following properties is additionaly returned:
AGGREGATES       i.e., number of aggregates in modelCONTINUOUS_FREE_DATASIZE 
FRAGMENTED_FREE_DATASIZE FREE_DATA_FRAGMENTS IFILE_DISK_READS IFILE_DISK_WRITES DFILE_DISK_READS
DFILE_DISK_WRITES LAST_SESSION_IFILE_DISK_READSLAST_SESSION_IFILE_DISK_WRITES
LAST_SESSION_DFILE_DISK_READS 
LAST_SESSION_DFILE_DISK_WRITESCOMMITTED_TRANSACTIONS ABORTED_TRANSACTIONS 
EDMFILES_DETAILS      
Each property (except FREE_DATA_FRAGMENTS and EDMFILES_DETAILS) are returned as a string in the following format:
 
PropertyName = value
 
Example: MAX_INSTANCEIDS = 33554429
 
 The format of the FREE_DATA_FRAGMENTS is:
       FREE_DATA_FRAGMENTS = numberOfFragments , fragmentSize , freeDataOfThisSize ;   numberOfFragments , fragmentSize , freeDataOfThisSize ; ...         
   Each fragment has 3 values : the number of fragments, the fragment size and the total free data size in the actual fragment size. Comma is delimiter between each "fragment value" and simicolon is delimiter betwen each "fragment values".
 
The format of the EDMFILES_DETAILS is
 
    EDMFILES_DETAILS = EDMfileId , EDMfileSize ; EDMfileId , EDMfileSize; .... etc
 
All "size values" are in bytes.
 
 
The commands "Data>Show>Model properties" and" Remote Systems>Models>Show model properties" implements this functionality in EDMsupervisor.
 

  • No labels