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

YSQL cluster administration features #4194

Open
rkarthik007 opened this issue Apr 10, 2020 · 0 comments
Open

YSQL cluster administration features #4194

rkarthik007 opened this issue Apr 10, 2020 · 0 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue roadmap-tracking-issue This issue tracks a major roadmap item, and usually appears in the roadmap list.

Comments

@rkarthik007
Copy link
Collaborator

rkarthik007 commented Apr 10, 2020

Jira Link: DB-1393
Issue tracking improvements needed around administration of YSQL.

Design Docs

⬜️ Design Doc for cluster administration

Node level statistics

In this phase, each YSQL server will maintain configuration and statistics about queries executed on that node. These statistics can be queried using SQL statements via ysqlsh or any postgres client driver. However, the statistics across all nodes won't be aggregated. Some stats will also be available on tserver UI page.

Status Feature Comments
Setting YSQL configuration per node (pg_hba.conf). Available configuration settings v2.5
Support for pg_stat_statements v2.5 (default enabled)
Support PGAudit v2.5 (default bundled)
Support for slow query logging #3657 v2.5
Support pg_stat_activity v2.5 (default enabled)

Table level statistics

Status Feature Comments
⬜️ Track statistics on table and index accesses, like pg_stat_all_tables
⬜️ Track statistics on usage of user defined functions, like pg_stat_user_functions
⬜️ Database statistics like number of connections, transactions committed / rolled back, rows read and written, similar to pg_stat_database

Cluster wide statistics

In this phase, each YSQL server will collect statistics about data and queries executed on that server and will push these out to a centralized statistics table. This table can then be queried using SQL statements. These stats will also be available on YW platform and master UI pages.

Status Feature Comments
⬜️ Add ability to change YSQL configuration for the entire cluster #1140
⬜️ Track SQL statement execution with pg_stat_statements #4802
⬜️ Track statistics on DB, table, index accesses and user defined functions pg_stat_xx

Visibility into transactions and locking

Status Feature Comments
⬜️ Viewing locks in the system with pg_locks
⬜️ View statistics such as read / write action counts taken so far in transactions, like pg_stat_xact_all_tables

Analytics

@rkarthik007 rkarthik007 added kind/new-feature This is a request for a completely new feature area/ysql Yugabyte SQL (YSQL) labels Apr 10, 2020
@rkarthik007 rkarthik007 added the roadmap-tracking-issue This issue tracks a major roadmap item, and usually appears in the roadmap list. label Jul 24, 2020
@yugabyte-ci yugabyte-ci added the priority/medium Medium priority issue label Jun 8, 2022
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/new-feature This is a request for a completely new feature labels Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue roadmap-tracking-issue This issue tracks a major roadmap item, and usually appears in the roadmap list.
Projects
Status: No status
Development

No branches or pull requests

4 participants