Efficient and non-disruptive online defragmentation with record locking

    公开(公告)号:US11204911B2

    公开(公告)日:2021-12-21

    申请号:US16824933

    申请日:2020-03-20

    申请人: SAP SE

    摘要: Methods, systems, and computer-readable storage media for online defragmentation of memory in database systems by applying an IX-lock to each table having data stored in a marked page in a set of marked pages, generating a record map including key-value pairs, each being associated with a record location in a marked page, a value of each key-value pair initially set to a first value, iteratively executing the online defragmentation to delete data from marked pages and add the data to non-sparse pages, at least one iteration including applying a try-lock to a record in a marked page, and at iterations of the online defragmentation, updating the record map to change the value of at least one key-value pair from the first value to the second value, the second value representing that data of a marked page has been deleted from the marked page and added to a non-sparse page.

    FAST RESTART OF APPLICATIONS USING SHARED MEMORY

    公开(公告)号:US20190324648A1

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

    申请号:US16503122

    申请日:2019-07-03

    申请人: SAP SE

    IPC分类号: G06F3/06 G06F9/54 G06F9/46

    摘要: Technologies are described for restarting an application while maintaining data in memory (e.g., using shared memory). For example, shared memory can be associated with an application. The shared memory can also be associated with a holder process to maintain the shared memory from the time the application stops to the time the application starts again. When the application starts, the shared memory can be associated with the started application. In addition, restart of in-memory databases can be provided using shared memory. For example, in-memory data can be maintained when a database process or database management system stops and starts (e.g., during a restart).

    Hybrid database table stored as both row and column store

    公开(公告)号:US10346383B2

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

    申请号:US15260181

    申请日:2016-09-08

    申请人: SAP SE

    摘要: A hybrid database table is stored as both a row and a column store. One or more techniques may be employed alone or in combination to enhance performance of the hybrid table by regulating access to, and/or the size of, the processing-intensive column store data. For example during an insert operation, the column store data may be searched for a uniqueness violation only after certain filtering and/or boundary conditions have been considered. In another technique, a hybrid table manager may control movement of data to the column store based upon considerations such as frequency of access, or underlying business logic. In still another technique, querying of the hybrid table may result in a search of the column store data only after an initial search of row store data fails to return a result.

    In-memory database for multi-tenancy

    公开(公告)号:US11847109B2

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

    申请号:US18064924

    申请日:2022-12-12

    申请人: SAP SE

    摘要: An in-memory database server hosting a tenant of a multi-tenant software architecture can receive a definition of a custom data field that is unique to an organization having isolated access to the tenant. The custom data field can extend a standard table defined by central metadata stored at a system tenant of the multi-tenant software architecture. Tenant private metadata that includes the definition can be stored in memory accessible only to the tenant. A tenant-dependent table that includes the custom data field can be formed, for example by retrieving central metadata defining the standard table from the system tenant and adding the custom data field using the definition. The tenant-dependent table can be presented for access via a database client at the organization. Related systems, articles of manufacture, and computer-implemented methods are disclosed.

    BRANCHING FOR TREE STRUCTURE IN DATABASE SYSTEM

    公开(公告)号:US20230195705A1

    公开(公告)日:2023-06-22

    申请号:US17555979

    申请日:2021-12-20

    申请人: SAP SE

    IPC分类号: G06F16/22 G06F16/245

    摘要: In some embodiments, a method determines a query distinction bit (D-bit) slice for a query key using values at D-bit positions that are associated with a node in the data structure. D-bit positions are determined based on branches in the data structure. The method selects a D-bit slice for a key in the set of keys for the node based on the D-bit slice of the query key and compares a key value for the key to a query key value for the query key to determine a first D-bit position value. A D-bit position that has a second D-bit position value that is smaller in value than the first D-bit position value is selected. The D-bit position is used to determine a result for the query key.

    DATABASE MIGRATION
    9.
    发明申请

    公开(公告)号:US20220100715A1

    公开(公告)日:2022-03-31

    申请号:US17210393

    申请日:2021-03-23

    申请人: SAP SE

    摘要: A physio-logical migration of a database from a source system to a target system may include exporting a catalog of the database in a data interchange format that preserves the hierarchical dependencies present amongst the entities included in the catalog. The physio-logical migration of the database may further include exporting the contents of a table in the database in a binary format compatible at the target system. The binary format may be a data buffer having a metadata portion, a fixed-size portion, and a page chain portion. Where the target system is a cloud-based system, the physio-logical migration of the database may include exporting the catalog and the contents of the table to a cloud-based object store before importing the catalog and the contents of the table to the target system. Related systems and articles of manufacture, including computer program products, are also provided.

    In-memory database for multi-tenancy

    公开(公告)号:US10997146B2

    公开(公告)日:2021-05-04

    申请号:US16107917

    申请日:2018-08-21

    申请人: SAP SE

    摘要: An in-memory database server hosting a tenant of a multi-tenant software architecture can receive a definition of a custom data field that is unique to an organization having isolated access to the tenant. The custom data field can extend a standard table defined by central metadata stored at a system tenant of the multi-tenant software architecture. Tenant private metadata that includes the definition can be stored in memory accessible only to the tenant. A tenant-dependent table that includes the custom data field can be formed, for example by retrieving central metadata defining the standard table from the system tenant and adding the custom data field using the definition. The tenant-dependent table can be presented for access via a database client at the organization. Related systems, articles of manufacture, and computer-implemented methods are disclosed.