TheRobotLearns Platform · ProxySQL: from first install to production

Admin Schemas, Commands & Stats — quiz

  • about 20 min read

Sources

Practice quiz

Try these as you read — answers are checked instantly and nothing is saved.

  1. Q1. You run `SHOW DATABASES` in ProxySQL Admin. Which five schemas should you expect?

    Answer for question 1
  2. Q2. You want to inspect the configuration ProxySQL is using now. Where do the `runtime_*` tables belong?

    Answer for question 2
  3. Q3. You try to connect as `admin` from outside the local host. What is true?

    Answer for question 3
  4. Q4. You run `USE main` in the Admin interface. What happens?

    Answer for question 4
  5. Q5. You see `myhgm` and `monitor_internal` available in Admin. What explains them?

    Answer for question 5
  6. Q6. You deployed a new valid `configdb` file. Which command reopens it?

    Answer for question 6
  7. Q7. You want only the Admin module running. Which command changes the mode?

    Answer for question 7
  8. Q8. Clients are connected when `PROXYSQL STOP` is received. What happens?

    Answer for question 8
  9. Q9. After `LOAD MYSQL USERS FROM MEMORY`, which tables in `main` show the current runtime configuration?

    Answer for question 9
  10. Q10. Which command works only when ProxySQL is compiled with Jemalloc support?

    Answer for question 10
  11. Q11. You want the number of times each query rule was matched. Which schema contains that metric?

    Answer for question 11
  12. Q12. You need the currently running queries collected by ProxySQL. Which schema contains them?

    Answer for question 12
  13. Q13. You need a read-only Admin user for statistics tables. Which user name and default password fit that role?

    Answer for question 13
  14. Q14. You need hostgroup-level MySQL pool waits from ProxySQL Admin. Which table do you query?

    Answer for question 14
  15. Q15. Which hostgroup pool counter records logical waits begun after acquisition could not succeed?

    Answer for question 15
  16. Q16. You compare two hostgroup samples 60 seconds apart. Which column is a gauge, not a counter?

    Answer for question 16
  17. Q17. Which per-server connection_pool columns show current usage, peak usage, errors, and Queries?

    Answer for question 17
  18. Q18. You monitor proxysql_connpool metrics. How do you use labels, counters, waiters, and what does an Admin reset read do?

    Answer for question 18
  19. Q19. In the hostgroup connection-pool statistics tables, what does the waiters value represent?

    Answer for question 19
  20. Q20. Which statement correctly describes how ProxySQL Admin handles client commands?

    Answer for question 20
  21. Q21. Which command exits ProxySQL immediately with exit code 0?

    Answer for question 21
  22. Q22. Select the Admin commands that are dedicated to changing ProxySQL operating mode.

    Answer for question 22
  23. Q23. Select only items that require a debug build or optional Jemalloc support.

    Answer for question 23
  24. Q24. Order the steps needed to make a main-schema configuration change visible in the runtime state tables.

    Answer for question 24
  25. Q25. Order the actions for using two samples to judge pressure in a hostgroup connection pool.

    Answer for question 25
  26. Q26. Match each main Admin schema to its role.

    Answer for question 26
  27. Q27. Match each Admin command to what it does.

    Answer for question 27
  28. Q28. The Admin command used to clear the current query cache is ____.

    Answer for question 28
  29. Q29. Which default Admin users should be used for normal configuration work and read-only metric pulling, and what connection restriction applies to the default admin user?

    Answer for question 29
  30. Q30. During an incident, stats_mysql_hostgroup_connection_pool shows many waits_total for hostgroup 20. How would you correlate this with per-server pool usage, and what cautions apply when using reset tables or Prometheus?

    Answer for question 30

Do more with an account

Admin Schemas, Commands & Stats — quiz — ProxySQL: from first install to production