WO2022035443A1 - Dynamic performance tuning based on implied data characteristics - Google Patents

Dynamic performance tuning based on implied data characteristics Download PDF

Info

Publication number
WO2022035443A1
WO2022035443A1 PCT/US2020/049367 US2020049367W WO2022035443A1 WO 2022035443 A1 WO2022035443 A1 WO 2022035443A1 US 2020049367 W US2020049367 W US 2020049367W WO 2022035443 A1 WO2022035443 A1 WO 2022035443A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data set
storage configuration
frequency
selecting
Prior art date
Application number
PCT/US2020/049367
Other languages
French (fr)
Inventor
Joseph Marc Posner
Sunil Kumar Kunisetty
Mohan Kamath
Nickolas Kavantzas
Sachin Bhatkar
Sergey Troshin
Sujay Sarkhel
Shivakumar Subramanian Govindarajapuram
Vijayalakshmi Krishnamurthy
Original Assignee
Oracle International Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US16/992,819 external-priority patent/US11573962B2/en
Application filed by Oracle International Corporation filed Critical Oracle International Corporation
Priority to EP20775986.1A priority Critical patent/EP4196886A1/en
Priority to JP2023509827A priority patent/JP2023538865A/en
Priority to CN202080105124.XA priority patent/CN116601622A/en
Publication of WO2022035443A1 publication Critical patent/WO2022035443A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Definitions

  • the present disclosure relates to data analytics.
  • the present disclosure relates to techniques for improving system performance based on data characteristics.
  • loT devices produce a data set that include data of three distinct categories: Identifier data, Usecase Data, and Runtime Data. The data produced by the loT devices
  • Identifier Data may include human-readable and/or human-understandable characteristics of a device producing the data.
  • Identifier Data can include aspects such as device name, serial number, data of purchase, and similar characteristics.
  • Identifier Data can include many different identifiers of a device providing the data.
  • Identifier Data includes data that remains constant or changes very seldomly. Identifier Data will have the lowest cardinality (e.g., the fewest distinct fields or combination of fields) in the system.
  • Usecase Data is generally data referring to the various ways a device providing data is used.
  • the Usecase Data may comprise “heating” or “cooling.”
  • Usecase Data is typically represented as one or more strings.
  • Runtime Data may include information measured by the device as used in the field.
  • Runtime Data may include a temperature measurement and a timestamp indicating a time at which the temperature was recorded.
  • the Runtime Data is typically the largest category of data, often by orders of magnitude.
  • Figure 1 illustrates a system in accordance with one or more embodiments
  • Figure 2 illustrates an example set of operations for improving system performance based on data characteristics in accordance with one or more embodiments
  • Figures 3 A and 3B illustrate an example system for improving system performance based on data characteristics
  • Figure 4 shows a block diagram that illustrates a computer system in accordance with one or more embodiments.
  • One or more embodiments include systems for performance tuning based on data characteristics.
  • Users of big data systems may use heterogenous storage mechanisms that do not support traditional cost-based query tuning since they are backed by storage systems that do not provide commonly-used features like indexes, row counts, data cardinality statistics and similar tools, or since the heterogeneous nature of the storage systems prevent cross-storage optimization.
  • time-series based data inherent aspects of the data, the storage patterns, and implied aspects of the data based on the query itself, can be used to deduce presumed patterns and help to optimize execution of the query.
  • User defined metadata about how data sources are related provides insight into what kind of data is stored in each system and the metadata can be used to deduce missing statistical information about the stored data. Similarly, once some information about a particular data source is known, the characteristics of other data sources can be assumed.
  • the system may determine how to store and access data by grouping the data. For example, when processing data from one or more Internet of Things (loT) devices, the system may group data into one of three families of data that it considers characteristic of Internet of Things data. The system may use information about what data has been grouped into each family to make assumptions about what data should be found in the other families and to adjust storage and retrieval processes accordingly.
  • LoT Internet of Things
  • the three families of data used for Internet of Things data can be, for example, Identifier Data, Usecase Data and Runtime Data.
  • the system may use these families of data because they allow efficient, definable classification and because the classifications will in turn allow for estimation of use cases.
  • Data fields within the data set can be grouped based on characteristics of the data.
  • data fields can be categorized based on one or more characteristics of the data stored in that field, such as cardinality (e.g., a number of entries in the data field) and/or update frequency (e.g., a frequency with which data in the field is updated).
  • Figure 1 illustrates a system 100 in accordance with one or more embodiments.
  • system 100 includes a performance tuning engine 102, a user interface 114, one or more external data sources 118, a data repository 120, and various components thereof.
  • the system 100 may include more or fewer components than the components illustrated in Figure 1.
  • the components illustrated in Figure 1 may be local to or remote from each other.
  • the components illustrated in Figure 1 may be implemented in software and/or hardware. Each component may be distributed over multiple applications and/or machines. Multiple components may be combined into one application and/or machine. Operations described with respect to one component may instead be performed by another component.
  • the user interface 114 refers to hardware and/or software configured to facilitate communications between a user and the interface creation engine 102.
  • the user interface 114 may be used by a user who accesses an interface (e.g., a dashboard interface) for work and/or personal activities.
  • the user interface 114 may be associated with one or more devices for presenting visual media, such as a display 116, including a monitor, a television, a projector, and/or the like.
  • User interface 114 renders user interface elements and receives input via user interface elements. Examples of interfaces include a graphical user interface (GUI), a command line interface (CLI), a haptic interface, and a voice command interface.
  • GUI graphical user interface
  • CLI command line interface
  • haptic interface a haptic interface
  • voice command interface examples include checkboxes, radio buttons, dropdown lists, list boxes, buttons, toggles, text fields, date and time selectors, command lines, sliders, pages, and forms.
  • different components of the user interface 114 are specified in different languages.
  • the behavior of user interface elements is specified in a dynamic programming language, such as JavaScript.
  • the content of user interface elements is specified in a markup language, such as hypertext markup language (HTML) or XML User Interface Language (XUL).
  • the layout of user interface elements is specified in a style sheet language, such as Cascading Style Sheets (CSS).
  • the user interface 114 is specified in one or more other languages, such as Java, C, or C++.
  • the performance tuning engine 102 refers to hardware and/or software configured to perform operations described herein for dynamic performance tuning based on implied data characteristics. Examples of operations for dynamic performance tuning based on implied data characteristics are described below with reference to Figure 2. [0022]
  • the performance tuning engine 102 includes a data categorization component 104.
  • the data categorization component 104 may refer to hardware and/or software configured to perform operations described herein (including such operations as may be incorporated by reference) for recognizing input from a user.
  • the performance tuning engine 102 includes a category analysis component 106.
  • the category analysis component 106 may refer to hardware and/or software configured to perform generation and/or identification of query suggestions.
  • the performance tuning engine 102 includes a storage configuration manager 106.
  • the storage configuration manager 106 may refer to hardware and/or software configured to perform selection of one of the selected queries.
  • one or more components of the performance tuning engine 102 use a machine learning engine 110.
  • Machine learning includes various techniques in the field of artificial intelligence that deal with computer-implemented, user-independent processes for solving problems that have variable inputs.
  • the machine learning engine 110 trains a machine learning model 112 to perform one or more operations.
  • the machine learning engine 110 may train the machine learning model 112 to receive, as input, one or more records of a data set, divide the one or more records into one or more data fields.
  • the one or more machine learning engine 110 may cause the machine learning model 112 to determine one or more characteristics associated with each of the data fields, and to select a storage configuration for the data field based on the one or more characteristics.
  • Training a machine learning model 112 uses training data to generate a function that, given one or more inputs to the machine learning model 112, computes a corresponding output.
  • the machine learning model 112 may include a two-step process, such that data is input to an algorithm that outputs a model and date is fed to the model to produce an output.
  • the output may correspond to a prediction based on prior machine learning.
  • the output includes a label, classification, and/or categorization assigned to the provided input(s).
  • the machine learning model 112 corresponds to a learned model for performing the desired operation(s) (e.g., labeling, classifying, and/or categorizing inputs).
  • the performance tuning engine 102 may use multiple machine learning engines 110 and/or multiple machine learning models 112 for different purposes.
  • the machine learning engine 110 may use supervised learning, semi-supervised learning, unsupervised learning, reinforcement learning, and/or another training method or combination thereof.
  • labeled training data includes input/output pairs in which each input is labeled with a desired output (e.g., a label, classification, and/or categorization), also referred to as a supervisory signal.
  • a desired output e.g., a label, classification, and/or categorization
  • semi-supervised learning some inputs are associated with supervisory signals and other inputs are not associated with supervisory signals.
  • unsupervised learning the training data does not include supervisory signals.
  • Reinforcement learning uses a feedback system in which the machine learning engine 110 receives positive and/or negative reinforcement in the process of attempting to solve a particular problem (e.g., to optimize performance in a particular scenario, according to one or more predefined performance criteria).
  • the machine learning engine 110 initially uses supervised learning to train the machine learning model 112 and then uses unsupervised learning to update the machine learning model 112 on an ongoing basis.
  • a machine learning engine 110 may use many different techniques to label, classify, and/or categorize inputs.
  • a machine learning engine 110 may transform inputs into feature vectors that describe one or more properties (“features”) of the inputs.
  • the machine learning engine 110 may label, classify, and/or categorize the inputs based on the feature vectors.
  • a machine learning engine 110 may use clustering (also referred to as cluster analysis) to identify commonalities in the inputs.
  • the machine learning engine 110 may group (/. ⁇ ., cluster) the inputs based on those commonalities.
  • the machine learning engine 110 may use hierarchical clustering, k-means clustering, and/or another clustering method or combination thereof.
  • a machine learning engine 110 includes an artificial neural network.
  • An artificial neural network includes multiple nodes (also referred to as artificial neurons) and edges between nodes. Edges may be associated with corresponding weights that represent the strengths of connections between nodes, which the machine learning engine 110 adjusts as machine learning proceeds.
  • a machine learning engine 110 may include a support vector machine. A support vector machine represents inputs as vectors. The machine learning engine 110 may label, classify, and/or categorizes inputs based on the vectors. Alternatively or additionally, the machine learning engine 110 may use a naive Bayes classifier to label, classify, and/or categorize inputs.
  • a machine learning model may apply a decision tree to predict an output for the given input.
  • a machine learning engine 110 may apply fuzzy logic in situations where labeling, classifying, and/or categorizing an input among a fixed set of mutually exclusive options is impossible or impractical.
  • the aforementioned machine learning model 112 and techniques are discussed for exemplary purposes only and should not be construed as limiting one or more embodiments.
  • the corresponding outputs are not always accurate.
  • the machine learning engine 110 may use supervised learning to train a machine learning model 112. After training the machine learning model 112, if a subsequent input is identical to an input that was included in labeled training data and the output is identical to the supervisory signal in the training data, then output is certain to be accurate. If an input is different from inputs that were included in labeled training data, then the machine learning engine 110 may generate a corresponding output that is inaccurate or of uncertain accuracy.
  • the machine learning engine 110 may be configured to produce an indicator representing a confidence (or lack thereof) in the accuracy of the output.
  • a confidence indicator may include a numeric score, a Boolean value, and/or any other kind of indicator that corresponds to a confidence (or lack thereof) in the accuracy of the output.
  • the machine learning model may be used for anomaly detection.
  • Supervised anomaly detection techniques may provide, as training input, a first data set that has been labeled as "normal” and a second data set that has been labeled as “abnormal”, and training a classifier using the first and second data sets to determine whether an unlabeled input should be labeled as “normal” or “abnormal.”
  • Semi-supervised anomaly detection techniques construct a model representing normal behavior from a given normal training data set, and then test the likelihood of a test instance to be generated by the model.
  • the performance tuning engine 102 is configured to receive data from one or more external data sources 118.
  • An external data source 118 refers to hardware and/or software operating independent of the performance tuning engine 102.
  • the hardware and/or software of the external data source 118 may be under control of a different entity (e.g., a different company or other kind of organization) than an entity that controls the query suggestion engine.
  • An external data source 118 may supply data associated with one or more internet of things (loT) devices.
  • LoT internet of things
  • the performance tuning engine 102 is configured to retrieve data from an external data source 118 by ‘pulling’ the data via an application programming interface (API) of the external data source 118, using user credentials that a user has provided for that particular external data source 118.
  • an external data source 118 may be configured to ‘push’ data to the performance tuning engine 102 via an API, using an access key, password, and/or other kind of credential that a user has supplied to the external data source 118.
  • the performance tuning engine 102 may be configured to receive data from an external data source 118 in many different ways.
  • a data repository 120 is any type of storage unit and/or device (e.g., a file system, database, collection of tables, or any other storage mechanism) for storing data. Further, a data repository 120 may include multiple different storage units and/or devices. The multiple different storage units and/or devices may or may not be of the same type or located at the same physical site. Further, a data repository 120 may be implemented or may execute on the same computing system as the performance tuning engine 102 and/or the external data source 118. Alternatively or additionally, a data repository 120 may be implemented or executed on a computing system separate from the performance tuning engine 102 and/or the external data source 118.
  • a data repository 120 may be implemented or executed on a computing system separate from the performance tuning engine 102 and/or the external data source 118.
  • a data repository 120 may be communicatively coupled to the performance tuning engine 102 and/or the external data source 118 via a direct connection or via a network.
  • the data repository 120 includes one or more data caches, allowing the system 100 to store data in a location that is persistent, but not permanent.
  • the system 100 may use at least a portion of the one or more data caches included in the data repository 120 to store summary statistics related to the dataset.
  • the data repository can serve as a repository for many types of data.
  • the data stored in the data repository can represent data received from one or more loT devices.
  • the data can be categorized based on various criteria. The categorization can be selected to allow efficient, definable classification of data, and to provide for estimation of use cases. Without algorithmic classification, manual declaration by a user with expertise in the business space and the computing technology is required to optimize partitioning of data on disc, creation of indexes for efficient retrieval, and caching strategies.
  • data can be categorized as one of Identifier Data 122, Usecase Data 124, or Runtime Data 126, as shown in Figure 1.
  • Identifier Data 122 may include data that identifies a particular device providing the data.
  • Usecase Data 124 may include data associated with a particular function of the device providing the data.
  • Runtime Data 126 may include data associated with activities performed by the device providing the data.
  • Identifier Data 122 can be human-readable and/or human-understandable characteristics of data.
  • the Identifier Data 122 can include aspects such as device name, serial number, data of purchase, and similar characteristics.
  • Identifier Data 122 can include many different identifiers of a device providing the data. Typically, Identifier Data 122 includes data that remains constant or changes very seldomly. The system can assume that Identifier Data 122 will have the lowest cardinality (e.g., the fewest distinct entries) in the system. The system may assume that Identifier Data 122 is typically a root level of grouping for many forms of reporting and predictive analysis.
  • a machine learning algorithm that predicts a chance of failure of a car based on miles driven may start off by grouping data by car make and model, then looking for trends within that make and/or model. From a storage/retrieval perspective, the system can assume that most interactions will be use an operator such as "equals" rather than a range operator. Because Identifier Data 122 is root level data, it has the fewer records that Usecase Data 124 or Runtime Data 126. Partitioning the dataset by any value in Identifier Data 122 may provide little benefit when reading, but will be of high value when analyzing the dataset. Caching the Identifier Data 122 is typically very efficient since it is rarely edited. Identifier Data 122 tends to include string values. Records are wide, but collections are not big; therefore, memory space can typically be saved by hashing the Identifier Data to a lookup table. When joining data across families, the Identifier Data 122 is typically the Right Hand Side of the join.
  • Usecase Data 124 is generally data referring to the various ways a device providing data is used. For example, for a thermostat, the Usecase Data 124 may comprise “heating” or “cooling.” Like Identifier Data 122, Usecase Data 124 is typically represented as one or more strings. However, Usecase Data is typically not as amenable to hashing because each part of the Usecase record can be a significant feature. Additionally, analysis of the dataset may focus on drilling down within the Usecase Data 124. Therefore, Usecase Data 124 is often accessed in a variety of methods and at a variety of points in the analysis. Overall system performance can be improved by caching the Usecase Data 124 partitioned by each field in turn.
  • Runtime Data 126 may include information about a particular instance of an Identifier Data as used in the field. For example, for a thermostat runtime data may comprise a temperature measurement and a timestamp indicating a time at which the temperature was recorded.
  • the system may determine that Runtime Data 126 is the largest family of data, typically by orders of magnitude.
  • the system may determine that at least one field in the Runtime Data 126 is a timestamp, and either requires that the timestamp be declared or looks for one in the data. Regardless of the size of the Runtime Data 126 when set up, the system may determine that the Runtime Data 126 will eventually grow to be too large for any form of inmemory data read.
  • the Runtime Data 126 may be data that the system will determine should be stored in the high-volume data storage.
  • the system may determine that the Runtime Data 126 is typically accessed by either a time range scan (e.g., all records over the last week, month, or year) or by a time range scan combined with a partition key from Usecase Data 124 and/or Identifier Data 122 (e.g., all records of the past year grouped by thermostats in heating mode).
  • a time range scan e.g., all records over the last week, month, or year
  • Identifier Data 122 e.g., all records of the past year grouped by thermostats in heating mode
  • the system may algorithmically optimize storage by determining that, based on record timestamp, older data can be moved to less efficient storage at a move rate based on a frequency declared by the analytic operations users have defined (e.g., users that run an analysis of data from the past week will not be as sensitive to slowness in reading 5 year old data as users who's analysis is defined by long-term trends).
  • the system 100 is implemented on one or more digital devices.
  • digital device generally refers to any hardware device that includes a processor.
  • a digital device may refer to a physical device executing an application or a virtual machine. Examples of digital devices include a computer, a tablet, a laptop, a desktop, a netbook, a server, a web server, a network policy server, a proxy server, a generic machine, a function-specific hardware device, a hardware router, a hardware switch, a hardware firewall, a hardware firewall, a hardware network address translator (NAT), a hardware load balancer, a mainframe, a television, a content receiver, a set-top box, a printer, a mobile handset, a smartphone, a personal digital assistant (“PDA”), a wireless receiver and/or transmitter, a base station, a communication management device, a router, a switch, a controller, an access point, and/or a client device.
  • PDA personal digital assistant
  • Figure 2 illustrates an example set of operations for improving system performance based on data characteristics in accordance with one or more embodiments.
  • One or more operations illustrated in Figure 2 may be modified, rearranged, or omitted all together. Accordingly, the particular sequence of operations illustrated in Figure 2 should not be construed as limiting the scope of one or more embodiments.
  • a system receives a data set (Operation 202).
  • the data set can be received as a single unit.
  • the data set can be received over time (e.g., intermittently or periodically).
  • the data can be received from one or more external devices.
  • the data may be received from a connected device, such as an Internet of Things device.
  • the Internet of Things is a system of interrelated computing devices, mechanical and digital machines provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.
  • loT devices may include, for example, building or home automation devices, medical and/or health care devices, transportation devices (e.g., inter- and/or intra-vehicle communication, traffic control, logistics, vehicle safety and/or control), agricultural monitoring devices, and the like. Many kinds of devices can utilize loT architecture.
  • the received data may include one or more data fields (also known as data sets).
  • the received data may include, a timestamp, one or more identifiers identifying the device transmitting the data to the system, one or more data items indicating a mode of usage of the device, and one or more measurements performed by the device.
  • each data item received at the system may include an entry in each of the data fields.
  • a data item received at the system may include only those fields which have changed since a previous data item was received.
  • the system can determine a categorization method for data fields in the data set (Operation 204).
  • the categorization method can be used for one or more of the data fields in the data set. In some embodiments, the same categorization method is used to categorize each data field in the data set. In other embodiments, different categorization methods can be used to categorize different data fields.
  • a data field can be assigned to a category based on frequency at which the data in that field is received or updated.
  • data can be categorized based on an absolute frequency at which data is received or updated (e.g., a number of items corresponding to a particular data field received or updated per second, per minute, or per hour).
  • data can be assigned to a category based on a relative frequency (e.g., a number of items corresponding to a particular data field received or updated in comparison to other fields of the data set).
  • a data field can be assigned to a category based on a number of records in the data in that field.
  • data can be categorized based on an absolute number of records (e.g., a number of records corresponding to a particular data field being less than 100, less than 1000, etc.).
  • data can be assigned to a category based on a relative number of records (e.g., a number of records corresponding to a particular data field in comparison to other fields of the data set).
  • Each field of the received data may be categorized based on the determined categorization method. (Operation 206). Categories to which the data fields may be assigned may include Identifier Data, Usecase Data, or Runtime Data. Identifier Data may include data that identifies a particular device providing the data. Usecase Data may include data associated with a particular function or mode of operation of the device providing the data. Runtime Data may include data associated with activities and/or measurements performed by the device providing the data.
  • categorizing the data can include selecting a first threshold number and a second threshold number.
  • the second threshold number can be greater than the first threshold number.
  • the threshold numbers can be selected based on the data contained in the data set. In other embodiments, the threshold numbers can be predetermined. In embodiments, the second threshold is orders of magnitude greater than the first threshold. The first and second threshold can be used to categorize the data fields.
  • Identifier Data can be human-level characteristics of data.
  • the Identifier Data can include aspects such as device name, serial number, data of purchase, and similar characteristics.
  • Identifier Data can include many different identifiers of a device providing the data.
  • Identifier Data includes data that remains constant or changes very seldomly. Accordingly, Identifier Data may have a relatively high cardinality (e.g., a relatively large number of distinct entries) in the system, but may be updated with the lowest frequency.
  • Usecase Data is generally data referring to the various ways a device providing data is used. For example, for a thermostat, the Usecase Data may comprise “heating” or “cooling.” Typically, Usecase Data is changes relatively infrequently, but more often than Identifier data. Accordingly, Usecase Data has a relatively low cardinality. However, the cardinality of Usecase Data is greater than the cardinality of identifier data. Similarly, Usecase Data is updated with relatively low frequency, but is updated more frequently than Identifier Data.
  • Runtime Data may include information about a particular instance of an Identifier Data as used in the field.
  • runtime data may comprise a temperature measurement and a timestamp indicating a time at which the temperature was recorded.
  • the system may determine that Runtime Data is the largest family of data, typically by orders of magnitude.
  • the system may determine that at least one field in the Runtime Data is a timestamp, and either requires that the timestamp be declared or looks for one in the data. Regardless of the size of the Runtime Data when set up, the system may determine that the Runtime Data will eventually grow to be too large for any form of inmemory data read.
  • the system may determine a storage configuration for storing the data fields based on the determined categorization (Operation 208).
  • Configuring the storage may include selecting a storage medium to which the data field is to be stored.
  • configuring the data further includes specifying a particular layout of the data within the selected storage medium.
  • Configuring the storage may include selecting a particular data structure for use in storing the data field entries.
  • the storage configuration may specify a particular partitioning of a database to improve database performance.
  • the system can rely on a machine learning algorithm to track user input regarding analysis of the data set.
  • the system can track data access operations (e.g., join operations, table scan operations, read operations, and the like) caused by a user.
  • the system can rely on machine learning for determining a pattern in the data access operations, and selecting a storage configuration based in part on the pattern. For example, when a vast majority of data access operations are for data received in the past week, the system can determine that data more than one week old can be stored in a more space efficient and less read-efficient way.
  • the storage configuration can be selected, for example, based in part on the size of the data field.
  • the storage configuration may also be selected based on a way the data field is typically accessed. For example, the frequency with which the data is accessed, and the type of access performed can affect the selected configuration.
  • the system may associate particular access types and frequencies with particular data categories, allowing the system to select particular storage configurations for data fields based on the categorization of the data field.
  • configuring the storage can comprise selecting a storage configuration from among a plurality of storage configurations.
  • the plurality of storage configurations can be predetermined based on typical usage of one or more storage devices.
  • Identifier data is typically a root level of grouping for many forms of reporting and predictive analysis. From a storage/retrieval perspective, most interactions with Identifier Data may use an operator such as "equals" rather than a range operator. Identifier Data has the fewer records that Usecase Data or Runtime Data. Accordingly, partitioning the dataset by any value in Identifier Data may provide little benefit when reading, but will be of high value when analyzing the dataset. Caching the Identifier Data is typically very efficient since it is rarely edited. Identifier Data tends to include string values. Records are wide, but collections are not big; therefore, memory space can typically be saved by hashing the Identifier Data to a lookup table. When joining data across families, the Identifier Data is typically the Right-Hand Side of the join.
  • Usecase Data is typically represented as one or more strings.
  • Usecase Data is typically not as amenable to hashing because each part of the Usecase record can be a significant feature. Additionally, analysis of the dataset may focus on drilling down within the Usecase Data. Therefore, Usecase Data is often accessed in a variety of methods and at a variety of points in the analysis. Overall system performance can be improved by caching the Usecase data partitioned by each field in turn. While this caching procedure caches more data than a single partitioning, the cache is likely to be valuable. Further, because Usecase Data has a relatively low row count, caching the Usecase Data is not prohibitively memory expensive. Because the system decides the Usecase Data should be cached, storage of the Usecase Data on disc does not need to be particularly read-efficient. Rather, the storage can be space-efficient, aggressively compressing the Usecase Data.
  • Runtime Data may be stored in the high-volume data storage. Because the Runtime Data typically includes a large data set including different reports (often many reports) from the same physical object (e.g., the device that is currently in operation), the system may determine that the Runtime Data is typically accessed by either a time range scan (e.g., all records over the last week, month, or year) or by a time range scan combined with a partition key from Usecase Data or Identifier Data (e.g., all records of the past year grouped by thermostats in heating mode, all record of the past year grouped based on serial number).
  • a time range scan e.g., all records over the last week, month, or year
  • Identifier Data e.g., all records of the past year grouped by thermostats in heating mode, all record of the past year grouped based on serial number.
  • the system may algorithmically optimize storage by determining that, based on record timestamp, older data can be moved to less read-efficient storage at a move rate based on a frequency declared by the analytic operations users have defined (e.g., users that run an analysis of data from the past week will not be as sensitive to slowness in reading 5 year old data as users who's analysis is defined by long-term trends).
  • the system stores the data (Operation 210).
  • Storing the data may include storing data to the selected storage device.
  • Storing the data may include creating a data structure according to the selected storage configuration.
  • data storage may include selecting a new data configuration. For example, in response to one or more of a user access pattern change, a data inflow pattern change, or as discovered knowledge about those patterns grow, selecting a new storage configuration (and storing data based on the newly-selected storage configuration) is not only possible but likely.
  • Figure 3 A shows a connected thermostat device 302 that transmits data to a system 304 for collection, as represented by arrows 306.
  • device 302 may transmit Identifier Data 306a, Usecase Data 306b, and Runtime Data 306c.
  • the thickness of the arrow corresponds to the relative number of updates to each of the data categories.
  • the data set includes a data field “Device Identifier,” a data field “Device Mode,” a data field “Temperature,” and a timestamp.
  • the device 302 transmits a temperature measurement to the system 304 once per second. With each measurement, the device also transmits an identifier (e.g., the “Device Identifier” data field). Additionally, the device transmits an indicator of its operational mode (e.g., the “Device Mode” data field).
  • the device “Device Ol” transitions from a “Cooling” mode to a “Heating” mode at the time 12:00:00.
  • the change in mode could indicate a user interaction to change the mode, a scheduled mode change, or other reason for mode transition.
  • the system categorizes each of the data fields as one of Identifier Data, Usecase Data, or Runtime Data.
  • the system sets a first threshold at 1 and a second threshold at 5.
  • the “Device Identifier” field includes 1 update, which does not exceed the first threshold or the second threshold. Accordingly, the “Device Identifier” data field is categorized as Identifier Data.
  • the “Device Mode” field includes 2 updates, which exceeds the first threshold but does not exceed the second threshold. Accordingly, the “Device Mode” data field is categorized as Usecase Data.
  • the “Temperature” and “Timestamp” fields each include 11 updates, which exceeds both the first threshold and the second threshold. Accordingly, the “Temperature” and “Timestamp” data fields are each categorized as Runtime Data.
  • the system can determine a storage configuration for each category of data.
  • the system can select a storage configuration that is space-efficient, such as a heavily compressed storage configuration.
  • the system can further recommend caching the Identifier Data for quick retrieval.
  • the Usecase Data e.g., the “Device Mode” data field
  • the system can select a storage configuration that is space-efficient, such as a heavily compressed storage configuration.
  • the Runtime Data e.g., the “Temperature” and “Timestamp” data fields
  • the system can recognize that these data fields are likely to grow quickly, and determine a storage configuration that allows for large volumes of data to be stored efficiently.
  • the system can structure the data storage in a way that leads to increased efficiency when reading the data.
  • the data can be stored chronologically, since it is likely that analysis of the data will result in retrieving data that spans a particular time range.
  • the data from each field can be stored according to the selected storage configurations.
  • Embodiments are directed to a system with one or more devices that include a hardware processor and that are configured to perform any of the operations described herein and/or recited in any of the claims below.
  • a non-transitory computer readable storage medium comprises instructions which, when executed by one or more hardware processors, causes performance of any of the operations described herein and/or recited in any of the claims.
  • the techniques described herein are implemented by one or more special-purpose computing devices.
  • the special-purpose computing devices may be hard-wired to perform the techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or network processing units (NPUs) that are persistently programmed to perform the techniques, or may include one or more general purpose hardware processors programmed to perform the techniques pursuant to program instructions in firmware, memory, other storage, or a combination.
  • ASICs application-specific integrated circuits
  • FPGAs field programmable gate arrays
  • NPUs network processing units
  • Such special-purpose computing devices may also combine custom hard-wired logic, ASICs, FPGAs, or NPUs with custom programming to accomplish the techniques.
  • the special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices or any other device that incorporates hard-wired and/or program logic to implement the techniques.
  • Figure 4 is a block diagram that illustrates a computer system 400 upon which an embodiment of the invention may be implemented.
  • Computer system 400 includes a bus 402 or other communication mechanism for communicating information, and a hardware processor 404 coupled with bus 402 for processing information.
  • Hardware processor 404 may be, for example, a general purpose microprocessor.
  • Computer system 400 also includes a main memory 406, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 402 for storing information and instructions to be executed by processor 404.
  • Main memory 406 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 404.
  • Such instructions when stored in non-transitoiy storage media accessible to processor 404, render computer system 400 into a special-purpose machine that is customized to perform the operations specified in the instructions.
  • Computer system 400 further includes a read only memory (ROM) 408 or other static storage device coupled to bus 402 for storing static information and instructions for processor 404.
  • ROM read only memory
  • a storage device 410 such as a magnetic disk or optical disk, is provided and coupled to bus 402 for storing information and instructions.
  • Computer system 400 may be coupled via bus 402 to a display 412, such as a cathode ray tube (CRT), for displaying information to a computer user.
  • a display 412 such as a cathode ray tube (CRT)
  • An input device 414 is coupled to bus 402 for communicating information and command selections to processor 404.
  • cursor control 416 is Another type of user input device
  • cursor control 416 such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 404 and for controlling cursor movement on display 412.
  • This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
  • Computer system 400 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and/or program logic which in combination with the computer system causes or programs computer system 400 to be a special-purpose machine. According to one embodiment, the techniques herein are performed by computer system 400 in response to processor 404 executing one or more sequences of one or more instructions contained in main memory 406. Such instructions may be read into main memory 406 from another storage medium, such as storage device 410. Execution of the sequences of instructions contained in main memory 406 causes processor 404 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
  • Non-volatile media includes, for example, optical or magnetic disks, such as storage device 410.
  • Volatile media includes dynamic memory, such as main memory 406.
  • Common forms of storage media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge, content-addressable memory (CAM), and ternary content- addressable memory (TCAM).
  • a floppy disk a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium
  • CD-ROM any other optical data storage medium
  • any physical medium with patterns of holes a RAM, a PROM, and EPROM
  • FLASH-EPROM any other memory chip or cartridge
  • CAM content-addressable memory
  • TCAM ternary content- addressable memory
  • Storage media is distinct from but may be used in conjunction with transmission media.
  • Transmission media participates in transferring information between storage media.
  • transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 402.
  • transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
  • Various forms of media may be involved in carrying one or more sequences of one or more instructions to processor 404 for execution.
  • the instructions may initially be carried on a magnetic disk or solid state drive of a remote computer.
  • the remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem.
  • a modem local to computer system 400 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal.
  • An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 402.
  • Bus 402 carries the data to main memory 406, from which processor 404 retrieves and executes the instructions.
  • Computer system 400 also includes a communication interface 418 coupled to bus 402.
  • Communication interface 418 provides a two-way data communication coupling to a network link 420 that is connected to a local network 422.
  • communication interface 418 may be an integrated services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line.
  • ISDN integrated services digital network
  • communication interface 418 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN.
  • LAN local area network
  • Wireless links may also be implemented.
  • communication interface 418 sends and receives electrical, electromagnetic, or optical signals that carry digital data streams representing various types of information.
  • Network link 420 typically provides data communication through one or more networks to other data devices.
  • network link 420 may provide a connection through local network 422 to a host computer 424 or to data equipment operated by an Internet Service Provider (ISP) 426.
  • ISP 426 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 428.
  • Internet 428 uses electrical, electromagnetic or optical signals that carry digital data streams.
  • the signals through the various networks and the signals on network link 420 and through communication interface 418, which carry the digital data to and from computer system 400, are example forms of transmission media.
  • Computer system 400 can send messages and receive data, including program code, through the network(s), network link 420 and communication interface 418.
  • a server 430 might transmit a requested code for an application program through Internet 428, ISP 426, local network 422 and communication interface 418.
  • the received code may be executed by processor 404 as it is received, and/or stored in storage device 410, or other non-volatile storage for later execution.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Techniques for improving system performance based on data characteristics are disclosed. A system may receive updates to a first data set at a first frequency. The system selects a first storage configuration, from a plurality of storage configurations, for storing the first data set based on the first frequency, and stores the first data set in accordance with the first storage configuration. The system may further receive updates to a second data set at a second frequency. The system selects a second storage configuration, from the plurality of storage configurations, for storing the second data set based on the second frequency, and stores the second data set in accordance with the second storage configuration. The second storage configuration is different than the first storage configuration.

Description

DYNAMIC PERFORMANCE TUNING BASED ON IMPLIED DATA CHARACTERISTICS
TECHNICAL FIELD
[0001] The present disclosure relates to data analytics. In particular, the present disclosure relates to techniques for improving system performance based on data characteristics.
BACKGROUND
[0002] Internet of Things (loT) devices produce a data set that include data of three distinct categories: Identifier data, Usecase Data, and Runtime Data. The data produced by the loT devices
[0003] Identifier Data may include human-readable and/or human-understandable characteristics of a device producing the data. In particular, Identifier Data can include aspects such as device name, serial number, data of purchase, and similar characteristics. Identifier Data can include many different identifiers of a device providing the data. Typically, Identifier Data includes data that remains constant or changes very seldomly. Identifier Data will have the lowest cardinality (e.g., the fewest distinct fields or combination of fields) in the system.
Usecase Data is generally data referring to the various ways a device providing data is used. For example, for a thermostat, the Usecase Data may comprise “heating” or “cooling.” Like Identifier Data, Usecase Data is typically represented as one or more strings. Runtime Data may include information measured by the device as used in the field. As an example, for a thermostat Runtime Data may include a temperature measurement and a timestamp indicating a time at which the temperature was recorded. The Runtime Data is typically the largest category of data, often by orders of magnitude.
[0004] The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] The embodiments are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and they mean at least one. In the drawings:
[0006] Figure 1 illustrates a system in accordance with one or more embodiments;
[0007] Figure 2 illustrates an example set of operations for improving system performance based on data characteristics in accordance with one or more embodiments;
[0008] Figures 3 A and 3B illustrate an example system for improving system performance based on data characteristics; and
[0009] Figure 4 shows a block diagram that illustrates a computer system in accordance with one or more embodiments.
DETAILED DESCRIPTION
[0010] In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding. One or more embodiments may be practiced without these specific details. Features described in one embodiment may be combined with features described in a different embodiment. In some examples, well-known structures and devices are described with reference to a block diagram form in order to avoid unnecessarily obscuring the present invention.
1. GENERAL OVERVIEW
2. ARCHITECTURAL OVERVIEW
3. IMPROVING SYSTEM PERFORMANCE BASED ON DATA
CHARACTERISTICS
4. EXAMPLE EMBODIMENT
5. MISCELLANEOUS; EXTENSIONS
6. HARDWARE OVERVIEW
[0011] 1. GENERAL OVERVIEW
[0012] One or more embodiments include systems for performance tuning based on data characteristics. Users of big data systems may use heterogenous storage mechanisms that do not support traditional cost-based query tuning since they are backed by storage systems that do not provide commonly-used features like indexes, row counts, data cardinality statistics and similar tools, or since the heterogeneous nature of the storage systems prevent cross-storage optimization. However, with time-series based data, inherent aspects of the data, the storage patterns, and implied aspects of the data based on the query itself, can be used to deduce presumed patterns and help to optimize execution of the query. User defined metadata about how data sources are related provides insight into what kind of data is stored in each system and the metadata can be used to deduce missing statistical information about the stored data. Similarly, once some information about a particular data source is known, the characteristics of other data sources can be assumed.
[0013] In embodiments, the system may determine how to store and access data by grouping the data. For example, when processing data from one or more Internet of Things (loT) devices, the system may group data into one of three families of data that it considers characteristic of Internet of Things data. The system may use information about what data has been grouped into each family to make assumptions about what data should be found in the other families and to adjust storage and retrieval processes accordingly.
[0014] The three families of data used for Internet of Things data can be, for example, Identifier Data, Usecase Data and Runtime Data. The system may use these families of data because they allow efficient, definable classification and because the classifications will in turn allow for estimation of use cases.
[0015] Data fields within the data set can be grouped based on characteristics of the data. In particular, data fields can be categorized based on one or more characteristics of the data stored in that field, such as cardinality (e.g., a number of entries in the data field) and/or update frequency (e.g., a frequency with which data in the field is updated).
[0016] One or more embodiments described in this Specification and/or recited in the claims may not be included in this General Overview section.
[0017] 2. ARCHITECTURAL OVERVIEW
[0018] Figure 1 illustrates a system 100 in accordance with one or more embodiments. As illustrated in Figure 1, system 100 includes a performance tuning engine 102, a user interface 114, one or more external data sources 118, a data repository 120, and various components thereof. In one or more embodiments, the system 100 may include more or fewer components than the components illustrated in Figure 1. The components illustrated in Figure 1 may be local to or remote from each other. The components illustrated in Figure 1 may be implemented in software and/or hardware. Each component may be distributed over multiple applications and/or machines. Multiple components may be combined into one application and/or machine. Operations described with respect to one component may instead be performed by another component.
[0019] In one or more embodiments, the user interface 114 refers to hardware and/or software configured to facilitate communications between a user and the interface creation engine 102. The user interface 114 may be used by a user who accesses an interface (e.g., a dashboard interface) for work and/or personal activities. The user interface 114 may be associated with one or more devices for presenting visual media, such as a display 116, including a monitor, a television, a projector, and/or the like. User interface 114 renders user interface elements and receives input via user interface elements. Examples of interfaces include a graphical user interface (GUI), a command line interface (CLI), a haptic interface, and a voice command interface. Examples of user interface elements include checkboxes, radio buttons, dropdown lists, list boxes, buttons, toggles, text fields, date and time selectors, command lines, sliders, pages, and forms.
[0020] In an embodiment, different components of the user interface 114 are specified in different languages. The behavior of user interface elements is specified in a dynamic programming language, such as JavaScript. The content of user interface elements is specified in a markup language, such as hypertext markup language (HTML) or XML User Interface Language (XUL). The layout of user interface elements is specified in a style sheet language, such as Cascading Style Sheets (CSS). Alternatively, the user interface 114 is specified in one or more other languages, such as Java, C, or C++.
[0021] In one or more embodiments, the performance tuning engine 102 refers to hardware and/or software configured to perform operations described herein for dynamic performance tuning based on implied data characteristics. Examples of operations for dynamic performance tuning based on implied data characteristics are described below with reference to Figure 2. [0022] In an embodiment, the performance tuning engine 102 includes a data categorization component 104. The data categorization component 104 may refer to hardware and/or software configured to perform operations described herein (including such operations as may be incorporated by reference) for recognizing input from a user.
[0023] In an embodiment, the performance tuning engine 102 includes a category analysis component 106. The category analysis component 106 may refer to hardware and/or software configured to perform generation and/or identification of query suggestions.
[0024] In an embodiment, the performance tuning engine 102 includes a storage configuration manager 106. The storage configuration manager 106 may refer to hardware and/or software configured to perform selection of one of the selected queries.
[0025] In an embodiment, one or more components of the performance tuning engine 102 use a machine learning engine 110. Machine learning includes various techniques in the field of artificial intelligence that deal with computer-implemented, user-independent processes for solving problems that have variable inputs.
[0026] In some embodiments, the machine learning engine 110 trains a machine learning model 112 to perform one or more operations. In particular, the machine learning engine 110 may train the machine learning model 112 to receive, as input, one or more records of a data set, divide the one or more records into one or more data fields. The one or more machine learning engine 110 may cause the machine learning model 112 to determine one or more characteristics associated with each of the data fields, and to select a storage configuration for the data field based on the one or more characteristics.
[0027] Training a machine learning model 112 uses training data to generate a function that, given one or more inputs to the machine learning model 112, computes a corresponding output. In at least some embodiments, the machine learning model 112 may include a two-step process, such that data is input to an algorithm that outputs a model and date is fed to the model to produce an output. The output may correspond to a prediction based on prior machine learning. In an embodiment, the output includes a label, classification, and/or categorization assigned to the provided input(s). The machine learning model 112 corresponds to a learned model for performing the desired operation(s) (e.g., labeling, classifying, and/or categorizing inputs). The performance tuning engine 102 may use multiple machine learning engines 110 and/or multiple machine learning models 112 for different purposes.
[0028] In an embodiment, the machine learning engine 110 may use supervised learning, semi-supervised learning, unsupervised learning, reinforcement learning, and/or another training method or combination thereof. In supervised learning, labeled training data includes input/output pairs in which each input is labeled with a desired output (e.g., a label, classification, and/or categorization), also referred to as a supervisory signal. In semi-supervised learning, some inputs are associated with supervisory signals and other inputs are not associated with supervisory signals. In unsupervised learning, the training data does not include supervisory signals. Reinforcement learning uses a feedback system in which the machine learning engine 110 receives positive and/or negative reinforcement in the process of attempting to solve a particular problem (e.g., to optimize performance in a particular scenario, according to one or more predefined performance criteria). In an embodiment, the machine learning engine 110 initially uses supervised learning to train the machine learning model 112 and then uses unsupervised learning to update the machine learning model 112 on an ongoing basis.
[0029] In an embodiment, a machine learning engine 110 may use many different techniques to label, classify, and/or categorize inputs. A machine learning engine 110 may transform inputs into feature vectors that describe one or more properties (“features”) of the inputs. The machine learning engine 110 may label, classify, and/or categorize the inputs based on the feature vectors. Alternatively or additionally, a machine learning engine 110 may use clustering (also referred to as cluster analysis) to identify commonalities in the inputs. The machine learning engine 110 may group (/.< ., cluster) the inputs based on those commonalities. The machine learning engine 110 may use hierarchical clustering, k-means clustering, and/or another clustering method or combination thereof. In an embodiment, a machine learning engine 110 includes an artificial neural network. An artificial neural network includes multiple nodes (also referred to as artificial neurons) and edges between nodes. Edges may be associated with corresponding weights that represent the strengths of connections between nodes, which the machine learning engine 110 adjusts as machine learning proceeds. Alternatively or additionally, a machine learning engine 110 may include a support vector machine. A support vector machine represents inputs as vectors. The machine learning engine 110 may label, classify, and/or categorizes inputs based on the vectors. Alternatively or additionally, the machine learning engine 110 may use a naive Bayes classifier to label, classify, and/or categorize inputs. Alternatively or additionally, given a particular input, a machine learning model may apply a decision tree to predict an output for the given input. Alternatively or additionally, a machine learning engine 110 may apply fuzzy logic in situations where labeling, classifying, and/or categorizing an input among a fixed set of mutually exclusive options is impossible or impractical. The aforementioned machine learning model 112 and techniques are discussed for exemplary purposes only and should not be construed as limiting one or more embodiments.
[0030] In an embodiment, as a machine learning engine 110 applies different inputs to a machine learning model 112, the corresponding outputs are not always accurate. As an example, the machine learning engine 110 may use supervised learning to train a machine learning model 112. After training the machine learning model 112, if a subsequent input is identical to an input that was included in labeled training data and the output is identical to the supervisory signal in the training data, then output is certain to be accurate. If an input is different from inputs that were included in labeled training data, then the machine learning engine 110 may generate a corresponding output that is inaccurate or of uncertain accuracy. In addition to producing a particular output for a given input, the machine learning engine 110 may be configured to produce an indicator representing a confidence (or lack thereof) in the accuracy of the output. A confidence indicator may include a numeric score, a Boolean value, and/or any other kind of indicator that corresponds to a confidence (or lack thereof) in the accuracy of the output.
[0031] In embodiments, the machine learning model may be used for anomaly detection. Three broad categories of anomaly detection techniques exist. Unsupervised anomaly detection techniques detect anomalies in an unlabeled test data set under the assumption that the majority of the instances in the data set are normal by looking for instances that seem to fit least to the remainder of the data set. Supervised anomaly detection techniques may provide, as training input, a first data set that has been labeled as "normal" and a second data set that has been labeled as "abnormal", and training a classifier using the first and second data sets to determine whether an unlabeled input should be labeled as “normal” or “abnormal.” Semi-supervised anomaly detection techniques construct a model representing normal behavior from a given normal training data set, and then test the likelihood of a test instance to be generated by the model.
[0032] In an embodiment, the performance tuning engine 102 is configured to receive data from one or more external data sources 118. An external data source 118 refers to hardware and/or software operating independent of the performance tuning engine 102. For example, the hardware and/or software of the external data source 118 may be under control of a different entity (e.g., a different company or other kind of organization) than an entity that controls the query suggestion engine. An external data source 118 may supply data associated with one or more internet of things (loT) devices.
[0033] In an embodiment, the performance tuning engine 102 is configured to retrieve data from an external data source 118 by ‘pulling’ the data via an application programming interface (API) of the external data source 118, using user credentials that a user has provided for that particular external data source 118. Alternatively or additionally, an external data source 118 may be configured to ‘push’ data to the performance tuning engine 102 via an API, using an access key, password, and/or other kind of credential that a user has supplied to the external data source 118. The performance tuning engine 102 may be configured to receive data from an external data source 118 in many different ways.
[0034] In one or more embodiments, a data repository 120 is any type of storage unit and/or device (e.g., a file system, database, collection of tables, or any other storage mechanism) for storing data. Further, a data repository 120 may include multiple different storage units and/or devices. The multiple different storage units and/or devices may or may not be of the same type or located at the same physical site. Further, a data repository 120 may be implemented or may execute on the same computing system as the performance tuning engine 102 and/or the external data source 118. Alternatively or additionally, a data repository 120 may be implemented or executed on a computing system separate from the performance tuning engine 102 and/or the external data source 118. A data repository 120 may be communicatively coupled to the performance tuning engine 102 and/or the external data source 118 via a direct connection or via a network. In some embodiments, the data repository 120 includes one or more data caches, allowing the system 100 to store data in a location that is persistent, but not permanent.
Alternatively or additionally, the system 100 may use at least a portion of the one or more data caches included in the data repository 120 to store summary statistics related to the dataset. [0035] The data repository can serve as a repository for many types of data. For example, the data stored in the data repository can represent data received from one or more loT devices. The data can be categorized based on various criteria. The categorization can be selected to allow efficient, definable classification of data, and to provide for estimation of use cases. Without algorithmic classification, manual declaration by a user with expertise in the business space and the computing technology is required to optimize partitioning of data on disc, creation of indexes for efficient retrieval, and caching strategies. As a particular example, data can be categorized as one of Identifier Data 122, Usecase Data 124, or Runtime Data 126, as shown in Figure 1. Identifier Data 122 may include data that identifies a particular device providing the data. Usecase Data 124 may include data associated with a particular function of the device providing the data. Runtime Data 126 may include data associated with activities performed by the device providing the data.
[0036] Identifier Data 122 can be human-readable and/or human-understandable characteristics of data. The Identifier Data 122 can include aspects such as device name, serial number, data of purchase, and similar characteristics. Identifier Data 122 can include many different identifiers of a device providing the data. Typically, Identifier Data 122 includes data that remains constant or changes very seldomly. The system can assume that Identifier Data 122 will have the lowest cardinality (e.g., the fewest distinct entries) in the system. The system may assume that Identifier Data 122 is typically a root level of grouping for many forms of reporting and predictive analysis. For example, a machine learning algorithm that predicts a chance of failure of a car based on miles driven may start off by grouping data by car make and model, then looking for trends within that make and/or model. From a storage/retrieval perspective, the system can assume that most interactions will be use an operator such as "equals" rather than a range operator. Because Identifier Data 122 is root level data, it has the fewer records that Usecase Data 124 or Runtime Data 126. Partitioning the dataset by any value in Identifier Data 122 may provide little benefit when reading, but will be of high value when analyzing the dataset. Caching the Identifier Data 122 is typically very efficient since it is rarely edited. Identifier Data 122 tends to include string values. Records are wide, but collections are not big; therefore, memory space can typically be saved by hashing the Identifier Data to a lookup table. When joining data across families, the Identifier Data 122 is typically the Right Hand Side of the join.
[0037] Usecase Data 124 is generally data referring to the various ways a device providing data is used. For example, for a thermostat, the Usecase Data 124 may comprise “heating” or “cooling.” Like Identifier Data 122, Usecase Data 124 is typically represented as one or more strings. However, Usecase Data is typically not as amenable to hashing because each part of the Usecase record can be a significant feature. Additionally, analysis of the dataset may focus on drilling down within the Usecase Data 124. Therefore, Usecase Data 124 is often accessed in a variety of methods and at a variety of points in the analysis. Overall system performance can be improved by caching the Usecase Data 124 partitioned by each field in turn. While this caching procedure caches more data than a single partitioning, the cache is likely to be valuable. Further, because Usecase Data 124 has a relatively low row count, caching the Usecase Data is not prohibitively memory expensive. Because the system decides the Usecase Data 124 should be cached, storage of the Usecase Data on disc does not need to be particularly read-efficient. Rather, the storage can be space-efficient, aggressively compressing the Usecase Data 124. [0038] Runtime Data 126 may include information about a particular instance of an Identifier Data as used in the field. For example, for a thermostat runtime data may comprise a temperature measurement and a timestamp indicating a time at which the temperature was recorded. The system may determine that Runtime Data 126 is the largest family of data, typically by orders of magnitude. The system may determine that at least one field in the Runtime Data 126 is a timestamp, and either requires that the timestamp be declared or looks for one in the data. Regardless of the size of the Runtime Data 126 when set up, the system may determine that the Runtime Data 126 will eventually grow to be too large for any form of inmemory data read. In a heterogeneous data environment like one with both a relational database and high-volume data storage, the Runtime Data 126 may be data that the system will determine should be stored in the high-volume data storage. Because the Runtime Data 126 is typically predicted to be so large and to include different reports (often many reports) from the same physical object (e.g., the device that is currently in operation), the system may determine that the Runtime Data 126 is typically accessed by either a time range scan (e.g., all records over the last week, month, or year) or by a time range scan combined with a partition key from Usecase Data 124 and/or Identifier Data 122 (e.g., all records of the past year grouped by thermostats in heating mode). The system may algorithmically optimize storage by determining that, based on record timestamp, older data can be moved to less efficient storage at a move rate based on a frequency declared by the analytic operations users have defined (e.g., users that run an analysis of data from the past week will not be as sensitive to slowness in reading 5 year old data as users who's analysis is defined by long-term trends).
[0039] In an embodiment, the system 100 is implemented on one or more digital devices. The term “digital device” generally refers to any hardware device that includes a processor. A digital device may refer to a physical device executing an application or a virtual machine. Examples of digital devices include a computer, a tablet, a laptop, a desktop, a netbook, a server, a web server, a network policy server, a proxy server, a generic machine, a function-specific hardware device, a hardware router, a hardware switch, a hardware firewall, a hardware firewall, a hardware network address translator (NAT), a hardware load balancer, a mainframe, a television, a content receiver, a set-top box, a printer, a mobile handset, a smartphone, a personal digital assistant (“PDA”), a wireless receiver and/or transmitter, a base station, a communication management device, a router, a switch, a controller, an access point, and/or a client device.
[0040] 3. IMPROVING SYSTEM PERFORMANCE BASED ON DATA
CHARACTERISTICS
[0041] Figure 2 illustrates an example set of operations for improving system performance based on data characteristics in accordance with one or more embodiments. One or more operations illustrated in Figure 2 may be modified, rearranged, or omitted all together. Accordingly, the particular sequence of operations illustrated in Figure 2 should not be construed as limiting the scope of one or more embodiments.
[0042] In an embodiment, a system (e.g., one or more components of system 100) receives a data set (Operation 202). In some embodiments, the data set can be received as a single unit. In other embodiments, the data set can be received over time (e.g., intermittently or periodically). In some aspects, the data can be received from one or more external devices. In particular, the data may be received from a connected device, such as an Internet of Things device. The Internet of Things (loT) is a system of interrelated computing devices, mechanical and digital machines provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction. loT devices may include, for example, building or home automation devices, medical and/or health care devices, transportation devices (e.g., inter- and/or intra-vehicle communication, traffic control, logistics, vehicle safety and/or control), agricultural monitoring devices, and the like. Many kinds of devices can utilize loT architecture.
[0043] The received data may include one or more data fields (also known as data sets). As an example, the received data may include, a timestamp, one or more identifiers identifying the device transmitting the data to the system, one or more data items indicating a mode of usage of the device, and one or more measurements performed by the device. In some aspects, each data item received at the system may include an entry in each of the data fields. In other aspects, a data item received at the system may include only those fields which have changed since a previous data item was received.
[0044] The system can determine a categorization method for data fields in the data set (Operation 204). The categorization method can be used for one or more of the data fields in the data set. In some embodiments, the same categorization method is used to categorize each data field in the data set. In other embodiments, different categorization methods can be used to categorize different data fields.
[0045] As an example, a data field can be assigned to a category based on frequency at which the data in that field is received or updated. For example, data can be categorized based on an absolute frequency at which data is received or updated (e.g., a number of items corresponding to a particular data field received or updated per second, per minute, or per hour). As another example, data can be assigned to a category based on a relative frequency (e.g., a number of items corresponding to a particular data field received or updated in comparison to other fields of the data set).
[0046] As another example, a data field can be assigned to a category based on a number of records in the data in that field. For example, data can be categorized based on an absolute number of records (e.g., a number of records corresponding to a particular data field being less than 100, less than 1000, etc.). As another example, data can be assigned to a category based on a relative number of records (e.g., a number of records corresponding to a particular data field in comparison to other fields of the data set).
[0047] Each field of the received data may be categorized based on the determined categorization method. (Operation 206). Categories to which the data fields may be assigned may include Identifier Data, Usecase Data, or Runtime Data. Identifier Data may include data that identifies a particular device providing the data. Usecase Data may include data associated with a particular function or mode of operation of the device providing the data. Runtime Data may include data associated with activities and/or measurements performed by the device providing the data.
[0048] In some embodiments, categorizing the data can include selecting a first threshold number and a second threshold number. The second threshold number can be greater than the first threshold number. In some embodiments, the threshold numbers can be selected based on the data contained in the data set. In other embodiments, the threshold numbers can be predetermined. In embodiments, the second threshold is orders of magnitude greater than the first threshold. The first and second threshold can be used to categorize the data fields.
[0049] As an example, data fields that do not exceed the first threshold may be categorized as Identifier Data. Identifier Data can be human-level characteristics of data. The Identifier Data can include aspects such as device name, serial number, data of purchase, and similar characteristics. Identifier Data can include many different identifiers of a device providing the data. Typically, Identifier Data includes data that remains constant or changes very seldomly. Accordingly, Identifier Data may have a relatively high cardinality (e.g., a relatively large number of distinct entries) in the system, but may be updated with the lowest frequency.
[0050] As another example, data fields that exceed the first threshold but do not exceed the second threshold may be categorized as Usecase Data. Usecase Data is generally data referring to the various ways a device providing data is used. For example, for a thermostat, the Usecase Data may comprise “heating” or “cooling.” Typically, Usecase Data is changes relatively infrequently, but more often than Identifier data. Accordingly, Usecase Data has a relatively low cardinality. However, the cardinality of Usecase Data is greater than the cardinality of identifier data. Similarly, Usecase Data is updated with relatively low frequency, but is updated more frequently than Identifier Data.
[0051] As a third example, data fields that exceed both the first threshold and the second threshold may be categorized as Runtime Data. Runtime Data may include information about a particular instance of an Identifier Data as used in the field. For example, for a thermostat runtime data may comprise a temperature measurement and a timestamp indicating a time at which the temperature was recorded. The system may determine that Runtime Data is the largest family of data, typically by orders of magnitude. The system may determine that at least one field in the Runtime Data is a timestamp, and either requires that the timestamp be declared or looks for one in the data. Regardless of the size of the Runtime Data when set up, the system may determine that the Runtime Data will eventually grow to be too large for any form of inmemory data read.
[0052] The system may determine a storage configuration for storing the data fields based on the determined categorization (Operation 208). Configuring the storage may include selecting a storage medium to which the data field is to be stored. In embodiments, configuring the data further includes specifying a particular layout of the data within the selected storage medium. Configuring the storage may include selecting a particular data structure for use in storing the data field entries. Additionally, the storage configuration may specify a particular partitioning of a database to improve database performance.
[0053] In embodiments, the system can rely on a machine learning algorithm to track user input regarding analysis of the data set. For example, the system can track data access operations (e.g., join operations, table scan operations, read operations, and the like) caused by a user. The system can rely on machine learning for determining a pattern in the data access operations, and selecting a storage configuration based in part on the pattern. For example, when a vast majority of data access operations are for data received in the past week, the system can determine that data more than one week old can be stored in a more space efficient and less read-efficient way. [0054] The storage configuration can be selected, for example, based in part on the size of the data field. The storage configuration may also be selected based on a way the data field is typically accessed. For example, the frequency with which the data is accessed, and the type of access performed can affect the selected configuration. The system may associate particular access types and frequencies with particular data categories, allowing the system to select particular storage configurations for data fields based on the categorization of the data field. In some embodiments, configuring the storage can comprise selecting a storage configuration from among a plurality of storage configurations. The plurality of storage configurations can be predetermined based on typical usage of one or more storage devices.
[0055] As a particular example, Identifier data is typically a root level of grouping for many forms of reporting and predictive analysis. From a storage/retrieval perspective, most interactions with Identifier Data may use an operator such as "equals" rather than a range operator. Identifier Data has the fewer records that Usecase Data or Runtime Data. Accordingly, partitioning the dataset by any value in Identifier Data may provide little benefit when reading, but will be of high value when analyzing the dataset. Caching the Identifier Data is typically very efficient since it is rarely edited. Identifier Data tends to include string values. Records are wide, but collections are not big; therefore, memory space can typically be saved by hashing the Identifier Data to a lookup table. When joining data across families, the Identifier Data is typically the Right-Hand Side of the join.
[0056] As another example, Usecase Data is typically represented as one or more strings. However, Usecase Data is typically not as amenable to hashing because each part of the Usecase record can be a significant feature. Additionally, analysis of the dataset may focus on drilling down within the Usecase Data. Therefore, Usecase Data is often accessed in a variety of methods and at a variety of points in the analysis. Overall system performance can be improved by caching the Usecase data partitioned by each field in turn. While this caching procedure caches more data than a single partitioning, the cache is likely to be valuable. Further, because Usecase Data has a relatively low row count, caching the Usecase Data is not prohibitively memory expensive. Because the system decides the Usecase Data should be cached, storage of the Usecase Data on disc does not need to be particularly read-efficient. Rather, the storage can be space-efficient, aggressively compressing the Usecase Data.
[0057] As another example, Runtime Data may be stored in the high-volume data storage. Because the Runtime Data typically includes a large data set including different reports (often many reports) from the same physical object (e.g., the device that is currently in operation), the system may determine that the Runtime Data is typically accessed by either a time range scan (e.g., all records over the last week, month, or year) or by a time range scan combined with a partition key from Usecase Data or Identifier Data (e.g., all records of the past year grouped by thermostats in heating mode, all record of the past year grouped based on serial number). The system may algorithmically optimize storage by determining that, based on record timestamp, older data can be moved to less read-efficient storage at a move rate based on a frequency declared by the analytic operations users have defined (e.g., users that run an analysis of data from the past week will not be as sensitive to slowness in reading 5 year old data as users who's analysis is defined by long-term trends).
[0058] In some embodiments, following selection of a storage configuration, the system stores the data (Operation 210). Storing the data may include storing data to the selected storage device. Storing the data may include creating a data structure according to the selected storage configuration. In some embodiments, data storage may include selecting a new data configuration. For example, in response to one or more of a user access pattern change, a data inflow pattern change, or as discovered knowledge about those patterns grow, selecting a new storage configuration (and storing data based on the newly-selected storage configuration) is not only possible but likely. [0059] 4. EXAMPLE EMBODIMENT
[0060] A detailed example is described below for purposes of clarity. Components and/or operations described below should be understood as one specific example which may not be applicable to certain embodiments. Accordingly, components and/or operations described below should not be construed as limiting the scope of any of the claims.
[0061] Figure 3 A shows a connected thermostat device 302 that transmits data to a system 304 for collection, as represented by arrows 306. In particular, device 302 may transmit Identifier Data 306a, Usecase Data 306b, and Runtime Data 306c. As shown in Figure 3 A, the thickness of the arrow corresponds to the relative number of updates to each of the data categories.
[0062] As shown in Figure 3B, the data set includes a data field “Device Identifier,” a data field “Device Mode,” a data field “Temperature,” and a timestamp. As shown in the “Timestamp” and “Temperature” data fields, the device 302 transmits a temperature measurement to the system 304 once per second. With each measurement, the device also transmits an identifier (e.g., the “Device Identifier” data field). Additionally, the device transmits an indicator of its operational mode (e.g., the “Device Mode” data field). In the example shown in Figure 3B, the device “Device Ol” transitions from a “Cooling” mode to a “Heating” mode at the time 12:00:00. The change in mode could indicate a user interaction to change the mode, a scheduled mode change, or other reason for mode transition.
[0063] The system categorizes each of the data fields as one of Identifier Data, Usecase Data, or Runtime Data. The system sets a first threshold at 1 and a second threshold at 5. The “Device Identifier” field includes 1 update, which does not exceed the first threshold or the second threshold. Accordingly, the “Device Identifier” data field is categorized as Identifier Data. The “Device Mode” field includes 2 updates, which exceeds the first threshold but does not exceed the second threshold. Accordingly, the “Device Mode” data field is categorized as Usecase Data. The “Temperature” and “Timestamp” fields each include 11 updates, which exceeds both the first threshold and the second threshold. Accordingly, the “Temperature” and “Timestamp” data fields are each categorized as Runtime Data.
[0064] Following the categorization, the system can determine a storage configuration for each category of data. For the Identifier Data (e.g., the “Device Identifier” data field), the system can select a storage configuration that is space-efficient, such as a heavily compressed storage configuration. The system can further recommend caching the Identifier Data for quick retrieval. For the Usecase Data (e.g., the “Device Mode” data field), the system can select a storage configuration that is space-efficient, such as a heavily compressed storage configuration. For the Runtime Data (e.g., the “Temperature” and “Timestamp” data fields), the system can recognize that these data fields are likely to grow quickly, and determine a storage configuration that allows for large volumes of data to be stored efficiently. Moreover, the system can structure the data storage in a way that leads to increased efficiency when reading the data. For example, the data can be stored chronologically, since it is likely that analysis of the data will result in retrieving data that spans a particular time range. The data from each field can be stored according to the selected storage configurations.
[0065] 5. MISCELLANEOUS; EXTENSIONS
[0066] Embodiments are directed to a system with one or more devices that include a hardware processor and that are configured to perform any of the operations described herein and/or recited in any of the claims below.
[0067] In an embodiment, a non-transitory computer readable storage medium comprises instructions which, when executed by one or more hardware processors, causes performance of any of the operations described herein and/or recited in any of the claims.
[0068] Any combination of the features and functionalities described herein may be used in accordance with one or more embodiments. In the foregoing specification, embodiments have been described with reference to numerous specific details that may vary from implementation to implementation. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. The sole and exclusive indicator of the scope of the invention, and what is intended by the applicants to be the scope of the invention, is the literal and equivalent scope of the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction.
[0069] 6. HARDWARE OVERVIEW
[0070] According to one embodiment, the techniques described herein are implemented by one or more special-purpose computing devices. The special-purpose computing devices may be hard-wired to perform the techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or network processing units (NPUs) that are persistently programmed to perform the techniques, or may include one or more general purpose hardware processors programmed to perform the techniques pursuant to program instructions in firmware, memory, other storage, or a combination. Such special-purpose computing devices may also combine custom hard-wired logic, ASICs, FPGAs, or NPUs with custom programming to accomplish the techniques. The special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices or any other device that incorporates hard-wired and/or program logic to implement the techniques.
[0071] For example, Figure 4 is a block diagram that illustrates a computer system 400 upon which an embodiment of the invention may be implemented. Computer system 400 includes a bus 402 or other communication mechanism for communicating information, and a hardware processor 404 coupled with bus 402 for processing information. Hardware processor 404 may be, for example, a general purpose microprocessor.
[0072] Computer system 400 also includes a main memory 406, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 402 for storing information and instructions to be executed by processor 404. Main memory 406 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 404. Such instructions, when stored in non-transitoiy storage media accessible to processor 404, render computer system 400 into a special-purpose machine that is customized to perform the operations specified in the instructions.
[0073] Computer system 400 further includes a read only memory (ROM) 408 or other static storage device coupled to bus 402 for storing static information and instructions for processor 404. A storage device 410, such as a magnetic disk or optical disk, is provided and coupled to bus 402 for storing information and instructions.
[0074] Computer system 400 may be coupled via bus 402 to a display 412, such as a cathode ray tube (CRT), for displaying information to a computer user. An input device 414, including alphanumeric and other keys, is coupled to bus 402 for communicating information and command selections to processor 404. Another type of user input device is cursor control 416, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 404 and for controlling cursor movement on display 412. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
[0075] Computer system 400 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and/or program logic which in combination with the computer system causes or programs computer system 400 to be a special-purpose machine. According to one embodiment, the techniques herein are performed by computer system 400 in response to processor 404 executing one or more sequences of one or more instructions contained in main memory 406. Such instructions may be read into main memory 406 from another storage medium, such as storage device 410. Execution of the sequences of instructions contained in main memory 406 causes processor 404 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
[0076] The term “storage media” as used herein refers to any non-transitory media that store data and/or instructions that cause a machine to operate in a specific fashion. Such storage media may comprise non-volatile media and/or volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 410. Volatile media includes dynamic memory, such as main memory 406. Common forms of storage media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge, content-addressable memory (CAM), and ternary content- addressable memory (TCAM).
[0077] Storage media is distinct from but may be used in conjunction with transmission media. Transmission media participates in transferring information between storage media. For example, transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 402. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
[0078] Various forms of media may be involved in carrying one or more sequences of one or more instructions to processor 404 for execution. For example, the instructions may initially be carried on a magnetic disk or solid state drive of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 400 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 402. Bus 402 carries the data to main memory 406, from which processor 404 retrieves and executes the instructions. The instructions received by main memory 406 may optionally be stored on storage device 410 either before or after execution by processor 404. [0079] Computer system 400 also includes a communication interface 418 coupled to bus 402. Communication interface 418 provides a two-way data communication coupling to a network link 420 that is connected to a local network 422. For example, communication interface 418 may be an integrated services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 418 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 418 sends and receives electrical, electromagnetic, or optical signals that carry digital data streams representing various types of information.
[0080] Network link 420 typically provides data communication through one or more networks to other data devices. For example, network link 420 may provide a connection through local network 422 to a host computer 424 or to data equipment operated by an Internet Service Provider (ISP) 426. ISP 426 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 428. Local network 422 and Internet 428 both use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on network link 420 and through communication interface 418, which carry the digital data to and from computer system 400, are example forms of transmission media.
[0081] Computer system 400 can send messages and receive data, including program code, through the network(s), network link 420 and communication interface 418. In the Internet example, a server 430 might transmit a requested code for an application program through Internet 428, ISP 426, local network 422 and communication interface 418.
[0082] The received code may be executed by processor 404 as it is received, and/or stored in storage device 410, or other non-volatile storage for later execution. [0083] In the foregoing specification, embodiments of the invention have been described with reference to numerous specific details that may vary from implementation to implementation. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. The sole and exclusive indicator of the scope of the invention, and what is intended by the applicants to be the scope of the invention, is the literal and equivalent scope of the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction.

Claims

CLAIMS What is claimed is:
1. One or more non-transitory computer readable media comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising: receiving updates to a first data set at a first frequency; selecting a first storage configuration, from a plurality of storage configurations, for storing the first data set based on the first frequency; storing the first data set in accordance with the first storage configuration; receiving updates to a second data set at a second frequency; selecting a second storage configuration, from the plurality of storage configurations, for storing the second data set based on the second frequency, wherein the second storage configuration is different than the first storage configuration; and storing the second data set in accordance with the second storage configuration.
2. The media of Claim 1, wherein selecting the first storage configuration for storing the first data set based on the first frequency comprises: selecting a first category, of a plurality of categories, for the first data set based on the first frequency; and selecting the first storage configuration, corresponding to the first category, for storing the first data set.
3. The media of Claim 1, wherein the operations further comprise: based on the first frequency, categorizing the first data set as identifier data; wherein selecting the first storage configuration is based on the first data set being categorized as identifier data; based on the second frequency, categorizing the second data set as use-case data; wherein selecting the second storage configuration is based on the second data set being categorized as use-case data;
22 based on a third frequency at which updates to a third data set are received, categorizing the third data set as runtime data; selecting a third storage configuration for storing the third data set based on the third data set being categorized as runtime data. The media of Claim 1, wherein the instructions, when executed by the one or more processors, further cause: determining a relationship between the first data set and the second data set; based on the relationship, precomputing a join operation using the first data set and the second data set. The media of Claim 1, wherein the instructions, when executed by the one or more processors, further cause: receiving additional data corresponding to the first data set; selecting a new storage configuration based at least in part on the additional data; and storing the first data set in accordance with the new storage configuration. The media of Claim 1, wherein the instructions, when executed by the one or more processors, further cause: creating an index associated with the first data set based at least in part on the first storage configuration. A method comprising: receiving updates to a first data set at a first frequency; selecting a first storage configuration, from a plurality of storage configurations, for storing the first data set based on the first frequency; storing the first data set in accordance with the first storage configuration; receiving updates to a second data set at a second frequency; selecting a second storage configuration, from the plurality of storage configurations, for storing the second data set based on the second frequency, wherein the second storage configuration is different than the first storage configuration; and storing the second data set in accordance with the second storage configuration, wherein the method is performed by at least one device including a hardware processor. The method of Claim 7, wherein selecting the first storage configuration for storing the first data set based on the first frequency comprises: selecting a first category, of a plurality of categories, for the first data set based on the first frequency; and selecting the first storage configuration, corresponding to the first category, for storing the first data set. The method of Claim 7, further comprising: based on the first frequency, categorizing the first data set as identifier data; wherein selecting the first storage configuration is based on the first data set being categorized as identifier data; based on the second frequency, categorizing the second data set as use-case data; wherein selecting the second storage configuration is based on the second data set being categorized as use-case data; based on a third frequency at which updates to a third data set are received, categorizing the third data set as runtime data; selecting a third storage configuration for storing the third data set based on the third data set being categorized as runtime data. The method of Claim 7, further comprising: determining a relationship between the first data set and the second data set; based on the relationship, precomputing a join operation using the first data set and the second data set. The method of Claim 7, further comprising: receiving additional data corresponding to the first data set; selecting a new storage configuration based at least in part on the additional data; and storing the first data set in accordance with the new storage configuration. A system comprising: at least one device including a hardware processor; the system being configured to perform operations comprising: receiving updates to a first data set at a first frequency; selecting a first storage configuration, from a plurality of storage configurations, for storing the first data set based on the first frequency; storing the first data set in accordance with the first storage configuration; receiving updates to a second data set at a second frequency; selecting a second storage configuration, from the plurality of storage configurations, for storing the second data set based on the second frequency, wherein the second storage configuration is different than the first storage configuration; and storing the second data set in accordance with the second storage configuration, wherein the method is performed by at least one device including a hardware processor. The system of Claim 11, wherein selecting the first storage configuration for storing the first data set based on the first frequency comprises: selecting a first category, of a plurality of categories, for the first data set based on the first frequency; and selecting the first storage configuration, corresponding to the first category, for storing the first data set. The system of Claim 11, further comprising: based on the first frequency, categorizing the first data set as identifier data; wherein selecting the first storage configuration is based on the first data set being categorized as identifier data; based on the second frequency, categorizing the second data set as use-case data; wherein selecting the second storage configuration is based on the second data set being categorized as use-case data; based on a third frequency at which updates to a third data set are received, categorizing the third data set as runtime data;
25 selecting a third storage configuration for storing the third data set based on the third data set being categorized as runtime data. The system of Claim 11, further comprising: determining a relationship between the first data set and the second data set; based on the relationship, precomputing a join operation using the first data set and the second data set.
26
PCT/US2020/049367 2020-08-13 2020-09-04 Dynamic performance tuning based on implied data characteristics WO2022035443A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP20775986.1A EP4196886A1 (en) 2020-08-13 2020-09-04 Dynamic performance tuning based on implied data characteristics
JP2023509827A JP2023538865A (en) 2020-08-13 2020-09-04 Dynamic performance tuning based on implicit data features
CN202080105124.XA CN116601622A (en) 2020-08-13 2020-09-04 Dynamic performance tuning based on implicit data characteristics

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US16/992,819 2020-08-13
US16/992,819 US11573962B2 (en) 2018-10-19 2020-08-13 Dynamic performance tuning based on implied data characteristics

Publications (1)

Publication Number Publication Date
WO2022035443A1 true WO2022035443A1 (en) 2022-02-17

Family

ID=72613986

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2020/049367 WO2022035443A1 (en) 2020-08-13 2020-09-04 Dynamic performance tuning based on implied data characteristics

Country Status (4)

Country Link
EP (1) EP4196886A1 (en)
JP (1) JP2023538865A (en)
CN (1) CN116601622A (en)
WO (1) WO2022035443A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170351602A1 (en) * 2015-02-27 2017-12-07 Hitachi, Ltd. Storage device and non-volatile memory device
US20180253467A1 (en) * 2017-03-01 2018-09-06 Sap Se In-memory row storage architecture
CN110389725A (en) * 2019-07-26 2019-10-29 成都信息工程大学 A kind of internet-of-things terminal data efficient storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170351602A1 (en) * 2015-02-27 2017-12-07 Hitachi, Ltd. Storage device and non-volatile memory device
US20180253467A1 (en) * 2017-03-01 2018-09-06 Sap Se In-memory row storage architecture
CN110389725A (en) * 2019-07-26 2019-10-29 成都信息工程大学 A kind of internet-of-things terminal data efficient storage system

Also Published As

Publication number Publication date
CN116601622A (en) 2023-08-15
JP2023538865A (en) 2023-09-12
EP4196886A1 (en) 2023-06-21

Similar Documents

Publication Publication Date Title
US20240054029A1 (en) Systems and methods to identify neural network brittleness based on sample data and seed generation
CN103513983B (en) method and system for predictive alert threshold determination tool
US11455306B2 (en) Query classification and processing using neural network based machine learning
US9002763B2 (en) Work-item notification classifier
US11556539B2 (en) Predicting and halting runaway queries
US11474978B2 (en) Systems and methods for a data search engine based on data profiles
US11989667B2 (en) Interpretation of machine leaning results using feature analysis
US10409817B1 (en) Database system and methods for domain-tailored detection of outliers, patterns, and events in data streams
US11880740B2 (en) Facilitating machine learning configuration
US20230148271A1 (en) Dynamic performance tuning based on implied data characteristics
Khezri et al. STDS: self-training data streams for mining limited labeled data in non-stationary environment
EP4196886A1 (en) Dynamic performance tuning based on implied data characteristics
US11830009B2 (en) Stage-specific pipeline view using prediction engine
US11599538B2 (en) Associating search results, for a current query, with a recently executed prior query
Ayvaz et al. Building summary graphs of rdf data in semantic web
CN115114126A (en) Method for acquiring hierarchical data structure and processing log entry and electronic equipment
Jurek et al. It pays to be certain: unsupervised record linkage via ambiguity minimization
Mishra et al. On evaluation of entity matching techniques for bibliographic database
AU2020104034A4 (en) IML-Cloud Data Performance: Cloud Data Performance Improved using Machine Learning.
US11822939B2 (en) Collaborative analysis system for analyzing logs
Riess Automating model management: a survey on metaheuristics for concept-drift adaptation
US11914563B2 (en) Data structure generation system for analyzing logs
Ouared et al. Explainable AI for DBA: Bridging the DBA's experience and machine learning in tuning database systems
Jiang et al. Correlation Analysis of Alarm Data Based on Fuzzy Rule in Power Network
Pandey et al. Software Fault Prediction using Ensemble Techniques

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20775986

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023509827

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 202080105124.X

Country of ref document: CN

ENP Entry into the national phase

Ref document number: 2020775986

Country of ref document: EP

Effective date: 20230313