triggerPKEYCompaction

Syntax

triggerPKEYCompaction(chunkId, [async=true])

Arguments

chunkId is a STRING scalar indicating the target chunk ID.

async (optional)is a BOOL scalar determining whether to enable asynchronous compaction.

  • If true (default), return immediately after job submission.

  • If false, return after all jobs complete.

Details

In the PKEY engine, use this function to manually trigger the compaction all level files stored at level 0 for optimal reading performance.

Examples

triggerPKEYCompaction(chunkId="1486f935-6f87-479c-b341-34c6a303d4f9", async=false)