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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.