]> git.mxchange.org Git - friendica.git/commitdiff
modified: doc/Migrate.md
authorAndy <andy@hubup.pro>
Wed, 25 Nov 2020 16:59:06 +0000 (23:59 +0700)
committerAndy <andy@hubup.pro>
Wed, 25 Nov 2020 16:59:06 +0000 (23:59 +0700)
doc/Migrate.md

index 8fc4193ba1a9fee6335a71568185c08870416021..4093928d0c1d2f817247bbcbf6910377784a2c1f 100644 (file)
@@ -1,4 +1,4 @@
-Migrating to a different Server
+Migrating to a new server
 ===============
 
 * [Home](help)
@@ -28,6 +28,22 @@ This process may take a long time depending on the size of your storage.
 
 [Removing expired items]
 
+
+To review the size of your database, log into MySQL with ``mysql -p`` run the following query: 
+
+``SELECT table_schema AS "Database", SUM(data_length + index_length) / 1024 / 1024 / 1024 AS "Size (GB)" FROM information_schema.TABLES GROUP BY table_schema;``
+
+You should see an out like this:
+
+````
++--------------------+----------------+
+| Database           | Size (GB)      |
++--------------------+----------------+
+| friendica          | 8.054092407227 |
+| [..........]       | [...........]  |
++--------------------+----------------+
+````
+
 ### Configuration files