Discover Packages
github.com/cockroachdb/pebble/v2
internal
lsmview
package
Version:
v2.0.7
Opens a new window with list of versions in this module.
Published: Aug 22, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
GenerateURL generates a URL showing the LSM diagram. The URL contains the
encoded and compressed data as the URL fragment.
type Data struct {
Levels []Level `json:"levels"`
Keys []string `json:"keys"`
}
Data encodes the data necessary to generate an LSM diagram.
type Level struct {
Name string `json:"level_name"`
Tables []Table `json:"tables"`
}
Level contains the data for a level of the LSM.
type Table struct {
Label string `json:"label"`
Size uint64 `json:"size"`
SmallestKey int `json:"smallest_key"`
LargestKey int `json:"largest_key"`
Details []string `json:"details"`
}
Table contains the data for a table.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.