Skip to content

Commit 4d178fd

Browse files
committed
Update README
1 parent 796cc97 commit 4d178fd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ For there scenario, **cloverDB** may be a more suitable alternative.
2727

2828
## Database layout
2929

30-
CloverDB abstracts the way collections are stored on disk through the **StorageEngine** interface.
31-
The default implementation stores each collection in a separate text file, with each line corresponding to a different document. Each insert, update or delete operation rewrites from scratch the file corresponding to a given collection. Thus, the cost of such operations increase as the amount of data grows. In return, the absence of dead records in each file speed-ups iteration at query time. Also, to allow for fast document retrieval by id, the size and the location of each document in the corresponding file are stored in an in-memory table.
32-
33-
If you are really concerned about performance, you could write your own implementation.
30+
CloverDB abstracts the way collections are stored on disk through the **StorageEngine** interface. The default implementation is based on the [Badger](https://github.com/dgraph-io/badger) database key-value store. However, you could easily write your own storage engine implementation.
3431

3532

3633
## API usage

0 commit comments

Comments
 (0)