Patent ID: 11880495
Assignee: SAP SE
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A method for processing redo log entries in an in-memory database system employing tenant-based, group-level encryption for a plurality of tenants, the method comprising:
receiving a request to generate a database redo log record associated with a database transaction in the in-memory database system,
wherein the request to generate the database redo log record comprises: a redo log record size and a group-level encryption group identifier;
allocating, within a main-memory redo log buffer, a redo log entry having a redo log entry size at least sufficient to accommodate a redo log entry header, the group-level encryption group identifier, and redo log content corresponding to the redo log record size,
wherein the main-memory redo log buffer has a log buffer volume threshold and the redo log entry header includes at least the encryption group identifier;
in response to determining that the redo log buffer volume threshold is exceeded by the allocating or that the database redo log record corresponds to a commit transaction:
selectively encrypting the redo log content with a group-level encryption key associated with the group-level encryption group identifier; and

appending the encrypted redo log buffer to a physical data block within a persistent log segment storage associated with the in-memory database system.