Archive Groups

To edit the values, open the Runtime Engineering panel via WinCC OA System Management -> Database -> Runtime Engineering.

The archive group tab of the Runtime Engineering panel shows all existing NGA archive groups in a list view on the left. On the right side the parameters of the currently selected archive group are shown.

The check box "Active" is used to activate the archive group. When not activated, the archive group does not process any write or read requests and data for this archive group will not be buffered. This setting can be used to switch off archiving for all data point elements assigned to this archive group.

Figure 1. NGA archive group overview panel

By default four archive groups exist:

EVENT - (InfluxDB®),

EVENT_PG (PostgreSQL®)

EVENT_MS (MS SQL®) and

ALERT (InfluxDB®, PostgreSQL® or MS SQL®).

You can add additional ones or remove them (only if not assigned to any DP element) by using the "+" and "x" buttons below the group list and also change the settings of the existing ones on the right. PostgreSQL® and MS SQL® are deactivated by default, as the default WinCC OA NGA installation only contains InfluxDB®. With the Standard license you can create up to 6 archive groups (5 EVENT groups and 1 ALERT group). The one ALERT group and one EVENT group are available by default). A priority can be specified for a group. The priority can be an arbitrary integer.

Note: The names of the internal data points used for the groups (_NGA_G_...) are automatically created as "Group1", "Group2", … and the name shown here is a "Display name" which can be changed at any time. The name of the internal data point must not be changed.

Using the arrows in the toolbar on the left, the order of the groups can be changed.

Depending on the selection for “Currently Assigned” / “In Database”, either all elements currently assigned in WinCC OA or all elements found in the archive group in the database will be shown. Normally these two are identical but when a DPE was not written yet, it will not be shown if “In Database” is selected.

"ARCHIVENUM" (WHERE ARCHIVENUM = ...) can be used for queries. Thereby you can specify the "priority" of an archive group (for "Priority, see the figure below). The query is then only sent to this group. If the priority is specified, the query includes historical data from archive groups whose priority matches the priority of the ARCHIVENUM.

Figure 2. Priority of an Archive Group

Figure 3. Archive Groups and the License Icon

The symbol on the right shows if a backend or archive groups are licensed or not:

  • If the frontend (NextGen Archiver manager) is not running (the state of the backend or the archive group is red, meaning not running), the license icon is not shown.
  • If a backend is not active, the license symbol is not shown.
  • If an archive group is not active or the associated backend is not active, the license symbol is not shown.
    Note: When you save an active group, the system checks if a license is available. If a free license is not found, a warning is shown and the group is saved as non-active.