Maria DB: show tables;
(Redirected from Maria DB: show tables)
Jump to navigation
Jump to search
MariaDB [(none)]> show tables; ERROR 1046 (3D000): No database selected
MariaDB[edit]
show tablesshow table statusshow table status like '%';(Includes engine type)show table status where name = "YOUR_TABLE_NAME"(Includes engine type)
Size of MariaDB tables[edit]
SELECT table_schema as `Database`, table_name AS `Table`, round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB` FROM information_schema.TABLES ORDER BY (data_length + index_length) DESC;
Ref: https://stackoverflow.com/questions/9620198/how-to-get-the-sizes-of-the-tables-of-a-mysql-database
Related terms[edit]
See also[edit]
Advertising: