| CPC G06F 16/254 (2019.01) | 20 Claims |

|
1. A method performed by a database system, comprising:
detecting a first query targeting a first database object stored in a unified persistence format in a persistence store, wherein a persistence representation of the first database object comprises one or more primitives;
determining whether to load the first database object in column-loadable format or page-loadable format into an in-memory store, responsive to detecting the first query;
responsive to determining to load the first database object in the column-loadable format into the in-memory store, determining if a first bit representation of the one or more primitives in the persistence store is compatible with a second bit representation used for storing the one or more primitives in the in-memory store; and
performing a native copy operation to copy the one or more primitives from the persistence store to the in-memory store responsive to determining that the first bit representation is compatible with the second bit representation, wherein the native copy operation comprises copying the one or more primitives on a page-by-page basis without decoding and encoding values of the one or more primitives.
|