getCacheEngineMemSize

Syntax

getCacheEngineMemSize()

Arguments

None

Details

Obtain the memory status (in Byte) of the OLAP cache engine on the current node.

It returns a tuple:

  • The 1st element indicates the memory occupied by the cache engine;
  • The 2nd element indicates the memory occupied by the column files stored in the cache engine;
  • The 3rd element indicates the memory occupied by the column file pointers;
  • The 4th element indicates the maximum memory allocated to the cache engine.

Examples

setCacheEngineMemSize(0.4)
getCacheEngineMemSize()
// output
(0,0,0,429496729)

Related function: setCacheEngineMemSize