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

Optimize SQL Queries to Improve Dashboard Scalability and Performance #1758

Open
db-will opened this issue Nov 22, 2024 · 0 comments
Open

Optimize SQL Queries to Improve Dashboard Scalability and Performance #1758

db-will opened this issue Nov 22, 2024 · 0 comments
Labels

Comments

@db-will
Copy link

db-will commented Nov 22, 2024

Bug Report

What did you do?

When a TiDB cluster grows large, a significant number of SQL statements, slow queries, and other resource data are retrieved from the database for display. However, if an SQL query takes too long, a configured timeout may prevent the dashboard from displaying any information. Currently, dashboard won't be able to show anything and report errors.

To better support large-scale TiDB clusters, the TiDB Dashboard should implement features like pagination, optimize indexing (e.g., for ORDER BY operations), and adopt other techniques to enhance performance and usability.

What did you expect to see?

TiDB Dashboard can scale to support display sql statements, slow queries and potentially other resources.

What did you see instead?

TiDB Dashboard show errors for 504.

What version of TiDB Dashboard are you using (./tidb-dashboard --version)?

v8.1.1

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

No branches or pull requests

1 participant