ESB_DBSTATS_T

This database Statistics Structure returns run-time statistical information about a specific database. Fields in this structure cannot be modified using the VB API. See also the ESB_DBSTATE_T structure, which contains additional database state parameters that can be modified, and the ESB_DBINFO_Tstructure. The fields are:

Type ESB_DBSTATS_T

   nDims                   As Long                
   DeclaredBlockSize       As Long                
   ActualBlockSize         As Long                
   DeclaredMaxBlocks       As Double              
   ActualMaxBlocks         As Double              
   NonMissingLeafBlocks    As Double              
   NonMissingNonLeafBlocks As Double              
   NonMissingBlocks        As Double              
   PagedOutBlocks          As Double              
   PagedInBlocks           As Double              
   InMemCompBlocks         As Double              
   TotalBlocks             As Double              
   NonExclusiveLockCount   As Double              
   ExclusiveLockCount      As Double              
   TotMemPagedInBlocks     As Double              
   TotMemBlocks            As Double              
   TotMemIndex             As Double              
   TotMemInMemCompBlocks   As Double              
   BlockDensity            As Double              
   SparseDensity           As Double              
   CompressionRatio        As Double              
   IndexType               As Integer             
   ClusterRatio;           As Double              
End Type
VB Data TypeFieldDescription
As IntegerIndexTypeThe database index type (array or tree). This field can contain the following values:
  • ESB_INDEXTYPE_ARRAY

  • ESB_INDEXTYPE_AVL

As LongnDimsNumber of dimensions
As LongDeclaredBlockSizeThe declared data block size
As LongActualBlockSizeThe actual data block size
As DoubleDeclaredMax BlocksThe declared maximum number of blocks in the database
As DoubleActualMaxBlocksThe actual maximum number of blocks in the database
As DoubleNonMissingLeaf BlocksThe number of non-missing leaf (lowest level) blocks in the database
As DoubleNonMissingNon LeafBlocksThe number of non-missing, non-leaf (upper level) blocks in the database
As DoubleNonMissing BlocksThe total number of non-missing blocks in the database
As DoublePagedOutBlocksThe number of database blocks currently paged out to disk
As DoublePagedInBlocksThe total number of database blocks currently paged into memory
As DoubleTotalBlocksTotal number of existing data blocks (not the maximum)
As DoubleNonExclusive LockCountThe number of database blocks currently non-exclusively locked
As DoubleExclusiveLock CountThe number of database blocks currently exclusively locked
As DoubleTotMemBlocksThe total memory used for all database blocks
As DoubleTotMemIndexThe total memory used for the database index
As DoubleTotMemPagedIn BlocksThe total memory used for all paged-in (uncompressed) database blocks
As DoubleBlockDensityThe average database block density (calculated using all currently loaded blocks)
As DoubleSparseDensityAverage density of the sparse dimensions in the database
As DoubleCompressionRatioAverage data block compression ratio on the disk
As DoubleInMemCompBlocksThe number of database blocks currently paged into compressed memory
As DoubleTotMemInMemCompBlocksThe total memory used for database blocks currently paged into compressed memory
As DoubleClusterRatioA measure of the fragmentation of the page file. A value close to 1 indicates the degree of fragmentation is low. A value close to zero indicates a high degree of fragmentation that could affect calculation and query performance.