Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: introduce Transaction ID Cache #12908

Closed
cockroach-teamcity opened this issue Feb 1, 2022 · 0 comments
Closed

sql: introduce Transaction ID Cache #12908

cockroach-teamcity opened this issue Feb 1, 2022 · 0 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Feb 1, 2022

Exalate commented:

cockroachdb/cockroach#74115 --- Release note (sql change): Transaction ID to Transaction Fingerprint ID mapping is now stored in the new Transaction ID Cache, a FIFO unordered in-memory buffer. The size of the buffer is 64 MB by default and configurable via sql.contention.txn_id_cache.max_size cluster setting. Consequentially, two additioanl metrics are introduced: * sql.contention.txn_id_cache.size: tracks the current memory usage of transaction ID Cache * sql.contention.txn_id_cache.discarded_count: number of resolved transaction IDs that are dropped due to memory constraints.

Jira Issue: DOC-2473

Jira Issue: DOC-4260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant