1

Minimum Hardware Specs for the Canary System

Understanding Resource Demand

Since every Canary Historian could be licensed to potentially scale beyond two million tags and handle a variety of data speeds, system requirements can vary.  

Factors like scan class, change rate, data type, client activity and additional variables can affect system resources.  Below are hardware recommendations for a typical enterprise solution consisting of multiple sites each logging data via OPC and Mirroring data to a corporate Canary Historian.

Canary software must be installed on a Windows machine. We support Windows 10/Server 2012 R2 and newer.

Minimum Hardware Recommendations

Collector and Sender Machine

- Dual Core 2.0 GHz Processor

- 8 GB of RAM - Windows 10 64 bit or greater

- .NET 4.7.1 or greater

- 500 GB HDD @7200 RPM

Site Historian Server

- Quad Core 2.4 GHz Processor

- 16 GB of RAM

- Windows 10 64 bit or greater

- .NET 4.7.1 or greater

- 2 TB HDD @7200 RPM

Corporate Historian Server

- Six Core 2.4 GHz Processor

- 32 GB of RAM

- Windows 10 64 bit or greater

- .NET 4.7.1 or greater

- 10 TB HDD @7200 RPM

 

Storage Methodology and Considerations

The Canary Historian stores tags, organized into groups, referred to as DataSets.  By default, each DataSet archives data into daily Historical Database Files, also referred to as HDB files.  Each HDB file contains all of the tag names, properties, timestamps, values, and qualities for an entire day.

Of course, HDB files are optimized for storage, and at the end of each day, are validated and compressed automatically by the historian using a loss-less compression algorithm.  Because it is loss-less, all original data values are maintained without using any interpolation while still featuring a 3:1 compression ratio.

Several factors contribute to the overall size of each HDB file:

Number of tags

Rather obvious, but the higher the tag count the more data.  However, this is usually the only component that is considered when someone asks the "how much storage is required" question!

Length of tag names

Canary only writes the tag name one-time for each HDB file, but unnecessarily long tag names mixed with high tag counts (100,000+) can increase the footprint.

Sample rate

How fast you are requesting the Canary Data Collector to read your tags will contribute to the number of timestamps, values, and quality scores that are written to an HDB file.  Although Canary is super efficient by ignoring unchanged values, choosing to update the timestamp rather than duplicate the entry, fast sample rates on some analog tags can create a lot of values. Imagine a temperature sensor with one hundredth of a degree accuracy.  If polled every second, you would nearly always see a value change.

Using deadbanding features when setting up logging sessions with the Canary Data Collectors can help avoid this issue and provides balance for faster scan classes without having to worry about unnecessary data storage.

Date change rate

Just because tags are being scanned often doesn't mean they change often.  As mentioned above, Canary 'writes-by-exception', ignoring unchanging values and updating the timestamp of the current value.  However, understanding how often your tags typically change goes a long way to predicting what your storage footprint may look like.  Some tags, like production values, alarms, or high/low set points, may only change a few times a minute, or only once or twice a day.  Just the opposite however, are tags like hydraulic pressures that might have data values that change a hundred times a second, all of which are valuable to record.  Canary has found that, on average, fewer than 40% of the tags that are part of most continual processes change each time they are sampled.

Data type

The type of data you collect will impact the overall storage requirements.  These could range from single byte Booleans to 8 byte floats.  Strings can also be stored; Canary only stores each unique string a single time within an HDB file.

Timestamp resolution

If you don't need millisecond resolution in your timestamps, use the 'Timestamp Normalization' feature of the Canary Data Collectors to reduce your timestamps to an appropriate length.  Long timestamps written tens of thousands of times per day per tag can add up.

Tag metadata

Depending on the type of Data Collector being used, you have the ability to record metadata, or properties, along with your tag values and quality scores.  Similar to tag names, lengths of strings used will impact overall DB file size.  

Estimating Storage Requirements

To estimate the potential hard driving sizing for your project, consider the following potential scenarios, both representative of typical complex systems.

7 Year Archive - 664 GB

  • 10,000 tags
  • 30% boolean, 20% analog integer, 50% analog float
  • Average sample rate - 5 seconds
  • Average change rate - 30%

7 Year Archive - 1.30 TB

  • 10,000 tags
  • 30% boolean, 20% analog integer, 50% analog float
  • Average sample rate - 3 seconds
  • Average change rate - 35%

Here are additional details of storage needs, based solely on data type.

1,000 two byte boolean tags

Scan rate Change rate Daily file size 7 years
1 sec 20% 64 MB 163.2 GB
5 sec 20% 12.7 MB 32.4 GB
30 sec 20% 2.15 MB 5.4 GB
5 min 20% 0.21 MB 0.5 GB

 

1,000 four byte analog float tags

Scan rate Change rate Daily file size 7 years
1 sec 70% 33.8 MB 863.48 GB
5 sec 70% 6.7 MB 172.7 GB
30 sec 70% 1.1 MB 28.7 GB
5 min 70% 0.11 MB 2.8 GB

 

1,000 four byte analog integer tags

Scan rate Change rate Daily file size 7 years
1 sec 40% 19.3 MB 493.4 GB
5 sec 40% 3.8 MB 98.7 GB
30 sec 40% 0.64 MB 16.4 GB
5 min 40% 0.064 MB 1.64 GB

 

With so many potential factors, estimating necessary storage can be difficult.  However, expanding an existing system to provide for more storage options is not difficult. 

It is recommended that you size a minimum of 1 TB for every 10,000 tags based on the above sample and change rates.

8replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • If choosing a cloud VM, do we need to take into account any additional factors?

    Is there any benefit to the speed of an SSD drive?

    Like
    • mike. dash Hi Mike, the historian is very efficient in transferring data to/from disk. We recommend starting with general purpose spin drives and monitoring your I/O rate (read & write MB/s) and IOPs (input/output operations per second). If you exceed either of those metrics then at that point you could switch to SSD, but I doubt it will be necessary. You would have to be either 1) transferring large amounts of data across a large number of tags (months or years worth) OR 2) be making many queries per second across a large number of tags with a high degree of variability in the selected date ranges in order to exceed either of those metrics. If you have some details on your tag count and logging rates across that count, then I could make some more specific recommendations. Thanks

      Like
  • Hi,

      Is Canary Labs V22 compatible with an AWS Ec2 Windows server 2019?

    I have a future install with a Server 2016 on prem but server 2019 in AWS.

    What version does  Server 2019 compatibility begin?

       Thanks,

     

    Bobby Norris

    Like
    • bobby. norris 

      Yes. It is Canary's goal to support whatever Windows OS that Microsoft actively supports. Currently, we will support as far back as Windows 10 and Server 2012 R2.

      Like
  • How can Canary handle more than 2 million tags for an enterprise installation? Should it scale vertically (compute resources) Or horizontally (Canary instances)? 

    Like
    • Hi derrickdvdsn ,

      We would spin up another historian server in that case. Then with our Views service, we could bring the two (or more) historians back into a single view.

      Like
    • Steve Mason 

      Hey Steve, 

      I have an old PC with relative ok hardware. It is operating on Windows 7, I would like to use it as a collector and sender machine. Do you think I can install Canary sender service on it and would it work?

      Thank you!

      Like
    • yudong. zhang 

      It may work, but we do not actively test Windows 7 as it is no longer supported by MS. Our policy is to support any Windows OS that MS has active support for.

      Like