Thursday, November 3, 2011

Berkeley DB Useful Commands

To create the database.  Create a text file, name it a.txt,
which has keys and values like this:

key_0
value_0
key_1
value_1

Run:

 $ db_load -T -t hash -f a.txt a.db

0 comments:

Post a Comment