diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-07-15 07:37:46 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-07-15 07:37:46 -0600 |
commit | 048d3f19b28ee04dd6b2ca3c8f86e5fa65dc7355 (patch) | |
tree | dbc4f69d728c34c6edc6d41872a21a2200d41c76 /node.go | |
parent | Merge pull request #224 from benbjohnson/rebalance-time (diff) | |
download | dedo-048d3f19b28ee04dd6b2ca3c8f86e5fa65dc7355.tar.gz dedo-048d3f19b28ee04dd6b2ca3c8f86e5fa65dc7355.tar.xz |
Add DB.NoSync option for bulk loading.
This commit adds the DB.NoSync flag to skip fsync() calls on each commit. This should only
be used for bulk loading as it can corrupt your database in the event of a system failure.
Initial tests show it can provide a 2x speed up for sequential inserts.
Diffstat (limited to 'node.go')
0 files changed, 0 insertions, 0 deletions