-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Enhancement
Well, recently, I got a question that's if we have any option to increase io size of pebble DB.
-
I found here is the only area changing something about LevelOptions. So, untill now, Tidb-lightning hasn't had a way to control it.
-
What the user want is when they are hiting the IOPS limit of the EBS drives in read data from pebble into SSTs of TiKV. In this way, "Pebble could relatively read more data at once to reduce iops"
type LevelOptions struct {
// BlockRestartInterval is the number of keys between restart points
// for delta encoding of keys.
//
// The default value is 16.
BlockRestartInterval int
// BlockSize is the target uncompressed size in bytes of each table block.
//
// The default value is 4096.
BlockSize int
more info --> https://pingcap.zendesk.com/agent/tickets/1896
Metadata
Metadata
Assignees
Labels
type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.