High speed data historian
First Claim
1. A method of archiving a plurality of data values from a real-time database in a historian system, wherein the historian system includes a short-term repository and a long-term archive, comprising:
- obtaining one of the plurality of data values from the real-time database, wherein the real-time database monitors a current operational state of an industrial system, wherein the plurality of data values correspond to information reflecting an operational state of one or more monitored devices of the industrial system, and wherein the obtained data value is stored in a tag that includes a timestamp and a tag ID identifying a monitored parameter in the real-time database;
evaluating the tag to determine whether to store the tag in the historian system;
upon determining to store the tag in the historian system, storing the tag in the short-term repository;
evaluating a set of tags in the short-term repository to determine whether to store any of the set of tags in the long-term archive; and
upon determining to store one or more of the set of tags in the long-term archive, copying the tag from the short-term repository to the long-term archive and removing the tag from the short-term repository;
monitoring a rate at which data values are obtained by the historian system and monitoring a number of tags of a given type in the short-term repository;
upon determining that one of (i) the rate at which data values are obtained by the historian system exceeds a rate at which the historian system is able to process the data values and (ii) the number of tags of the given type in the short term repository exceeds an allocated number of tags of the given type, writing the data values to an overflow file.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for operating an archival database, referred to as a historian, are disclosed. The historian may be used to archive values from a real-time database. Data values to be archived in the historian are first written to a short-term, high-availability repository, such as a memory-mapped database. As data values “fill” the short-term repository, an archival processor application may be configured to “drain” them from the short-term repository and store them in a high-capacity, long-term archive, such as a disk-based database. Thus, the short-term repository may be used to provide fast access to the recent operational history of a monitored system, (e.g., a complex pipeline network), where long-term archive may be used to provide access to a comprehensive operational history of the monitored system.
26 Citations
24 Claims
-
1. A method of archiving a plurality of data values from a real-time database in a historian system, wherein the historian system includes a short-term repository and a long-term archive, comprising:
-
obtaining one of the plurality of data values from the real-time database, wherein the real-time database monitors a current operational state of an industrial system, wherein the plurality of data values correspond to information reflecting an operational state of one or more monitored devices of the industrial system, and wherein the obtained data value is stored in a tag that includes a timestamp and a tag ID identifying a monitored parameter in the real-time database; evaluating the tag to determine whether to store the tag in the historian system; upon determining to store the tag in the historian system, storing the tag in the short-term repository; evaluating a set of tags in the short-term repository to determine whether to store any of the set of tags in the long-term archive; and upon determining to store one or more of the set of tags in the long-term archive, copying the tag from the short-term repository to the long-term archive and removing the tag from the short-term repository; monitoring a rate at which data values are obtained by the historian system and monitoring a number of tags of a given type in the short-term repository; upon determining that one of (i) the rate at which data values are obtained by the historian system exceeds a rate at which the historian system is able to process the data values and (ii) the number of tags of the given type in the short term repository exceeds an allocated number of tags of the given type, writing the data values to an overflow file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable storage medium containing a program for archiving a plurality of data values from a real-time database in a historian system, the program including instructions for performing an operation, comprising:
-
obtaining one of the plurality of data values from the real-time database, wherein the real-time database monitors a current operational state of an industrial system, wherein the plurality of data values correspond to information reflecting an operational state of one or more monitored devices of the industrial system, and wherein the obtained data value is stored in a tag that includes a timestamp and a tag ID identifying a monitored parameter in the real-time database; evaluating the tag to determine whether to store the tag in the historian system; upon determining to store the tag in the historian system, storing the tag in the short-term repository; evaluating a set of tags in the short-term repository to determine whether to store any of the set of tags in the long-term archive; and upon determining to store one or more of the set of tags in the long-term archive, copying the tag from the short-term repository to the long-term archive and removing the tag from the short-term repository; monitoring a rate at which data values are obtained by the historian system and monitoring a number of tags of a given type in the short-term repository; upon determining that one of (i) the rate at which data values are obtained by the historian system exceeds a rate at which the historian system is able to process the data values and (ii) the number of tags of the given type in the short term repository exceeds an allocated number of tags of the given type, writing the data values to an overflow file. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for archiving a plurality of data values from a real-time database in a historian system, comprising:
-
the real-time database, wherein the real-time database stores a current value for the plurality of monitored data values, and wherein each of the plurality of data values correspond to information reflecting an operational parameter of one or more monitored devices of an industrial system; the historian system, wherein the historian system includes a short-term repository and a long term archive, and wherein the historian system performs an operation comprising; obtaining one of the plurality of data values from the real-time database, wherein the obtained data value is stored in a tag that includes a timestamp and a tag ID identifying a monitored parameter in the real-time database, evaluating the tag to determine whether to store the tag in the historian system, upon determining to store the tag in the historian system, store storing the tag in the short-term repository, evaluating a set of tags in the short-term repository to determine whether to store any of the set of tags in the long-term archive, and upon determining to store one or more of the set of tags in the long-term archive, copying the tag from the short-term repository to the long-term archive and removing the tag from the short-term repository;
monitoring a rate at which data values are obtained by the historian system and monitoring a number of tags of a given type in the short-term repository; andupon determining that one of (i) the rate at which data values are obtained by the historian system exceeds a rate at which the historian system is able to process the data values and (ii) the number of tags of the given type in the short term repository exceeds an allocated number of tags of the given type, writing the data values to an overflow file. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification