A production system recommended the following index: CREATE INDEX ON relation_tuple (namespace, relation, object_id, userset_relation) STORING (caveat_name, caveat_context);
Solution Brainstorm
This is the closest to our primary key constraint and should improve overall check performance.
Problem Statement
A production system recommended the following index:
CREATE INDEX ON relation_tuple (namespace, relation, object_id, userset_relation) STORING (caveat_name, caveat_context);
Solution Brainstorm
This is the closest to our primary key constraint and should improve overall check performance.