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

[dst] Improve metrics collection related-to Wait-on-Conflict concurrency control #13584

Closed
robertsami opened this issue Aug 11, 2022 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@robertsami
Copy link
Contributor

robertsami commented Aug 11, 2022

Jira Link: DB-3160
Some examples:

  1. latency of deadlock detection (min, max, avg)
  2. avg cycle length in deadlock detection
  3. deadlocks detected per second
  4. wait time in wait queue
  5. number of blockers for a waiter (min, max, avg)
  6. number of waiters for a blocker (min, max, avg)

More TBD

Ensure also that memory usage of deadlock_detector and wait_queue are captured by mem tracker

@robertsami robertsami added the area/docdb YugabyteDB core features label Aug 11, 2022
@robertsami robertsami self-assigned this Aug 11, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Aug 11, 2022
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Sep 3, 2022
robertsami added a commit that referenced this issue Sep 23, 2022
Summary:
This revision adds various metrics to pessimistic locking related components to improve
observability of pessimistic locking mechanisms.

Test Plan: Jenkins

Reviewers: pjain, sergei

Reviewed By: sergei

Subscribers: mbautin, ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D19702
@robertsami robertsami added this to To do in Wait-Queue Based Locking via automation Dec 8, 2022
@robertsami robertsami moved this from To do to Done in Wait-Queue Based Locking Dec 8, 2022
@pkj415 pkj415 changed the title [dst] Improve metrics collection related-to pessimistic locking [dst] Improve metrics collection related-to Wait-on-Conflict concurrency control Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
Status: Done
Development

No branches or pull requests

2 participants