Friday 1 October 2021

ArangoDB: Load all the indexes of collection into memory

'collection.loadIndexesIntoMemory()' method loads all indexes of this collection into Memory. This method iterates over all the indexes of a collection and  stores the indexed values, it will not store entire document content into the memory.

 

What if the index is more than the application allocated memory?

This method will fill up values up to this limit.

127.0.0.1:8529@abc_org> db.employees.loadIndexesIntoMemory()
{ 
  "result" : true 
}

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment