Database workload capture and replay

    公开(公告)号:US11829360B2

    公开(公告)日:2023-11-28

    申请号:US17678720

    申请日:2022-02-23

    Applicant: SAP SE

    Abstract: Technologies are described for facilitating data workload capture, workload replay, and comparing the performance of a plurality of database systems. A plurality of requests for database operations are received from one or more database clients. The requests for database operations are executed. For the plurality of requests for database operations, execution context information is generated for a plurality of execution contexts. For the plurality of requests for database operations, a plurality of performance measures are generated. The execution context information and the performance measures are stored in a workload capture store, such as a file. The workload capture file is useable to replay the captured workload at a second database system using at least a portion of the execution context information and at least a portion of the performance measures.

    Selectively allowing query optimization in query processing

    公开(公告)号:US11360977B2

    公开(公告)日:2022-06-14

    申请号:US16371276

    申请日:2019-04-01

    Applicant: SAP SE

    Abstract: Implementations of the present disclosure include receiving, by a query processing server, a first query, the first query including a syntax indicating that precision loss is allowed, processing, by the query processing server, the first query to provide a first QEP, optimization of which would result in precision loss in a generated query result, determining that the syntax is provided, and in response, optimizing the first QEP to provide an optimized QEP, executing the optimized QEP to generate a query result that includes data stored within a database system, the query result having reduced accuracy relative to a query result that would be generated based on the first QEP, and providing the query result as output from the database system.

    DYNAMIC QUERY EXPRESSIONS
    13.
    发明申请

    公开(公告)号:US20200311078A1

    公开(公告)日:2020-10-01

    申请号:US16368448

    申请日:2019-03-28

    Applicant: SAP SE

    Abstract: Implementations of the present disclosure include receiving a query, the query including an expression macro (EM), processing the query to provide a raw parse tree, the raw parse tree including an initial node representative of the EM, retrieving metadata corresponding to the EM, the metadata including a definition string, replacing the initial node with a node based on the definition string to provide a consumable parse tree, and executing the query within the database system using the consumable parse tree to provide a query result.

    DATABASE WORKLOAD CAPTURE AND REPLAY
    14.
    发明申请

    公开(公告)号:US20200183929A1

    公开(公告)日:2020-06-11

    申请号:US16715882

    申请日:2019-12-16

    Applicant: SAP SE

    Abstract: Technologies are described for facilitating data workload capture, workload replay, and comparing the performance of a plurality of database systems. A plurality of requests for database operations are received from one or more database clients. The requests for database operations are executed. For the plurality of requests for database operations, execution context information is generated for a plurality of execution contexts. For the plurality of requests for database operations, a plurality of performance measures are generated. The execution context information and the performance measures are stored in a workload capture store, such as a file. The workload capture file is useable to replay the captured workload at a second database system using at least a portion of the execution context information and at least a portion of the performance measures.

    HARMONIZED STRUCTURED QUERY LANGUAGE AND NON-STRUCTURED QUERY LANGUAGE QUERY PROCESSING

    公开(公告)号:US20180293276A1

    公开(公告)日:2018-10-11

    申请号:US15483690

    申请日:2017-04-10

    Applicant: SAP SE

    Abstract: A method can include: generating a query execution plan for a query including a plurality of operations that operate on data from a relational database and data from a non-structured query language (NoSQL) database, the generating comprising optimizing the query by: identifying a first operation that operate on data from the relational database and an intermediate result output by a second operation, the second operation outputting the intermediate result by operating on the data from the NoSQL database; and determining a fixed datatype for the intermediate result, an indication of the fixed datatype being included in the query execution plan; and executing, based on the query execution plan, the query, the executing of the query comprising converting the intermediate result to the fixed datatype, the converting enabling the first operation to operate on the intermediate result output by the second operation along with the data from the relational database.

    CASE JOIN DECOMPOSITIONS
    17.
    发明申请

    公开(公告)号:US20170147645A1

    公开(公告)日:2017-05-25

    申请号:US14947927

    申请日:2015-11-20

    Applicant: SAP SE

    CPC classification number: G06F16/24544

    Abstract: Methods and apparatus, including computer program products, are provided for a case join. In one aspect, there is provided method, which may include receiving a query for a predefined view that is configured to inhibit modification; detecting whether the predefined view includes a database table extended to include an additional column; and generating, in response to the query, a view based on a case join, when the predefined view includes the database table extended to include the additional column. Related apparatus, systems, methods, and articles are also described.

    RUNTIME STATISTICS FEEDBACK FOR QUERY PLAN COST ESTIMATION

    公开(公告)号:US20240012814A1

    公开(公告)日:2024-01-11

    申请号:US18473752

    申请日:2023-09-25

    Applicant: SAP SE

    CPC classification number: G06F16/24542 G06F16/2246 G06F16/284 G06F16/24573

    Abstract: A computer implemented method can execute a first query plan for a query, obtain statistics for internal nodes of a first query tree representing the first query plan, receive a second query tree representing a second query plan for the query, search for a matching internal node of the first query tree for a selected internal node of the second query tree, and responsive to finding the matching internal node of the first query tree, apply the statistics for the matching internal node of the first query tree to the selected internal node of the second query tree for estimating cost of the second query plan during query optimization of the query. Related systems and software for implementing the method are also disclosed.

    OPERATOR MOVEMENT OPTIMIZATION TECHNIQUE FOR PROCEDURES

    公开(公告)号:US20230048391A1

    公开(公告)日:2023-02-16

    申请号:US17561104

    申请日:2021-12-23

    Applicant: SAP SE

    Abstract: In some embodiments, a method receives a statement graph for a procedure that is used to access data and determines a set of producer statements and a set of consumer statements in the statement graph. A producer statement produces a variable for a consumer statement, and the consumer statement consumes the variable from the producer statement. The method optimizes the statement graph to generate an optimized procedure by moving an operator from a consumer statement to a producer statement or by moving an operator from a producer statement to a consumer statement. The optimized procedure is output based on the optimized statement graph.

    Dynamic query expressions
    20.
    发明授权

    公开(公告)号:US11416485B2

    公开(公告)日:2022-08-16

    申请号:US16368448

    申请日:2019-03-28

    Applicant: SAP SE

    Abstract: Implementations of the present disclosure include receiving a query, the query including an expression macro (EM), processing the query to provide a raw parse tree, the raw parse tree including an initial node representative of the EM, retrieving metadata corresponding to the EM, the metadata including a definition string, replacing the initial node with a node based on the definition string to provide a consumable parse tree, and executing the query within the database system using the consumable parse tree to provide a query result.

Patent Agency Ranking