- Add catalog to all tables that has database name and table name
- For first version, Performance Schema should only cover instrumentation related to Tables & Table variables. Memory pool keys that are global are not in scope.
- If possible, allow one to use performance schema per catalog.
One user using performance schema should not affect users who are not using it.
This can probably be implemented by having a flag in SQL_CATALOG or
SQL_CATALOG->system_variables that defines in performance schema is enabled for
this catalog.
|