Skip to content

SingleFastTable

ZengJingtao edited this page Jan 30, 2023 · 2 revisions

Introduction

SingleFastTable uses CSPPTrie to store indexes and data without performing any compression. The purpose is to provide the highest read and write performance. It is mainly configured on the upper layer of LSM through DispatchTable, and the corresponding Flush/Compact is executed on the DB node.

Compared with ToplingFastTable, SingleFastTable has only one cspp object, which has a simpler structure and faster speed.

Configuration

SingleFastTable is configured through SidePlugin. In the (yaml) configuration file, an example is as follows:

  fast: SingleFastTable # Simplified configuration syntax for simple configuration
  fast2: # Full version configuration syntax
    class: SingleFastTable
    params: # Even with the full configuration syntax, params can be omitted