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

Add telemetry to table partitioning #34949

Closed
mjonss opened this issue May 25, 2022 · 0 comments · Fixed by #36204
Closed

Add telemetry to table partitioning #34949

mjonss opened this issue May 25, 2022 · 0 comments · Fixed by #36204
Assignees
Labels
component/tablepartition This issue is related to Table Partition of TiDB. type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@mjonss
Copy link
Contributor

mjonss commented May 25, 2022

Feature Request

Is your feature request related to a problem? Please describe:

Currently we do not know how frequently users make use of table partitioning which would help us prioritise the development of further features.

Describe the feature you'd like:

I propose to collect the following information in the 'featureUsage' key:

  "featureUsage": {
    "tablePartition": {
      "createdTables": {
         "list": 2,
         "range": 3,
         "hash" : 1,
         "rangeColumns": 1,
         "listColumns": 1
       },
      "createdPartitions": 33,
      "alteredPartitionedTables": {
         "list": 2,
         "range": 3,
         "hash" : 1,
         "rangeColumns": 1,
         "listColumns": 1
      },
      "setPruneMode": {
        "static": 3,
        "dynamic": 4
      },
  },

Describe alternatives you've considered:

This still needs to be discussed with Product Manager etc.

Teachability, Documentation, Adoption, Migration Strategy:

This will help us see what kind of partitioning types are used the least and most.

@mjonss mjonss added type/feature-request Categorizes issue or PR as related to a new feature. component/tablepartition This issue is related to Table Partition of TiDB. labels May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tablepartition This issue is related to Table Partition of TiDB. type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
2 participants