diff --git a/doc/Migrate.md b/doc/Migrate.md index 8fc4193ba1..4093928d0c 100644 --- a/doc/Migrate.md +++ b/doc/Migrate.md @@ -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