Zoomdata Version

How Zoomdata Caches  Data

Zoomdata uses different caching methods for the different types of data that it works with:

  • For aggregated result sets, Zoomdata leverages Spark to cache aggregated result sets.
  • ​For streaming data, the information is cached and persisted in PostgreSQL.

Data Flow with Zoomdata Resultset Caching Enabled

Zoomdata Cache stores all the results of aggregated requests from your data source. In this scenario, when a chart is created the request is first sent to Zoomdata Cache. If the required results are found there, they are visualized on your chart.

Otherwise, the data flow is as follows:

  1. The request is sent to Zoomdata Cache.
  2. If the required results are not found in Zoomdata Cache, the request is sent to your data source.
  3. From your data source the results are sent to Zoomdata Cache and stored there.
  4. The chart displays the requested data.

For additional information about how Zoomdata implements Spark, refer to the article How Zoomdata Uses Apache Spark .

DISABLING Zoomdata RESULTSET CACHING

Zoomdata resultset cache is a temporary storage of the aggregated data from your data sources. By default, caching is enabled for all data sources. However, you can disable it if your data source is constantly being updated, or you do not want to allocate the required RAM, or performance of your data source is high, so you do not need to store the aggregated queries.

Was this topic helpful?