Altering data type of a column in a database

    公开(公告)号:US10747737B2

    公开(公告)日:2020-08-18

    申请号:US14552902

    申请日:2014-11-25

    Applicant: SAP SE

    Abstract: Disclosed herein are system, method, and computer program product embodiments for altering the data type of a column in a database. An embodiment operates by converting an original dictionary associated with a column into a new dictionary. The new dictionary stores the values of the original dictionary using a different data type. An index vector containing the keys of the original dictionary is then updated to contain the associated keys of the new dictionary. Because the size of the original dictionary is often substantially smaller than the number of rows in the associated column, this dictionary conversion decreases the computation cost to the database system of altering the data type of the column and reduces or even minimizes database downtime for users.

    OUT OF MEMORY ERROR HANDLING FOR DATA DEFINITION LANGUAGE OPERATIONS

    公开(公告)号:US20170109044A1

    公开(公告)日:2017-04-20

    申请号:US14885752

    申请日:2015-10-16

    Applicant: SAP SE

    CPC classification number: G06F16/22 G06F12/00

    Abstract: The subject matter disclosed herein relates to out of memory error handling in a database system. A database operation can be received by an in-memory database. The database operation can be for a database object stored in a database table that can be represented as a plurality of pages that can be persisted in a page chain. The in-memory database can reserve out of memory space sufficient to load a predetermined number of pages in the page chain into memory. The in-memory database can iteratively process each page in the page chain until completion of the database operation. The iterative process can include loading the page from persistence into memory of the in-memory database, performing at least a portion of the database operation using the loaded page, and unloading the page from the memory of the in-memory database. Related apparatus, systems, techniques, and articles are also described.

    Out of memory error handling for data definition language operations

    公开(公告)号:US11086832B2

    公开(公告)日:2021-08-10

    申请号:US14885752

    申请日:2015-10-16

    Applicant: SAP SE

    Abstract: The subject matter disclosed herein relates to out of memory error handling in a database system. A database operation can be received by an in-memory database. The database operation can be for a database object stored in a database table that can be represented as a plurality of pages that can be persisted in a page chain. The in-memory database can reserve out of memory space sufficient to load a predetermined number of pages in the page chain into memory. The in-memory database can iteratively process each page in the page chain until completion of the database operation. The iterative process can include loading the page from persistence into memory of the in-memory database, performing at least a portion of the database operation using the loaded page, and unloading the page from the memory of the in-memory database. Related apparatus, systems, techniques, and articles are also described.

Patent Agency Ranking