How to export and import the data of one ColumnFamily ?

150 views
Skip to first unread message

王杰

unread,
May 25, 2020, 3:13:48 AM5/25/20
to rocksdb
There are two RocksDB on two nodes. I want to export the ColumnFamily data from RocksDB1 on node1, and copy the exported data from node1 to node2, then RocksDB2 on node2 import the data.
How can I do the export and import ? Thank you very much.
Message has been deleted

王杰

unread,
May 26, 2020, 11:12:44 PM5/26/20
to rocksdb
I have found the API ExportColumnFamily and CreateColumnFamilyWithImport

在 2020年5月25日星期一 UTC+8下午4:47:52,王杰写道:
Is there any rocksdb API to do the export and import.

在 2020年5月25日星期一 UTC+8下午3:13:48,王杰写道:
Reply all
Reply to author
Forward
0 new messages