RELEASE OF LATCHES FOR GARBAGE COLLECTION
    12.
    发明申请

    公开(公告)号:US20200311069A1

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

    申请号:US16371609

    申请日:2019-04-01

    Applicant: SAP SE

    Abstract: A query is received at a database execution engine. The query is executed by the database execution engine, the executing including executing one or more threads that operate on versions of data of the delta fragment; acquiring and releasing, by a first thread, a latch on a first version of the data of the delta fragment, the releasing is performed prior to the first thread entering a wait state; and reclaiming the first version of the data of the delta fragment from memory and during execution of the query. Related systems, methods, and articles of manufacture are also described.

    Query plan generation for precompiled and code generating query operations

    公开(公告)号:US10423619B2

    公开(公告)日:2019-09-24

    申请号:US15363380

    申请日:2016-11-29

    Applicant: SAP SE

    Abstract: A system for generating a query plan is provided. In some implementations, the system performs operations comprising: translating, into corresponding code, a query operation in a query plan comprising a sequence of query operations; determining a context for the translating of the query operation, the context corresponding to whether the query operation comprises a pre-compiled query operation or a code-generating query operation; and inserting adaptor code between code for the query operation and code for one or more previous query operations in the sequence of query operations, when a change in context is detected between the translating of the query operation and a translation of the one or more previous query operations. Related methods and articles of manufacture are also described.

    JIT code compilation during runtime based on runtime statistics

    公开(公告)号:US12265537B2

    公开(公告)日:2025-04-01

    申请号:US18354990

    申请日:2023-07-19

    Applicant: SAP SE

    Abstract: Systems, methods, and articles of manufacture, including computer program products, provide a system including at least one data processor and at least one memory storing instructions which, when executed by the at least one data processor, cause operations comprising: generating, by a database execution engine, a query plan including a plurality of operators; inserting, by the database execution engine, an enforce compilation operator into the query plan that includes the plurality of operators, the plurality of operators comprising a first operator, the enforce compilation operator, and a second operator; executing at least the first operator of the query plan; in response to executing the first operator, evaluating, by the database execution engine, an output of the first operator to determine whether a condition is satisfied; and in response to the condition being satisfied, triggering, by the database execution engine, a just-in-time compilation of the second operator.

    TEXT SEARCHING USING PARTIAL SCORE EXPRESSIONS

    公开(公告)号:US20250036619A1

    公开(公告)日:2025-01-30

    申请号:US18357920

    申请日:2023-07-24

    Applicant: SAP SE

    Abstract: Systems and methods are provided for text searching using partial score expressions. A method may include receiving a query to search for a search term in at least a first column of a first table and a second column of a second table, scanning the first column and the second column for at least a portion of the search term, generating a first partial score table, generating a second partial score table, determining a combined score for each row in the first column and/or the second column containing at least the portion of the search term based at least on a join of the first partial score table and the second partial score table, and providing, in response to the query and based at least on the combined score, a row of the first column and/or the second column including at least the portion of the search term.

    INDEX JOIN QUERY OPTIMIZATION
    16.
    发明申请

    公开(公告)号:US20250028721A1

    公开(公告)日:2025-01-23

    申请号:US18354110

    申请日:2023-07-18

    Applicant: SAP SE

    Abstract: In some implementations, there is provided a method including receiving a query request including a join, wherein the join includes a range between a first predicate of the join and a second predicate of the join; generating a query plan including an index join operator; executing the query plan including the index join operator including getting, from the sorted dictionary, the first value identifier, the second value identifier, and the one or more intervening value identifiers between the first value identifier and the second value identifier and executing the index join operator using the first value identifier, the second value identifier, and the one or more intervening value identifiers to obtain a result set.

    BLOCKED INDEX JOIN
    17.
    发明申请

    公开(公告)号:US20240419668A1

    公开(公告)日:2024-12-19

    申请号:US18819361

    申请日:2024-08-29

    Applicant: SAP SE

    Inventor: Till Merker

    Abstract: A method, a system, and a computer program product for executing a blocked index join. One or more join values for joining data stored in a database in response to a query for accessing data stored in the database are identified. The database stores data in a plurality of tables. Each table has a plurality of columns and a plurality of rows. A mapping of one or more rows in the plurality of rows corresponding to one or more join values to a number of rows including one or more join values is identified. Based on the mapping, a join of one or more join values based on the rows including one or more join values is executed. The joined values are outputted.

    Blocked index join
    18.
    发明授权

    公开(公告)号:US12105709B2

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

    申请号:US17740151

    申请日:2022-05-09

    Applicant: SAP SE

    Inventor: Till Merker

    CPC classification number: G06F16/24544 G06F16/24537 G06F16/24569

    Abstract: A method, a system, and a computer program product for executing a blocked index join. One or more join values for joining data stored in a database in response to a query for accessing data stored in the database are identified. The database stores data in a plurality of tables. Each table has a plurality of columns and a plurality of rows. A mapping of one or more rows in the plurality of rows corresponding to one or more join values to a number of rows including one or more join values is identified. Based on the mapping, a join of one or more join values based on the rows including one or more join values is executed. The joined values are outputted.

    Global index with repartitioning operator

    公开(公告)号:US11977582B2

    公开(公告)日:2024-05-07

    申请号:US17741328

    申请日:2022-05-10

    Applicant: SAP SE

    CPC classification number: G06F16/90335

    Abstract: A global index with a repartitioning operator is provided. A method for executing a query includes receiving a query including a request to search a first table based on a first value in a first column. The method may include generating a second table by partitioning the second table based on the first column and including, in the second table, a partition identifier and a reference row identifier. The method may include pruning the second table such that a row corresponding to the first value remains in the second table. The method may include repartitioning the row to a stream based on the partition identifier. The method may include executing the query by at least searching the partition of the first table based on the stream and the row identifier of the row. Related systems and articles of manufacture are provided.

    TABLE SCAN PREDICATE WITH INTEGRATED SEMI-JOIN FILTER

    公开(公告)号:US20230376474A1

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

    申请号:US17751296

    申请日:2022-05-23

    Applicant: SAP SE

    Abstract: A table scan predicate with integrated semi-join filter is provided. A method includes receiving a query including: a request to join first data from a first table and second data from a second table, a first predicate for use in a table scan of the second table, and a second predicate including an expression associated with the first data from the first table and a reference to a column associated with the second data from the second table. The method may include transforming the second predicate into a dynamic predicate for execution of the query. the method may include applying the dynamic predicate to at least the first data. The method may include executing the query by at least scanning the second table based on the first predicate and filtered first data from the application of the dynamic predicate. Related systems and articles of manufacture are provided.

Patent Agency Ranking