Developer Reference : Platform Management : Distributed Tuning Interface (DTI) Guide : Distributed Tuning Interface Reference : PvGetTableStat3()
 
PvGetTableStat3()
Returns statistical information on a given table, including a 64-bit record count capable of indicating up to 263–1 records, or 9223372036854775807.
Header File: ddf.h (See also Header Files)
Function First Available In Library: w3dbav90.dll (Windows), libpsqldti.so (Linux), libpsqldti.dylib (macOS) (See also Link Libraries)
Syntax
PRESULT DDFAPICALLTYPE PvGetTableStat3   (
   BTI_WORD              dbHandle,
   const BTI_CHAR*       tableName,
   TABLESTAT3*            tableStat3);
Arguments
In
dbHandle
Handle of an open database returned by PvOpenDatabase().
In
tableName
Table name for which you want statistical information.
Out
tableStat
TABLESTAT3 structure containing table statistics information.
 
Return Values
 
PCM_Success
The operation was successful.
PCM_errFailed
The operation was not successful.
PCM_errMemoryAllocation
An error occurred during memory allocation.
PCM_errInvalidDictionaryHandle
The specified dictionary handle obtained by PvOpenDatabase() is invalid.
PCM_errTableNotFound
The specified table was not found
Remarks
You must first obtain a database handle using PvOpenDatabase().
You can retrieve more information about a specific table using PvGetTable().
For more information see Differences Between TABLESTAT3 and TABLESTAT2.
See Also
PvGetTable()
PvGetTableStat()
PvGetTableStat2()
PvStart()
PvOpenDatabase()
PvOpenDatabase()
PvGetTable()
PvFreeTable()
PvFreeTableNames()
PvCloseDictionary()
PvCloseDatabase()
PvStop()