Giuseppe has a great post about the Evolution of MySQL metadata, and I thought I’d have a look at what we have in Drizzle. It’s pretty easy to work out how many tables are in each schema, we just query the standard INFORMATION_SCHEMA.TABLES view:
drizzle> select table_schema,count(table_name) -> from information_schema.tables -> group by table_schema; +--------------------+-------------------+ | table_schema | count(table_name) | +--------------------+-------------------+ | DATA_DICTIONARY | 53 | | INFORMATION_SCHEMA | 20 | +--------------------+-------------------+ 2 rows in set (0 sec)
In Drizzle it’s important to note that there is a differentiation between SQL …
[Read more]