Registry / database / cockroachdb-pebble

cockroachdb-pebble

JSON →
library1.1.5gogounverified

Pebble is a key-value store inspired by LevelDB and RocksDB, designed for use in CockroachDB.

go get github.com/cockroachdb/pebble
INSTALL
IMPORT
SIG · COCKROACHDB-PEBBLE
C
cockroachdb-pebble
databasegov1.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pebble
✓ github.com/cockroachdb/pebble

Opens a Pebble database, stores a key-value pair, and prints a success message.

package main import ( "fmt" "github.com/cockroachdb/pebble" ) func main() { db, err := pebble.Open("/tmp/pebble", &pebble.Options{}) if err != nil { panic(err) } defer db.Close() key := []byte("hello") value := []byte("world") if err := db.Set(key, value, pebble.Sync); err != nil { panic(err) } fmt.Println("Key-value pair stored successfully") }
Debug
Known issues
gotchaPebble is not a full SQL database; it is a low-level key-value store.
fix
Use for embedded storage needs; consider higher-level abstractions for complex queries.
affects: all
Upgrade
Version history
1.1.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
cockroachdb-pebble — go get cockroachdb-pebble · libregistry