Extension application mechanisms through intra-process operation systems

    公开(公告)号:US11928489B2

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

    申请号:US17209852

    申请日:2021-03-23

    申请人: SAP SE

    摘要: The present disclosure relates to computer-implemented methods, software, and systems for providing extension application mechanisms. Memory is allocated for a virtual environment to run in an address space of an application that is to be extended with extension logic in a secure manner. The virtual environment is configured for execution of commands related to an extension functionality of the application. A virtual processor for an execution of a command of the commands is initialized at the virtual environment. The virtual processor is operable to manage one or more guest operating systems (OS). A first guest OS is loaded at the allocated memory and application logic of the extension functionality is copied into the allocated memory. The virtual environment is started to execute the first guest OS and the application logic of the extension functionality in relation to associated data of the application in the allocated memory.

    DESIGN AND IMPLEMENTATION OF DATA ACCESS METRICS FOR AUTOMATED PHYSICAL DATABASE DESIGN

    公开(公告)号:US20220269658A1

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

    申请号:US17324874

    申请日:2021-05-19

    申请人: SAP SE

    IPC分类号: G06F16/215 H03M7/30

    摘要: The present disclosure involves systems, software, and computer implemented methods for improved design and implementation of data access metrics for automated physical database design. An example method includes identifying a database workload for which index advisor access counters are to be tracked. Each SQL statement in the database workload is executed. For each SQL statement, attribute sets are determined for which a selection predicate filters a result for an SQL statement. An output cardinality of each selection predicate is determined. A logarithmic counter for an attribute set corresponding to the selection predicate is determined based on the output cardinality of the selection predicate. The determined logarithmic counter is incremented. Respective values for logarithmic counters of the determined attributes are provided to an index advisor. The index advisor determines attribute sets for which to propose an index based on the logarithmic counters of the respective attribute sets.

    EFFICIENT SHARED BULK LOADING INTO OPTIMIZED STORAGE

    公开(公告)号:US20210216564A1

    公开(公告)日:2021-07-15

    申请号:US16739352

    申请日:2020-01-10

    申请人: SAP SE

    IPC分类号: G06F16/25 G06F16/23

    摘要: The present disclosure involves systems, software, and computer implemented methods for efficient shared bulk loading into optimized storage. One example method includes identifying a data set on a client to load to a server. Load steps that can be performed either on the client or the server are identified. Values for load factors are determined. Load rules are determined that are based on load factors and are for determining processing locations for the load steps. A processing location of either the client or the server is determined for each load step, based on the load rules. Load steps that have a processing location of the client are executed on the data set, on the client. The data set is transferred from the client to the server, over a network. Load steps that have a processing location of the server are executed on the data set, at the server.

    Methods and systems for estimating the number of points in two-dimensional data

    公开(公告)号:US10482085B2

    公开(公告)日:2019-11-19

    申请号:US14975086

    申请日:2015-12-18

    申请人: SAP SE

    摘要: A method, medium, and system to generate cardinality estimates for at least one query execution plan for a query by representing a given set of multidimensional data including a plurality of data points having a value by a hierarchical tree data structure including nodes, each node representing a distribution of a subset of the points in the data set and being partitioned into tiles; calculating a bounding rectangle of the data points in each node; entering all non-empty tiles into a queue; processing of the queue can continue until a computational memory space limit is reached or until a desired estimation resolution is met; and encoding the resulting tree structure.

    Selectivity Estimation For Database Query Planning

    公开(公告)号:US20180341679A1

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

    申请号:US15603325

    申请日:2017-05-23

    申请人: SAP SE

    IPC分类号: G06F17/30

    摘要: A system for cardinality estimation for database query planning is provided. In some implementations, the system performs operations comprising determining, based on a first bounds and a second bounds for a combination of query predicates, whether a solution for the combination of the query predicates exists which includes both the first and second bounds. When the solution is determined to exist, the operations can further comprise determining at least one selectivity estimate for the combination of the query predicates. A query plan for execution of a database query comprising the query predicates can be generated based on the at least one selectivity estimate, and the database query can be executed through execution of the query plan. Related systems, methods, and articles of manufacture are also described.

    DECLARATIVE RULES FOR OPTIMIZED ACCESS TO DATA

    公开(公告)号:US20180253473A1

    公开(公告)日:2018-09-06

    申请号:US15601815

    申请日:2017-05-22

    申请人: SAP SE

    IPC分类号: G06F17/30

    CPC分类号: G06F16/24537 G06F16/24564

    摘要: The present disclosure involves systems, software, and computer implemented methods for using declarative rules for optimized access to data. One example method includes receiving a structured query language (SQL) query, the SQL query associated with at least one database table and at least one predicate. A determination is made as to whether the SQL query is associated with at least one declarative rule based on the at least one database table and the at least one predicate. In response to determining that the SQL query is associated with at least one declarative rule, the at least one associated declarative rule is applied, during optimization of the SQL query. The at least one declarative rule defines a transformation to the SQL query to be performed during query optimization. An updated SQL query is generated based on the applied at least one associated declarative rule and the updated SQL query is provided.

    Implementation of data access metrics for automated physical database design

    公开(公告)号:US11550762B2

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

    申请号:US17316901

    申请日:2021-05-11

    申请人: SAP SE

    摘要: The present disclosure involves systems, software, and computer implemented methods for improved design and implementation of data access metrics for automated physical database design. An example method includes identifying a database workload for which index advisor access counters are to be tracked. Each SQL statement in the database workload is executed. For each SQL statement, attribute sets are determined for which a selection predicate filters a result for an SQL statement. An output cardinality of each selection predicate is determined. A logarithmic counter for an attribute set corresponding to the selection predicate is determined based on the output cardinality of the selection predicate. The determined logarithmic counter is incremented. Respective values for logarithmic counters of the determined attributes are provided to an index advisor. The index advisor determines attribute sets for which to propose an index based on the logarithmic counters of the respective attribute sets.

    DESIGN AND IMPLEMENTATION OF DATA ACCESS METRICS FOR AUTOMATED PHYSICAL DATABASE DESIGN

    公开(公告)号:US20220269655A1

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

    申请号:US17316901

    申请日:2021-05-11

    申请人: SAP SE

    摘要: The present disclosure involves systems, software, and computer implemented methods for improved design and implementation of data access metrics for automated physical database design. An example method includes identifying a database workload for which index advisor access counters are to be tracked. Each SQL statement in the database workload is executed. For each SQL statement, attribute sets are determined for which a selection predicate filters a result for an SQL statement. An output cardinality of each selection predicate is determined. A logarithmic counter for an attribute set corresponding to the selection predicate is determined based on the output cardinality of the selection predicate. The determined logarithmic counter is incremented. Respective values for logarithmic counters of the determined attributes are provided to an index advisor. The index advisor determines attribute sets for which to propose an index based on the logarithmic counters of the respective attribute sets.