# flushOLAPCache {#flusholapcache}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`flushOLAPCache()`

Alias: purgeCacheEngine

## Arguments {#arguments}

None

## Details {#details}

Flush the data of completed transactions cached in the OLAP cache engine to the database. Specify the configuration parameter *chunkCacheEngineMemSize* and set *dataSync* = 1 before execution.

