Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Application Server
  • AVEVA Application Server Tech Notes

TN AppSvr128 Maintenance of the A2ALMDB Events Table

Last updated: February 26th, 2025

Description

  • Author: Brian Schneider
  • Published: February 26th, 2025

Details:

Description

This tech note from InSource provides instruction on the maintenance of the alarm database events table.

  • Author: Rich Brooks
  • Published: 05/18/2015
  • Applies to: System Platform release 2014R2 and higher

Details

Application Server includes a built in alarm database named A2ALMDB. It is created as part of the product installation. Alarm database logging is setup by default to log alarms and events to this database. The InTouch Alarm Provider needs to be enabled in the Platform, and the Storage to Historian needs to be enabled in the Application Engine for the logging to be initialized.

Click on Galaxy from the ArchestrA IDE menu to select Configure - Alarms and Events Configuration. The overall galaxy level settings for event logging are configured here.

The System, Application, and User events are historized by default. You may turn this logging off by unchecking the corresponding checkbox if required.

Wonderware does have an Alarm DB Purge/Archive utility accessed from the Start Button - Program Files - Wonderware - InTouch folder. It is recommended to run this utility on a regular basis to keep the A2ALMDB database to a manageable size.

The Purge/Archive Utility may fail to run if the events table grows too large. It is sometime necessary to truncate the data in the events table to clean up thousands or millions of unneeded events. Run the following SQL statement from SQL Server Management Studio to see how many events are currently in the table.

USE A2ALMDB

SELECT count(*) FROM Events

Then run the following SQL statement to permanently delete all events from the table.

TRUNCATE TABLE Events

Run the select statement again to verify the events table is emply.

server management
Give feedback about this article

Recommended articles

TN 1394 Error when Deploying: Remote Node's UserID/Password don't match GR Node's

Read More

TN 1366 Managing your Standalone InTouch Application in the Galaxy

Read More

Resolving "Open: Memory on the computer is low. New editor can't be launched."

Read More

TN 1040 No Alarms in Window Viewer

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand