Skip to content

Commit

Permalink
Merge branch 'master' of github.com:louischatriot/nedb
Browse files Browse the repository at this point in the history
  • Loading branch information
louischatriot committed Nov 23, 2015
2 parents 6884f83 + 60ed17a commit 085ec69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ You can also set automatic compaction at regular intervals with `yourDatabase.pe

Keep in mind that compaction takes a bit of time (not too much: 130ms for 50k records on a typical development machine) and no other operation can happen when it does, so most projects actually don't need to use it.

Phyiscal persistence works similarly to major databases: compaction forces the OS to physically flush data to disk, while appends to the data file let the OS handle this. That guarantees that a server crash can never cause complete data loss, at most one or two documents, while preserving performance.
<!--Phyisical persistence works similarly to major databases: compaction forces the OS to physically flush data to disk, while appends to the data file let the OS handle this. That guarantees that a server crash can never cause complete data loss, at most one or two documents, while preserving performance.-->


### Inserting documents
Expand Down

0 comments on commit 085ec69

Please sign in to comment.