Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Reducing the size of historical / Alarm Summary files on PC.

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Reducing the size of historical / Alarm Summary files on PC.
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
95
BevanWeiss
Spock BevanWeiss
89
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
36
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure Geo SCADA Expert Forum
Solved
hemanthv
Ensign hemanthv
Ensign

Posted: ‎2020-04-06 07:07 AM . Last Modified: ‎2023-05-03 12:15 AM

0 Likes
5
2758
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-06 07:07 AM . Last Modified: ‎2023-05-03 12:15 AM

Reducing the size of historical / Alarm Summary files on PC.

Hi,

we have a systems with 24550 tags counts.  We have noticed that there are multiple number  of files in Journal folder and total size increase to 6GB. 

1. How to reduce the number of files.

2. How do I reduce the file size or increase the file size.

3. How to optimize the file size to improve data transfer between redundant servers.

4. Is it possible to get all historical enable tags using SQL script.

 

Labels
  • Labels:
  • SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
geoffpatton
Captain geoffpatton
Captain

Posted: ‎2020-04-06 10:18 AM

0 Likes
0
2751
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-06 10:18 AM

If you are really just concerned with the Sync time then go into the Server configuration and set the Archive for the Event Journal and Historic Data to 1 week or a longer time frame that you are sure you won't want to edit the events or history. It won't have to sync anything that is older than the Archive setting, because that data is set to not be changeable so it can be archived if you want to archive it. Personally I don't archive anything, it is a pain in the butt because it is made to archive to removable media. Where history preservation is important my customers rely on system backups.

 

Size is controlled by how much is written to the Events or History.

On your points with history enabled, from the Historic tab, you can apply compression to limit how much is being written.

 

Points and other database objects that have events configured will record an event every time that condition is true.

If you think some of these events that are configured are unnecessary set them to None and this will reduce the quantity.

 

Yes, you can check for the History setting from SQL, but I don't remember what you need to do to get it.

I would just use the Bulk Edit tool. Check the entire database then select each point type and then check the historic enabled. Export it to an excel file.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2020-04-06 08:33 PM . Last Modified: ‎2020-04-06 08:34 PM

0 Likes
1
2744
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-06 08:33 PM . Last Modified: ‎2020-04-06 08:34 PM

It's kinda odd that you're talking about historic and alarm summary in your title but only the event journal in your post. Most of the above will apply to all three, but I'd encourage you to read the relevant help pages for each.

 

1. The number of files is a function of the number of objects and the time period, and the stream size. We don't usually recommend changing the stream size, this can have an impact on performance. These settings are on server config under Historic Configuration.

 

2. The file size is a function of the number of entries in the time period. You should identify overactive objects and resolve issues with them, whether that is a physically noisy point, inadequate compression or DNP3 event generations settings, or an outstation that is raising a lot of alarms. For existing data, running Compress Database from the server icon and the Start Historic Optimisation method on the root group historian aggregate can help (again, look them up in Help for details on what they do).

 

3. You can compress data that is sent between redundant servers by ticking the compress check box in the partner settings. This has a performance penalty associated - refer to Help for guidance.

 

4. Yes, but you would need to JOIN every table that has the aggregate on it. This will vary with what drivers you're using.

 

SELECT
FULLNAME, HISTORIC
FROM
<list of tables>

 

To get the tables you'll need to know how to use the schema. CDBPoint I think will have everything you're concerned with. From there dig down to find what is relevant to your system that has the historic aggregate.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2020-04-07 01:24 AM

In response to Anonymous user
0 Likes
0
2740
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-07 01:24 AM

This query will list objects with historic data enabled:

SELECT FullName from CHistory INNER JOIN CDBObject ON CHistory.Id=CDBObject.Id

