-
公开(公告)号:US20220207052A1
公开(公告)日:2022-06-30
申请号:US17137580
申请日:2020-12-30
申请人: Teradata US, Inc.
IPC分类号: G06F16/25 , G06F16/22 , G06F16/2455 , G06F16/242 , G06F16/901
摘要: A method and apparatus for optimizing a query in a relational database management system (RDBMS) when a predicate on a data column in the query has a correlation to a partitioning attribute of a partitioning column in data retrieved from a cloud-based store, wherein the optimizing uses the correlation between the data column in the query to the partitioning column in the data retrieved from the cloud-based store for data elimination when processing the query. The correlation is defined in a formula or lookup data structure that maps or range-maps from the data column to the partitioning column.
-
公开(公告)号:US11086870B1
公开(公告)日:2021-08-10
申请号:US14985117
申请日:2015-12-30
申请人: Teradata US, Inc.
IPC分类号: G06F17/00 , G06F16/2453 , G06F16/242 , G06F16/22
摘要: A data store system includes an array of persistent storage devices configured to store a plurality of data store tables. The data store system includes a processor in communication with the storage device. The processor may receive a query comprising an aggregate function and identify structure of an argument of the aggregate function. The subset of data store tables may be associated with the argument. The processor may partially-execute the aggregate function on each data store table in the subset involved in the argument of the aggregate function to create partially-executed results for each data store table of the subset of data store tables. The processor may join the partially-executed results based on join conditions contained in the aggregate function. The processor may complete execution of the aggregate function on the partially-executed results to generate a final result of the aggregate function. A method and computer-readable medium are also disclosed.
-
公开(公告)号:US12105708B2
公开(公告)日:2024-10-01
申请号:US17566442
申请日:2021-12-30
申请人: Teradata US, Inc
IPC分类号: G06F16/23 , G06F16/2453
CPC分类号: G06F16/24544 , G06F16/24545
摘要: 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.
-
公开(公告)号:US11775546B2
公开(公告)日:2023-10-03
申请号:US17137580
申请日:2020-12-30
申请人: Teradata US, Inc.
IPC分类号: G06F7/00 , G06F16/25 , G06F16/22 , G06F16/901 , G06F16/242 , G06F16/2455
CPC分类号: G06F16/252 , G06F16/221 , G06F16/2433 , G06F16/24554 , G06F16/9017
摘要: A method and apparatus for optimizing a query in a relational database management system (RDBMS) when a predicate on a data column in the query has a correlation to a partitioning attribute of a partitioning column in data retrieved from a cloud-based store, wherein the optimizing uses the correlation between the data column in the query to the partitioning column in the data retrieved from the cloud-based store for data elimination when processing the query. The correlation is defined in a formula or lookup data structure that maps or range-maps from the data column to the partitioning column.
-
公开(公告)号:US11113283B2
公开(公告)日:2021-09-07
申请号:US15844685
申请日:2017-12-18
申请人: Teradata US, Inc.
IPC分类号: G06F7/02 , G06F16/00 , G06F16/2453 , G06F16/2455 , G06F16/28
摘要: A query having a Union All view is identified. A logical join between Union AH view/derived table and other tables is broken down into multiple physical joins. The physical joins are pushed to the branches. Cost-based processing statistics are obtained for the branches. An optimal plan for the joins is selected based on the statistics; representing an optimal query execution for the query. The optimal query execution plan is provided to a database engine for executing the optimal query execution plan against a data warehouse.
-
公开(公告)号:US20240220501A1
公开(公告)日:2024-07-04
申请号:US18089833
申请日:2022-12-28
申请人: Teradata US, Inc.
发明人: Ming Zhang , Sanjay Nair
IPC分类号: G06F16/2453 , G06F11/34 , G06F16/22
CPC分类号: G06F16/24544 , G06F11/3419 , G06F16/2272 , G06F16/24539
摘要: 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.
-
7.
公开(公告)号:US20200151575A1
公开(公告)日:2020-05-14
申请号:US16681630
申请日:2019-11-12
申请人: Teradata US, Inc.
发明人: Wellington Marcos Cabrera Arevalo , Anandh Ravi Kumar , Mohammed Al-Kateb , Sanjay Nair , Sandeep Singh Sandha
摘要: An apparatus, method and computer program product for neural network training over very large distributed datasets, wherein a relational database management system (RDBMS) is executed in a computer system comprised of a plurality of compute units, and the RDBMS manages a relational database comprised of one or more tables storing data. One or more local neural network models are trained in the compute units using the data stored locally on the compute units. At least one global neural network model is generated in the compute units by aggregating the local neural network models after the local neural network models are trained.
-
公开(公告)号:US20230214390A1
公开(公告)日:2023-07-06
申请号:US17566442
申请日:2021-12-30
申请人: Teradata US, Inc
IPC分类号: G06F16/2453
CPC分类号: G06F16/24544 , G06F16/24545
摘要: 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.
-
公开(公告)号:US10997168B2
公开(公告)日:2021-05-04
申请号:US16218689
申请日:2018-12-13
申请人: Teradata US, Inc.
发明人: Mohamed Yassin Eltabakh , Grace Kwan-On Au , Sanjay Nair , Mohammed Al-Kateb , Paul Laurence Sinclair
IPC分类号: G06F7/02 , G06F16/00 , G06F16/2453 , G06F16/215 , G06F16/11 , G06F16/28 , G06F16/22
摘要: One or a soft correlation of a database can be adjusted (e.g., modified, replaced, overwritten) for use with respect to one or more record(s) of the database associated with the soft correlation, by considering at least one or more violations of the soft correlations in the one or more of records database records associated with the soft correlation. In addition, an adjusted soft correlation can be stored and used for optimizations of database queries pertaining to one or more records associated with the adjusted soft correlation. Typically, the adjusted soft correlation is adjusted by at least considering the violations of an original soft correlation in the one or more records relating to the database queries.
-
公开(公告)号:US20240012826A1
公开(公告)日:2024-01-11
申请号:US18474793
申请日:2023-09-26
申请人: Teradata US, Inc
IPC分类号: G06F16/25 , G06F16/22 , G06F16/901 , G06F16/242 , G06F16/2455
CPC分类号: G06F16/252 , G06F16/221 , G06F16/9017 , G06F16/2433 , G06F16/24554
摘要: A method and apparatus for optimizing a query in a relational database management system (RDBMS) when a predicate on a data column in the query has a correlation to a partitioning attribute of a partitioning column in data retrieved from a cloud-based store, wherein the optimizing uses the correlation between the data column in the query to the partitioning column in the data retrieved from the cloud-based store for data elimination when processing the query. The correlation is defined in a formula or lookup data structure that maps or range-maps from the data column to the partitioning column.
-
-
-
-
-
-
-
-
-