user962305 wrote:Please see http://docs.oracle.com/cd/NOSQL/html/javadoc/oracle/kv/KVStore.html for information on the API including when/where you can use the Durability option. If you have more questions after reading through that, I'll be happy to answer them.
Please, can someone explain how does that durability option work?
Where and how can we set that option?
What are the aim and the benefit of that option?
Is that option available in the current version of Oracle NoSQL ?
greybird wrote:To be even more specific, write means that the Java program (BDB JE) issues a RandomAccessFile.write() call which issues a write(2) call to the underlying file system. Hence, the data goes from the JVM to the OS. This protects against JVM failure, but not system failure.
Your previous post was correct so I'm going to repeat it:
NO_SYNC = no write, no fsync
WRITE_NO_SYNC = write, no fsync
SYNC = write and fsync
I think these names are historical and I can see how they are confusing.