newtondb icon indicating copy to clipboard operation
newtondb copied to clipboard

Secondary indexes

Open alexberriman opened this issue 2 years ago • 0 comments

Currently, an index is only created for the primary key of a collection. That means for every other query where the primary key is not included, the entire collection has to be scanned. If you were able to configure multiple secondary indexes, read operations could reference the hash table as opposed to scanning the linked list.

alexberriman avatar Jul 12 '22 22:07 alexberriman