dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

perf(query): Read just the latest value for scalar types

Open harshil-goel opened this issue 2 years ago • 0 comments

Description: Right now, when we read some data, we read the entire posting list. With this we populate List structure in memory, which has two layers. These two layers are then merge sorted. All of this takes a lot of time. In this diff, we are updating the query processor to just read the latest value in case of scalar types.

LDBC test for IC09. Before: 35 seconds After: 26 seconds

harshil-goel avatar Aug 22 '23 14:08 harshil-goel