CockroachDB index should to store caveats #1923
Labels
area/datastore
Affects the storage system
area/perf
Affects performance or scalability
hint/good first issue
Someone new could handle this
state/implementation ready
This is ready to be worked on
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.
The text was updated successfully, but these errors were encountered: