About 10,900 results
Open links in new tab
  1. How can I get the size of a MySQL database? - Stack Overflow

    If you use MySQL Workbench, you can check the database size as follows: Open MySQL Workbench and connect to your MySQL server. Go to the "Navigator" pane on the left. Right-click on the database you want to check. Select "Schema Inspector." The "Schema Inspector" window will show various details, including the estimated size of the database.

  2. How to Get True Size of MySQL Database? - Stack Overflow

    You can get the size of your Mysql database by running the following command in Mysql client. SELECT sum(round(((data_length + index_length) / 1024 / 1024 / 1024), 2)) as "Size in GB" FROM information_schema.TABLES WHERE table_schema = "<database_name>"

  3. How can I get the sizes of the tables of a MySQL database?

    Try this command: Replace your_database_name with the name of your MySQL database. SELECT table_name AS `Table`, round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB` FROM information_schema.tables WHERE table_schema = 'your_database_name' ORDER BY `Size in MB` DESC;

  4. How to Check the Size of a Database in MySQL

    May 28, 2018 · Here’s an example of finding the size of each database by running a query against the information_schema.tables table: SELECT table_schema 'Database Name', SUM(data_length + index_length) 'Size in Bytes', ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) 'Size in MiB' FROM information_schema.tables GROUP BY table_schema; Result:

  5. Easy Ways to Check Database Size in MySQL: 5 Steps (with …

    Aug 9, 2019 · This wikiHow teaches you how to check the size of a MySQL database. You can check the size of a database using MySQL Workbench, or by running a query in MySQL.

  6. How to Check MySQL Database and Table Size - phoenixNAP

    Sep 29, 2021 · How to Check MySQL Database and Table Size. There are three ways to check MySQL database and table sizes: 1. Using phpMyAdmin. 2. Using the SELECT statement. 3. Using MySQL workbench. All methods provide ways to check the size for: A single database. All databases. Table size for a single database. Table size for all databases.

  7. MySQL 8: How to get the size of a database - Sling Academy

    Jan 25, 2024 · To find the size of a specific database, you can use the information_schema database, which provides access to database metadata including table size data. SUM(data_length + index_length) / 1024 / 1024 AS `Size in MB` FROM information_schema.TABLES . WHERE table_schema = 'your_database_name' GROUP BY table_schema; Output:

  8. How to Check MySQL Database and Table Sizes | Releem

    May 20, 2024 · In this article, we'll walk you through a series of SQL commands that allow you to check the size of databases, tables, and indexes directly using the MySQL command line interface.

  9. How to Get the Size of MySQL Database - Delft Stack

    Feb 2, 2024 · There are two main ways to identify the size of a database. Using the SELECT statement in MySQL. Using MySQL Workbench. Let us try to understand each of the techniques above in detail. First, we create a dummy dataset to work with. Here we create a table, student_details. stu_id int, . stu_firstName varchar(255) DEFAULT NULL, .

  10. How to Calculate the MySQL Database Size – TecAdmin

    6 days ago · A MySQL database’s size is an important aspect to monitor as it impacts the performance, backup, and recovery process of the data. In this article, we’ll walk through the methods to calculate the MySQL database size, providing both SQL queries and explanations.

  11. Some results have been removed
Refresh