Patent ID: 11954105
Assignee: ALIBABA GROUP HOLDING LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 10:
11. A method of querying a database system, comprising:
receiving a user query;
retrieving a query plan corresponding to the user query from a target storage layer of a cache, the query plan including at least one query operator; and
transmitting the retrieved query plan for execution by the database system, wherein the cache includes at least two storage layers for storing query plans and each of the storage layers is associated with a compression level of query plans, wherein the query plan is previously stored in a first storage layer different from the target storage layer and is moved from the first storage layer to the target storage layer, and wherein the query plan is processed by:
determining a compression level difference between compression levels of the first storage layer and the target storage layer;
determining a compression change to the at least one query operator of the query plan based on the compression level difference; and
performing the compression change to the at least one query operator of query plan according to a compression algorithm.