Search
 
SCRIPT & CODE EXAMPLE
 

SQL

heavy table in mysql

SELECT table_name AS "Table",
ROUND(((data_length + index_length) / 1024 / 1024), 2) AS "Size (MB)"
FROM information_schema.TABLES
WHERE (data_length + index_length) > 1000000  AND table_schema = "magento" 
ORDER BY (data_length + index_length) DESC; 
Comment

PREVIOUS NEXT
Code Example
Sql :: PostgresDownload 
Sql :: how to run sql script in postgresql in windows 
Sql :: oracle timestamp +1h 
Sql :: modify xml in sql server 
Sql :: how to add postgres table in netbeans 
Sql :: alembic upgrade show sql 
Sql :: how to insert a ROWGUIDCOL into a table 
Sql :: opensuse status MySQL 
Sql :: OLAP queries 
Sql :: redshift alter table alter column set not null 
Sql :: sql implicit cursor 
Sql :: mysql could not fetch tables 
Sql :: cursor.execute (sql, value) ValueError: operation parameter must be str 
Sql :: oracle tablespace owners 
Sql :: mysql c commands 
Sql :: Split Column with delimiter into multiple columns 
Sql :: sql workbench 
Sql :: Create a username nd password in MySql 
Sql :: firebird where 
Sql :: add mysql database to power bi web 
Sql :: order by length and alphabetical sql 
Sql :: oracle grant create job 
Sql :: sql start with vowels 
Sql :: mysql edit trigger 
Sql :: Oracle webcenter content search enginer 
Sql :: rollback to in sql 
Sql :: sql date range 
Sql :: how to do a function to return row type from a table in pl/sql 
Sql :: how to compile a function in oracle 
Sql :: how to fetch highest score in minimum time using mysql 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =