linvodb3 icon indicating copy to clipboard operation
linvodb3 copied to clipboard

memory usage of find({}).sort()

Open chrischjh opened this issue 8 years ago • 1 comments

Hi there, is the sorting being done in the node.js process memory? for example if I need to sort 5 million data, would it consume too much memory, like 500M or 1G? thanks

chrischjh avatar Dec 20 '16 09:12 chrischjh

depending on the indexing, it can consume high amounts of memory

By default, linvodb makes an index for every key.

The best thing to do is to test it and let me know

Ivshti avatar Dec 20 '16 09:12 Ivshti