System versioned table with transactional system time

    公开(公告)号:US11886424B2

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

    申请号:US17481644

    申请日:2021-09-22

    Applicant: SAP SE

    CPC classification number: G06F16/2379

    Abstract: A method may include receiving a first transaction inserting a record into a database and a second transaction deleting the record from the database. A validity period for the record may be determined based on a first commit time at which the first transaction is committed and a second commit time at which the second transaction is committed. A current table and/or a history table of a system versioned table may be updated to include the record based on the validity period of the record. One or more temporal operations may be performed based on the system versioned table. For example, a time travel operation may be performed to retrieve, based on the system versioned table, one or more records that are valid at a given point in time. Related systems and computer program products are also provided.

    SYSTEM VERSIONED TABLE WITH TRANSACTIONAL SYSTEM TIME

    公开(公告)号:US20230086162A1

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

    申请号:US17481644

    申请日:2021-09-22

    Applicant: SAP SE

    Abstract: A method may include receiving a first transaction inserting a record into a database and a second transaction deleting the record from the database. A validity period for the record may be determined based on a first commit time at which the first transaction is committed and a second commit time at which the second transaction is committed. A current table and/or a history table of a system versioned table may be updated to include the record based on the validity period of the record. One or more temporal operations may be performed based on the system versioned table. For example, a time travel operation may be performed to retrieve, based on the system versioned table, one or more records that are valid at a given point in time. Related systems and computer program products are also provided.

Patent Agency Ranking