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

Publish table size on schema #7444

Merged
merged 14 commits into from
Feb 9, 2021
Merged

Publish table size on schema #7444

merged 14 commits into from
Feb 9, 2021

Commits on Feb 5, 2021

  1. added file size and allocated size for each table

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    a091f6a View commit details
    Browse the repository at this point in the history
  2. always update the table size on schema reload

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    308f7bd View commit details
    Browse the repository at this point in the history
  3. schema query needs to be different betwen mysql5.7 and mysql8.0

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay authored and harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    7ddbf2d View commit details
    Browse the repository at this point in the history
  4. added table size guage metrics

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    ac19775 View commit details
    Browse the repository at this point in the history
  5. added schema with size query to mariadb flavor

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    5fb2671 View commit details
    Browse the repository at this point in the history
  6. fix vtexpain test

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    896a2ae View commit details
    Browse the repository at this point in the history
  7. add query for filepos flavor

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    0ada42b View commit details
    Browse the repository at this point in the history
  8. added mysql56 flavor

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    ac97236 View commit details
    Browse the repository at this point in the history
  9. added mariadb flavor

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    f2791bc View commit details
    Browse the repository at this point in the history
  10. fix mysql56 flavour query

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    46a09f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. made the mysql 5.7 tables with sizes query less fragile

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    f4ebe62 View commit details
    Browse the repository at this point in the history
  2. change the size query so that it handles databases with both easy and…

    … difficult table names
    
    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    7b298fb View commit details
    Browse the repository at this point in the history
  3. make sure we group by all non aggregating columns

    Signed-off-by: Andres Taylor <andres@planetscale.com>
    systay committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    f615d79 View commit details
    Browse the repository at this point in the history
  4. fix schema unit test

    Signed-off-by: Harshit Gangal <harshit@planetscale.com>
    harshit-gangal committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    91b84cb View commit details
    Browse the repository at this point in the history