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

record transaction in history #2518

Closed
siddontang opened this issue Jan 19, 2017 · 2 comments
Closed

record transaction in history #2518

siddontang opened this issue Jan 19, 2017 · 2 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@siddontang
Copy link
Member

Like PD, for every transaction, we can add it the a history list. We can record the SQL query, the execution time, the detailed accessed regions or other statistics.

We can use a HTTP API to see the transaction history, or a SQL like admin show transaction histories.

@iamxy
Copy link
Member

iamxy commented Jan 19, 2017

Nice! I think we could record top N slow query SQLs in a period.

@coocood coocood added the type/enhancement The issue or PR belongs to an enhancement. label Feb 16, 2017
@morgo
Copy link
Contributor

morgo commented Nov 24, 2018

Support for admin show slow was added in #7785

I am going to close this issue for now. Please feel free to re-open if you have any questions. Thanks!

@morgo morgo closed this as completed Nov 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

4 participants