mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Put the documents MTBL back into LMDB
We makes sure to write the documents into a file before memory mapping it and putting it into LMDB, this way we avoid moving it to RAM
This commit is contained in:
parent
d784d87880
commit
0a44ff86ab
10 changed files with 100 additions and 110 deletions
|
@ -63,8 +63,5 @@ $('#docs-count').text(function(index, text) {
|
|||
|
||||
// Make the database a little bit easier to read
|
||||
$('#db-size').text(function(index, text) {
|
||||
let arr = text.split("+");
|
||||
let database_size = filesize(parseInt(arr[0]));
|
||||
let documents_size = filesize(parseInt(arr[1]));
|
||||
return `${database_size} + ${documents_size}`
|
||||
return filesize(parseInt(text))
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue