mysql_engines
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mysql_engines [2017/01/19 13:49] – created luke7858 | mysql_engines [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | === Total number of tables/ | + | === Find the Total number of tables/ |
| <sxh bash> | <sxh bash> | ||
| select engine, | select engine, | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | === Find the Engines for a specific db === | ||
| + | Replace **__magento__** with your db name | ||
| + | <sxh bash> | ||
| + | select engine, | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | === Find Engines for a specific db (Either InnoDB or MyISAM) === | ||
| + | Replace **__magento__** with your db name and **InnoDB** with your desired engine | ||
| + | <sxh bash> | ||
| + | select engine, | ||
| + | </ | ||
| + | \\ | ||
| + | === Find Engine for a Specific Table (Specific Database) === | ||
| + | Repalce **__database_name__** and **__table_name__** to your desired values | ||
| + | <sxh bash> | ||
| + | select engine, table_name from information_schema.tables where table_schema = ' | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | === Find Engine for a range of tables === | ||
| + | Replace **__magento__** and **__%xml%__** | ||
| + | <sxh bash> | ||
| + | select engine, table_name from information_schema.tables where table_schema = ' | ||
| + | </ | ||
| + | \\ | ||
| + | === Find a Range of Tables with a Specific Engine === | ||
| + | <sxh bash> | ||
| + | select engine, table_name from information_schema.tables where table_schema = ' | ||
| </ | </ | ||
mysql_engines.1484833756.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
