Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DbDump and DbLoad

602842Jan 8 2009 — edited Jan 8 2009

Hello
I am trying to reload a database in keyorder to possible improve i/o performance for large datasets.

I have tried to take a dump of the database in a file using DbDump and try to load the database back into the environment using DbLoad. However, it fails and I get an error message as the trace below provides

java -jar /home/desikan/workspace/IBServer/dist/lib/je-3.3.74.jar DbDump -h /home/desikan/Desktop/DbLoadTest/ -s E10000Store_ESet_INTEGER -f /home/desikan/dumpeddatabases/test1.txt

java -jar /home/desikan/workspace/IBServer/dist/lib/je-3.3.74.jar DbLoad -f /home/desikan/dumpeddatabases/test1.txt -T -s E10000Store_ESet_INTEGER -h /home/desikan/Desktop/DbLoadTest
com.sleepycat.je.DatabaseException: (JE 3.3.74) No "DATA=END"
	at com.sleepycat.je.util.DbLoad.loadData(DbLoad.java:551)
	at com.sleepycat.je.util.DbLoad.load(DbLoad.java:402)
	at com.sleepycat.je.util.DbLoad.main(DbLoad.java:164)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sleepycat.je.utilint.JarMain.main(JarMain.java:42)
java.lang.reflect.InvocationTargetException

Can you point out what was wrong in my loading procedure. And also if you can provide the insight into the overall strategy of using DbLoad and DbDump for reloading a database in key order, it would be great.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2009
Added on Jan 8 2009
1 comment
1,649 views