Edit this SQL into any query window - or use the QueryPad utility (remember to hit ctrl-Enter to run a query. 

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2020-04-07 02:14 AM

0 Likes
1
2733
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-07 02:14 AM

I would say that the most likely cause of incredibly large 'Historic' data is the incorrect setting of 'Event' severity.

It is an absolute bug-bear of mine when people use this setting.

 

An Event Journal entry takes up 768bytes.  A historical data entry takes 32bytes.

So my (not so humble) opinion is that you should NEVER set anything with 'Event' severity type.  If you care about the state of something enough, then it possibly should be an alarm.

If you only care about the state of it retrospectively (i.e. when you want to audit it, or similar later) then you can probably handle this entirely well with just historical data, and not having an Event entry.

 

I'd also follow the advice of the others 🙂


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 5
geoffpatton
Captain geoffpatton
Captain

Posted: ‎2020-04-06 10:18 AM

0 Likes
0
2752
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-06 10:18 AM

If you are really just concerned with the Sync time then go into the Server configuration and set the Archive for the Event Journal and Historic Data to 1 week or a longer time frame that you are sure you won't want to edit the events or history. It won't have to sync anything that is older than the Archive setting, because that data is set to not be changeable so it can be archived if you want to archive it. Personally I don't archive anything, it is a pain in the butt because it is made to archive to removable media. Where history preservation is important my customers rely on system backups.

 

Size is controlled by how much is written to the Events or History.

On your points with history enabled, from the Historic tab, you can apply compression to limit how much is being written.

 

Points and other database objects that have events configured will record an event every time that condition is true.

If you think some of these events that are configured are unnecessary set them to None and this will reduce the quantity.

 

Yes, you can check for the History setting from SQL, but I don't remember what you need to do to get it.

I would just use the Bulk Edit tool. Check the entire database then select each point type and then check the historic enabled. Export it to an excel file.

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2020-04-06 08:33 PM . Last Modified: ‎2020-04-06 08:34 PM

0 Likes
1
2745
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-06 08:33 PM . Last Modified: ‎2020-04-06 08:34 PM

It's kinda odd that you're talking about historic and alarm summary in your title but only the event journal in your post. Most of the above will apply to all three, but I'd encourage you to read the relevant help pages for each.

 

1. The number of files is a function of the number of objects and the time period, and the stream size. We don't usually recommend changing the stream size, this can have an impact on performance. These settings are on server config under Historic Configuration.

 

2. The file size is a function of the number of entries in the time period. You should identify overactive objects and resolve issues with them, whether that is a physically noisy point, inadequate compression or DNP3 event generations settings, or an outstation that is raising a lot of alarms. For existing data, running Compress Database from the server icon and the Start Historic Optimisation method on the root group historian aggregate can help (again, look them up in Help for details on what they do).

 

3. You can compress data that is sent between redundant servers by ticking the compress check box in the partner settings. This has a performance penalty associated - refer to Help for guidance.

 

4. Yes, but you would need to JOIN every table that has the aggregate on it. This will vary with what drivers you're using.

 

SELECT
FULLNAME, HISTORIC
FROM
<list of tables>

 

To get the tables you'll need to know how to use the schema. CDBPoint I think will have everything you're concerned with. From there dig down to find what is relevant to your system that has the historic aggregate.

Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2020-04-07 01:24 AM

In response to Anonymous user
0 Likes
0
2741
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-07 01:24 AM

This query will list objects with historic data enabled:

SELECT FullName from CHistory INNER JOIN CDBObject ON CHistory.Id=CDBObject.Id

Edit this SQL into any query window - or use the QueryPad utility (remember to hit ctrl-Enter to run a query. 

Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2020-04-07 02:14 AM

0 Likes
1
2734
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-07 02:14 AM

I would say that the most likely cause of incredibly large 'Historic' data is the incorrect setting of 'Event' severity.

It is an absolute bug-bear of mine when people use this setting.

 

An Event Journal entry takes up 768bytes.  A historical data entry takes 32bytes.

So my (not so humble) opinion is that you should NEVER set anything with 'Event' severity type.  If you care about the state of something enough, then it possibly should be an alarm.

If you only care about the state of it retrospectively (i.e. when you want to audit it, or similar later) then you can probably handle this entirely well with just historical data, and not having an Event entry.

 

I'd also follow the advice of the others 🙂


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Reply

Link copied. Please paste this link to share this article on your social media post.

hemanthv
Ensign hemanthv
Ensign

Posted: ‎2020-04-09 12:15 AM

In response to BevanWeiss
1 Like
0
2705
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-04-09 12:15 AM

thank you all..! 

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of