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!

How to set the Berkeley-DB JE je.log.fileMax parameter programmatically?

3311305Sep 12 2016 — edited Sep 12 2016

up vvotefavorit

I'm trying to maximise BDB's performance. As I read here, setting the environment variable je.log.fileMax to its allowed maximum increases performance. I am using an EntityStoreand setup the Environment accordingly (see my code line 72)

envConfig.setConfigParam("je.log.fileMax", "1073741824");

However, when I run a unit-test the default value appears to be used (see my test line 27)

// gives the default of 10MB: assertEquals(1073741824, mutableConfig.getConfigParam("je.log.fileMax")); 

I am not using a je.properties file. What am I missing? And would I really increase performance with this setting?

Thank you very much and Cheers!

See original post here:
java - How to set the Berkeley-DB JE je.log.fileMax parameter programmatically? - Stack Overflow

Comments

My idea would be: debug it.

Your post had so little technical information so I can't be more specific, sorry.

[I know this isn't a Perl forum, but since isn't one on OTN, I'm OK with you asking it here]

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 10 2016
Added on Sep 12 2016
0 comments
149 views