Method and apparatus for managing time series database
First Claim
1. A method for managing a time series database, comprising:
- monitoring multiple operations that access the time series database, so as to identify types of the multiple operations, the types of the multiple operations comprising at least one of a query type and an insert type;
with respect to a storage mode among multiple storage modes, obtaining estimated access costs from a cost model repository, the estimated access costs associated with the multiple operations accessing the time series database based on the operation types;
selecting a storage mode, from a storage mode repository including a plurality of storage modes each corresponding to a different application environment differentiated based on data generation characteristics, to reduce resource overhead related to storing and querying data collected from a plurality of sensors based on collection point amount values and data collecting frequency values measured from an application environment of the different application environments, the selected storage mode corresponding to a minimum access cost for the operation types accessing the time series database dictated by a particular application environment; and
during a predetermined time period, adjusting the time series database according to history operations involving the collection point amount values and the data collecting frequency values stored in the selected storage mode to reduce memory utilization.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for managing a time series database, includes: monitoring multiple operations that access the time series database, so as to identify types of the multiple operations, the types of the multiple operations comprising at least one of the query types or insert types; with respect to a storage mode among multiple storage modes, obtaining costs that the multiple operations access the time series database based on the types, respectively; selecting a storage mode with the minimum cost from the multiple storage modes; and during a predetermined time period, storing into the time series database data values that are collected from multiple measurement points according to the selected storage mode. In one embodiment, there is provided an apparatus for managing a time series database. By means of the method and apparatus of the present invention, the storage and query efficiency with respect to the time series database can be increased.
-
Citations
20 Claims
-
1. A method for managing a time series database, comprising:
-
monitoring multiple operations that access the time series database, so as to identify types of the multiple operations, the types of the multiple operations comprising at least one of a query type and an insert type; with respect to a storage mode among multiple storage modes, obtaining estimated access costs from a cost model repository, the estimated access costs associated with the multiple operations accessing the time series database based on the operation types; selecting a storage mode, from a storage mode repository including a plurality of storage modes each corresponding to a different application environment differentiated based on data generation characteristics, to reduce resource overhead related to storing and querying data collected from a plurality of sensors based on collection point amount values and data collecting frequency values measured from an application environment of the different application environments, the selected storage mode corresponding to a minimum access cost for the operation types accessing the time series database dictated by a particular application environment; and during a predetermined time period, adjusting the time series database according to history operations involving the collection point amount values and the data collecting frequency values stored in the selected storage mode to reduce memory utilization. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus for managing a time series database, comprising:
-
a monitoring module configured to monitor multiple operations that access the time series database, so as to identify types of the multiple operations, the types of the multiple operations comprising at least one of a query type and an insert type; an obtaining module configured to, with respect to a storage mode among multiple storage modes, obtain estimated access costs from a cost model repository, the estimated access costs associated with the multiple operations accessing the time series database based on the operation types; a selecting module configured to select a storage mode, from a storage mode repository including a plurality of storage modes each corresponding to a different application environment differentiated based on data generation characteristics, to reduce resource overhead related to storing and querying data collected from a plurality of sensors based on collection point amount values and data collecting frequency values measured from an application environment of the different application environments, the selected storage mode corresponding to a minimum access cost for the operation types accessing the time series database dictated by a particular application environment; and a storage module configured to, during a predetermined time period, adjust the time series database according to history operations involving the collection point amount values and the data collecting frequency values stored in the selected storage mode to reduce memory utilization. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification