sqlg icon indicating copy to clipboard operation
sqlg copied to clipboard

Cache gremlin results

Open pietermartin opened this issue 7 years ago • 0 comments

A big maybe.

Sqlg can potentially keep stats on element labels. Or get the stats from the database itself. It can also keep stats on gremlin queries.

And then if a gremlin is executed frequently but the underlying tables change seldom it could cache the result. Subsequent executions of the gremlin would just de-serialize the result as oppose to executing the query with joins and whatever.

Probably serialize the result with the existing gremlin serialization framework.

pietermartin avatar May 29 '17 16:05 pietermartin