Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[rdf4j-dev] NativeStore and file sync

Hi,

While looking at the NativeStore I've noticed that there is a feature to enable forced sync for file writes. From my understanding this would be used to force the underlying storage to flush writes to disk in the case that it is still only in a write cache in memory.

This guarantee is particularly useful for a database, since people tend to trust them more in the face of failures (power failures in this case).

Forced sync is currently disabled by default.

I'm thinking we should enable it by default. Even though this will degrade performance.

I would also like to introduce a bulk loading method that would use the optimal settings for loading data (including turning off forced sync).

What do people think about this?

Håvard

Back to the top