Calculating the Edge hardware requirements to show sample data

Before you configure sample data via Edge, it is important to validate that your Edge site has enough memory, CPU and available cache disk space.

Memory and CPU requirements

The Edge capability Catalog JDBC Sampling consists of two possible operations, which require Edge resources:

The following table shows how much resources are required for one request.

  Extracting the sample data Reading the sample data
Memory per request 4 Gb 900 Mb
CPU per request 1 cpu 0.9 cpu
Note 

Hard disk requirement

Extracted sample data remains in the cache of an Edge site. This means that enough disk space must be available to cache this data. If the Edge cache is still full and a new sample data request is added, the request will fail. For more information, go to Edge cache.

The required disk space largely depends on the expected number of tables for which sample data will be requested, per day. You can estimate the disk space in bytes as follows:

(Number of tables per day *2) * Number of columns * (Number of characters for one column name + (Number of samples * Number of characters for one sample)) * 2.05

Also consider that the Edge cache may hold other data than the sample data, like a copy of the JDBC drivers used to connect to the data sources. So it is best to round up the required space.

Example 

In this example,

The numbers for the calculation are:

The estimated disk space in bytes is:

(100 *2) * 20 * (30 + (100*100) * 2.05 = 882,246,000 bytes = 882,246 kb = 82 Mb

As a conclusion for this example, having around 100 Mb of disk space available for sample data on the Edge site cache should be sufficient.