company logo

ODABAClient :: StatDisplay - Database Statistics

DBStatistics() allows displaying detailed database statistics as used and deleted objects instances, cluster statistics and space requirements for instances and indexes. This might be helpful for detecting the requirement for compressing the database (PackDB()).

Return value:  Success ( logical  )

Implementation details

logical ODABAClient  :: StatDisplay ( NPath &db_path, NString &ppath )

The function prints database statistics for the database passed in db_path to the file (location) passed in ppath.

  • db_path - Database path (to root base file)

    The file path is passed as 0-terminated string. The path may contain option/environment variables enclosed in %...%

  • ppath - Path to output location

    Complete path for printing the protocol information. Passing CON will print the result directly to the system output (console or application output area).