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 EntityStore and 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 |