Patents Assigned to Teradata US, Inc.
  • Patent number: 12141146
    Abstract: An apparatus, method and computer program product for query optimization in a Relational Database Management System (RDBMS), wherein an optimizer accesses a query expression repository (QER) storing planning and execution information for QEs from previous queries, wherein the QEs comprise table relations, intermediate results and/or final results of operations in the previous queries. Additionally, dynamic join indexes representing QE results are created for high-value QEs selected from the QER and maintained within a DJI repository. During query plan creation for a current or subsequent query, the optimizer searches the QER and DJI repository for DJIs created for high-value QEs corresponding to QEs contained in the current or subsequent query. DJIs corresponding to the matching QEs are used in the query planning phase to rewrite the current or subsequent user query so that stored QE results are used to answer QEs contained in the current or subsequent query.
    Type: Grant
    Filed: December 28, 2022
    Date of Patent: November 12, 2024
    Assignee: Teradata US, Inc.
    Inventors: Ming Zhang, Sanjay Nair
  • Patent number: 12141124
    Abstract: A database system enumerates one-column candidate referential integrities (1CRIs) from a plurality of input columns in one or more relations. The database system applies one or more disqualification tests to the 1CRIs to eliminate illegitimate 1CRIs resulting in a list of non-disqualified 1CRIs, wherein the disqualification tests are applied to an 1CRI being tested (hereinafter (A*,B*), A* representing a set of values of a referenced column or columns and B* representing a set of values of a referencing column or columns) until (A*,B*) is disqualified or until all of the disqualification tests have been executed and (A*,B*) has not been disqualified, in which case (A*,B*) is added to the list of non-disqualified 1CRIs, wherein each of the disqualification tests reduces the likelihood of incorrectly adding (A*,B*) to the list of non-disqualified 1CRIs.
    Type: Grant
    Filed: November 24, 2023
    Date of Patent: November 12, 2024
    Assignee: Teradata US, Inc.
    Inventors: Sung Jin Kim, Yinuo Zhang, Mohamed Mahmoud Hafez Mahmoud Abdelrahman, Paul Geoffrey Brown
  • Patent number: 12135712
    Abstract: Techniques for improving the execution of database queries in a multi-processor system or distributed processing system environment are provided. In a database system including multiple parsing engines (PEs) for parsing database queries, or requests, received by the system and generating execution plans for the requests, execution plans generated for requests can be saved in a global request cache accessible to each of the parsing engines. Requests which have been parsed and cached by a PE can be retrieved for use by other PEs, thereby avoiding unnecessarily parsing the same database request in multiple PEs. The global request cache may be a distributed cache consisting of request caches local to each parsing engine, with execution plans allocated to the local request caches using hashing techniques applied to the database requests associated with the execution plans.
    Type: Grant
    Filed: December 31, 2018
    Date of Patent: November 5, 2024
    Assignee: Teradata US, Inc.
    Inventors: Bhashyam Ramesh, Mohan Kumar KJ, J Venkata Ramana, Anitha G, Karan Kaur Phull
  • Patent number: 12135997
    Abstract: A data store system may include a storage device configured to store a plurality of data store tables and may include a processor in communication with the storage device. The processor may receive a plurality of requests. For each request, the processor may: (1) determine an associated workload type for the request; (2) determine a first respective rate at which the request is to be released for scheduling of execution; and (3) release the request for scheduling of execution based on the first respective rate. For each released request, the processor may: (1) determine a second respective rate based on the associated workload type at which each released request is scheduled to be executed; and (2) in response to execution being scheduled for a released request, execute the released request. A method and computer-readable medium are also disclosed.
    Type: Grant
    Filed: August 9, 2019
    Date of Patent: November 5, 2024
    Assignee: Teradata US, Inc.
    Inventors: Hoa Thu Tran, Daniel David Hoffman, Douglas P. Brown, Kenneth Ray Shortes
  • Patent number: 12135714
    Abstract: In some examples, a system receives an input graph representation of one or more query plans for one or more database queries, and generates, by an embedding machine learning model based on the input graph representation, a feature vector that provides a distributed representation of the one or more query plans. The system determines, using the feature vector, one or more user behaviors and/or workload characteristics of one or more workloads in one or more database systems.
    Type: Grant
    Filed: November 4, 2022
    Date of Patent: November 5, 2024
    Assignee: Teradata US, Inc.
    Inventors: Christopher James Antoun, Matthew Edward Antoun, Artur Borycki, Douglas Paul Brown
  • Patent number: 12135720
    Abstract: Improved techniques for performing Spatial Joins multi-processing computing systems and environments are disclosed. One or more intersection of bounds (or limits) of data sets is determined as a join bounding space. The join bounding space is in a space (Global space or Global universe) where a spatial join between (or for) the data can be performed. The determined join bounding space can be partitioned into sub-partitions of the join bounding space. The sub-partitions of the join bounding space can assigned respectively to multiple processing unit for processing in parallel in. In addition, distribution cost information associated with the cost of distribution of the datasets (and/or their components) to the processing units of a multi-processing system can be provided and/or used to effectively distribute and/or redistribute processing of the Spatial Join between the processing units of a multi-processing system.
    Type: Grant
    Filed: December 18, 2019
    Date of Patent: November 5, 2024
    Assignee: Teradata US, Inc.
    Inventors: Heng Yuan, Kranthi Kiran Reddy Patil, Gregory Howard Milby
  • Patent number: 12135718
    Abstract: A database system receives a query that includes a reference to a foreign table. The foreign table is used to access an Object Store (OS) outside the database system. The OS stores objects. The objects have path names, which are pointers to the objects. When the foreign table was created one or more wildcards were used to specify the path names for the objects in the OS to be accessed by the query. The database system directing the OS to provide a list containing the path names of the objects in the OS. The database system receiving the list and applying the one or more wildcards to identify the path names of the objects to be accessed by the query. The database system producing a result by executing the query, accessing the objects in the OS identified by the path names of the objects to be accessed by the query.
    Type: Grant
    Filed: September 7, 2023
    Date of Patent: November 5, 2024
    Assignee: Teradata US, Inc.
    Inventors: Srinivas Bijigiri, Rama Krishna Venkata Tirunagari
  • Patent number: 12124442
    Abstract: Artificial Intelligence-based (AI-based) modeling can be used to predict “Critical Times” when “bottlenecks” in a processing of data would occur. Moreover, for each one of the predicted Critical Times, it can be determined which one of multiple Computing Resources would cause the bottleneck, so that more precise measures can be taken and taken before a Critical Time, in an effort to prevent bottlenecks from happening in computing systems, especially more complex database systems with more demeaning service needs and requirements.
    Type: Grant
    Filed: December 23, 2022
    Date of Patent: October 22, 2024
    Assignee: Teradata US, Inc.
    Inventor: Felix Mathews
  • Publication number: 20240330187
    Abstract: A system and method for caching data objects retrieved from a network object store or cloud storage remotely accessible by a database management node. Retrieved data objects are stored within the database management node in a cache memory having multiple cache zones providing different input/output (I/O) latencies with respect to cache data access. Retrieved data objects are placed within the cache zones in accordance with access and storage costs associated with the retrieved data objects, wherein data objects having higher associated costs are placed in cache zones having lower I/O latencies. The costs associated a data object may be determined from object store vendor costs, object store storage tier levels, locations of the data management node and the object store, method of connection to the object store, or read from a pricing matrix containing predetermined object costs associated with stored data objects.
    Type: Application
    Filed: March 31, 2023
    Publication date: October 3, 2024
    Applicant: Teradata US, Inc.
    Inventor: Yang Xiang
  • Patent number: 12105708
    Abstract: A method, apparatus, and computer program product for executing a relational database management system (RDBMS) in a computer system, wherein the RDBMS manages a relational database comprised of one or more tables storing data. The RDBMS executes a query with a semi-join operation comprising an inclusion join and/or an exclusion join performed against at least an outer table and an inner table, wherein the inclusion join returns a row from the outer table when there is a match with a row in the inner table, and the exclusion join returns a row from the outer table when there is no match with a row in the inner table. The RDBMS performs a rewrite of the query to avoid spooling and/or sorting of the inner table, when the inner table is larger than the outer table and a cost after the rewrite is lower than before the rewrite.
    Type: Grant
    Filed: December 30, 2021
    Date of Patent: October 1, 2024
    Assignee: Teradata US, Inc.
    Inventors: Ming Zhang, Sanjay Nair, Grace Kwan-On Au, Mohammed Hussien Al-Kateb, Conrad Tang
  • Patent number: 12066903
    Abstract: In some examples, a system sends a transaction to a database server to cause storing of data of the transaction in a cache of the database server, where the data in the cache is for inclusion in a backup of data from the database server to a remote data store (e.g., the backup may be in a cloud and may be a snapshot). The system detects a failure associated with the database server, and in response to detecting the failure, requests, from the database server or a replacement database server, transaction information of at least one transaction that was successfully applied to the remote data store, the transaction information based on the backup of data. The system causes replay one or more transactions to recover data at the database server or the replacement database server, to perform recovery of the database server or the replacement database server to a current state.
    Type: Grant
    Filed: December 19, 2019
    Date of Patent: August 20, 2024
    Assignee: Teradata US, Inc.
    Inventor: Donald Raymond Pederson
  • Patent number: 12067009
    Abstract: A query is preprocessed for features identified by a Data Manipulation Language (DML) in the text of the query. A machine-learning algorithm uses the features as input and provides as output a predicted query parsing execution time needed by a query parser to parse the query. The predicted query parsing time is provided as input to a query optimizer. The query optimizer uses the predicted query parsing time as a factor in optimizing a query execution plan for the query. Subsequently, the query execution plan is executed against a database as the query.
    Type: Grant
    Filed: December 10, 2018
    Date of Patent: August 20, 2024
    Assignee: Teradata US, Inc.
    Inventors: Bhashyam Ramesh, Jaiprakash Ganpatrao Chimanchode, Naveen Thaliyil Sankaran, Jitendra Yasaswi Bharadwaj Katta
  • Patent number: 12066996
    Abstract: In some examples, a database system accesses a plurality of objects in a remote object store. In response to a query to change data in a first object of the plurality of objects, the database system specifies the first object prior to the change as a first version of the first object, and creates a second version of the first object after the change. The database system maintains metadata identifying unmodified objects of the plurality of objects, and during a garbage collection process when deciding whether to remove a given object of the plurality of objects, accesses the metadata to determine whether the given object has been modified, and prevents removal of the given object in response to determining that the given object is unmodified.
    Type: Grant
    Filed: November 11, 2022
    Date of Patent: August 20, 2024
    Assignee: Teradata US, Inc.
    Inventors: Rangavajula K N Sai Krishna, Chandrasekhar Tekur
  • Publication number: 20240220501
    Abstract: An apparatus, method and computer program product for query optimization in a Relational Database Management System (RDBMS), wherein an optimizer accesses a query expression repository (QER) storing planning and execution information for QEs from previous queries, wherein the QEs comprise table relations, intermediate results and/or final results of operations in the previous queries. Additionally, dynamic join indexes representing QE results are created for high-value QEs selected from the QER and maintained within a DJI repository. During query plan creation for a current or subsequent query, the optimizer searches the QER and DJI repository for DJIs created for high-value QEs corresponding to QEs contained in the current or subsequent query. DJIs corresponding to the matching QEs are used in the query planning phase to rewrite the current or subsequent user query so that stored QE results are used to answer QEs contained in the current or subsequent query.
    Type: Application
    Filed: December 28, 2022
    Publication date: July 4, 2024
    Applicant: Teradata US, Inc.
    Inventors: Ming Zhang, Sanjay Nair
  • Publication number: 20240221039
    Abstract: In a cloud database system, a system and method for analyzing query workloads on installed customer systems and generating tiered offers promoting higher query execution speeds in the form of better response times for a selected portion of queries in exchange for a higher price. Upon selecting an offer, the cloud database system is automatically configured to include additional compute resources as required to execute future instances of the selected queries to take advantage of the performance improvements provided with the selected offer.
    Type: Application
    Filed: June 20, 2023
    Publication date: July 4, 2024
    Applicant: Teradata US, Inc.
    Inventors: Louis Martin Burger, Frank Roderic Vandervort, Douglas P. Brown
  • Publication number: 20240211474
    Abstract: Artificial Intelligence-based (AI-based) modeling can be used to predict “Critical Times” when “bottlenecks” in a processing of data would occur. Moreover, for each one of the predicted Critical Times, it can be determined which one of multiple Computing Resources would cause the bottleneck, so that more precise measures can be taken and taken before a Critical Time, in an effort to prevent bottlenecks from happening in computing systems, especially more complex database systems with more demeaning service needs and requirements.
    Type: Application
    Filed: December 23, 2022
    Publication date: June 27, 2024
    Applicant: Teradata US, Inc.
    Inventor: Felix Mathews
  • Patent number: 12008029
    Abstract: In some examples, a system performs a delimiter identification process that includes identifying candidate record delimiters and candidate field delimiters in the input data, and providing different pairs of candidate record delimiters and candidate field delimiters. For each respective pair of the different pairs, the system identifies records using the corresponding candidate record delimiter of the respective pair, and computes a collection of measures including a measure indicating a quantity of unique fields observed in the records identified using the corresponding field delimiter of the respective pair. The system selects, based on values of the collection of measures computed for corresponding pairs of the different pairs, a record delimiter and a field delimiter in a pair of the different pairs.
    Type: Grant
    Filed: December 29, 2022
    Date of Patent: June 11, 2024
    Assignee: Teradata US, Inc.
    Inventors: Sung Jin Kim, Yinuo Zhang, Rehana Rahiman, Eugene Szedenits
  • Patent number: 12001430
    Abstract: A data engine request is received on a local data system. The data engine request includes a portion of the request that is to be processed on an external data engine system. The portion is forwarded to the external data engine system and statistics for accessing external objects of the external data engine system is acquired. The statistics are evaluated for compliance with a Service Level Goal (SLG) associated with the request. Rules-based processing permits optimization and planning of the request on the local data engine system to be modified in view of the statistics received from the external data engine system to comply with the SLG. In an embodiment, actual resource utilization metrics noted during execution of the portion on the external data engine system is provided as feedback to the local data engine system for re-planning and re-optimizing the request with a modified execution plan.
    Type: Grant
    Filed: March 8, 2019
    Date of Patent: June 4, 2024
    Assignee: Teradata US, Inc.
    Inventors: Douglas Paul Brown, Michael Sean McIntire, Prama Agarwal
  • Patent number: 12001432
    Abstract: A database system receives a query. The database system retrieves an old query execution plan (QEP), OldPlan, for the query. The database system submits the query to an optimizer. The optimizer returns a new QEP, NewPlan, for the query. The database system submits the OldPlan and the NewPlan to a machine learning classifier (ML classifier). The ML classifier predicts that executing the NewPlan will result in a performance regression as compared to executing the OldPlan. The database system executes the OldPlan instead of the NewPlan.
    Type: Grant
    Filed: September 6, 2022
    Date of Patent: June 4, 2024
    Assignee: Teradata US, Inc.
    Inventors: Louis Martin Burger, Chrisopher James Antoun, Matthew Edward Antoun, Frank Roderic Vandervort, Douglas P. Brown
  • Publication number: 20240143589
    Abstract: A method, apparatus and computer program product for estimating resource consumption for steps in a query execution plan for a query performed by a relational database management system (RDBMS) in a computer system. Past execution data for the steps are used to train a machine learning (ML) model and its model parameters to predict execution times for the steps. A prediction module comprised of the ML model configured by the model parameters predicts an execution time for a current step of the query execution plan for the query, based on current step information and current system load. A boosting module boosts the current step either up or down for processing by the RDBMS to meet a service level goal (SLG) for the query, based on the predicted execution time for the current step, as well as an elapsed query time, a query SLG time, and/or a query CPU time.
    Type: Application
    Filed: October 27, 2022
    Publication date: May 2, 2024
    Applicant: Teradata US, Inc.
    Inventors: Bhashyam Ramesh, Douglas P. Brown, Vijayasaradhi Indurthi