Invention Grant
- Patent Title: Compaction policy
-
Application No.: US15073509Application Date: 2016-03-17
-
Publication No.: US10346432B2Publication Date: 2019-07-09
- Inventor: Todd Lipcon
- Applicant: Cloudera, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: Cloudera, Inc.
- Current Assignee: Cloudera, Inc.
- Current Assignee Address: US CA Palo Alto
- Agency: Perkins Coie LLP
- Main IPC: G06F16/27
- IPC: G06F16/27

Abstract:
A compaction policy imposing soft limits to optimize system efficiency is used to select various rowsets on which to perform compaction, each rowset storing keys within an interval called a keyspace. For example, the disclosed compaction policy results in a decrease in a height of the tablet, removes overlapping rowsets, and creates smaller sized rowsets. The compaction policy is based on the linear relationship shared between the keyspace height and the cost associated with performing an operation (e.g., an insert operation) in that keyspace. Accordingly, various factors determining which rowsets are to be compacted, how large the compacted rowsets are to be made, and when to perform the compaction, are considered within the disclosed compaction policy. Furthermore, a system and method for performing compaction on the selected datasets in a log-structured database is also provided.
Public/Granted literature
- US20160275094A1 COMPACTION POLICY Public/Granted day:2016-09-22
Information query