Quote: (swright@raleys.com)Assuming 153,785 is too large and is the reason for my timeout. How do I reduce that number?
Here are my settings:
Admin interval: every hour ( I had same issue when it was daily )
Compress trans: 7 days
Keep trans history: 30 days
Keep trans summary 30 days.
Log alarm updates every 100 duplicate messages.
The query I gave you, queried the smallest table (NAS_TRANSACTION_SUMMARY), the table that in your case contains alot more than your 150k rows (which actually is nothing), is the NAS_TRANSACTION_LOG table. This table contains all the alarm events between the Open and Close. So if you have alot of suppressions they will be recorded here. My settings are:
Compress trans: 2 days
Keep trans history: 7 days
Keep trans summary 30 days.
Log alarm updates every 1000 duplicate messages.
The summary table was introduced in NAS 3.xx and contains the vital information about the alarm, prior to this version the alarm transaction was "compiled" by reading all the necessary transaction-logs.
The NAS performs housekeeping every "admin interval", and compresses the database(s) at 00:30 every night.