-
Notifications
You must be signed in to change notification settings - Fork 474
opt: remove uniqueness checks for gen_random_uuid() #10118
Copy link
Copy link
Closed
Labels
Milestone
Description
Jesse Seldess commented:
PR: cockroachdb/cockroach#61132
From release notes:
Added the
sql.optimizer.uniqueness_checks_for_gen_random_uuid.enabledcluster setting, which controls creation of uniqueness checks for [UUID](../v21.1/uuid.html] columns set togen_random_uuid(]. When enabled, uniqueness checks will be added for theUUIDcolumn if it has a unique constraint that cannot be enforced by an index. When disabled, no uniqueness checks are planned for these columns, and uniqueness is assumed due to the near-zero collision probability ofgen_random_uuid(). [#61132)[#61132) {% comment %}doc{% endcomment %}
Jira Issue: DOC-1055
Reactions are currently unavailable