Database Server

Technology Preview: InterMapper Database

The Database Server stores data in a database for use in reports. Use the Database Server panel, available from the Server Configuration section of the Server Settings panel, to specify the amount of data you want to store in the database.


InterMapper Database Server Configuration pane

Specifying an InterMapper Database connection

To activate the storage of InterMapper data:

If InterMapper DataCenter is running on a different host than the InterMapper Server, you must also specify the server, port, and an account login for the database you want InterMapper to use.

To configure the InterMapper Database connection:

Collecting Current Data  

Every minute, InterMapper Database sends a request for a certain number of rows of current data to insert into the database. The request contains a start and end time, where the start time is the oldest data desired, and the end time is the newest (generally, the present time).

The response from InterMapper Server contains the rows to insert into the database, as well as the time of the next row to request. InterMapper Database uses this information to update its notion of the current time, and the subsequent requests use that time.

The number of rows in the request is automatically adjusted so that the insertion process uses approximately half of the (one minute) time interval. Typically, 500 rows are requested for events and 25,000 rows are requested for data points.

If the time of the next row in the response is less than the requested end time, InterMapper Database Server can tell that there is more data available.

Collecting Pre-Existing Data

In parallel, InterMapper Database retrieves old (historical) data by working backwards (from newer to oldest), requesting data from the InterMapper Server. It does this by making requests for a set of data rows older than a particular time.

The InterMapper Server responds with those rows, and InterMapper Database inserts them and updates the time of the next (oldest) row. Subsequent requests start at this time, and retrieve still older data rows.

Use the Collection Profile dropdown menu to specify the rate at which InterMapper Database requests the historical data:

What Data Gets Collected?

Certain variables for probes are recorded automatically when data is collected from a device by InterMapper Database. You can also specify other variables you want to record when data for a device is stored.

For all probes, the following data is recorded:

For built-in probes, Dartware has selected values that make sense to record for each probe.

For custom probes, you can specify which variables should be recorded. The syntax for this is described in Recording Probe Data in the Developer Guide.