Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

tpcc: investigate adding a primary key for the history table #154

@petermattis

Description

@petermattis

The history table doesn't have a primary key which means Cockroach autogenerates a primary key with a unique_rowid() function. This creates a hotspot as every insertion into the history table will be touch the last range of that table (unique_rowid() produces IDs that are usually sorted). We should investigate adding a UUID primary key for this table.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions