cockroachdb / pebble

RocksDB/LevelDB inspired key-value database in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

db: create a new pebble databse inside a existed pebble db

leowkong opened this issue · comments

I noticed that there is a LOCK file under the pebble db data directory . For my application needs, I need to create a new pebble db under an already created pebble db. This newly created db will not be accessed by the previous db, and the data is completely independent, is this supported and safe by pebble?

What do you mean by “under”? In a subdirectory? Within a subdirectory will be ok.

@jbowens yes, new db is in a subdirectory