Answer the question
In order to leave comments, you need to log in
How to transfer a working database?
There is a working draft, entries (applications) are pouring in from users there quite often, well, once a minute, for example. To transfer the project to another server, you need to download the database, upload it to a new server. You can't do it in a minute or five.
What to do if you don’t want to lose data from users during the move, and how do such projects move if data loss is generally unacceptable?
Answer the question
In order to leave comments, you need to log in
Set up Database Replication and then simply transfer clients to a new database.
https://habrahabr.ru/post/56702/
I have never encountered this, but I think the procedure is as follows:
1. A full-fledged working copy of the current database is created (via Export).
2. The database access settings are overwritten on the server (the new one is entered instead of the old one). For users, this will be practically invisible - failures in operation for 1-2 minutes are possible.
3. Only the missing data is retrieved from the old database (that is, what users managed to enter while we were changing the settings).
It is better to do such procedures at 3 am, when most of the users are not active (applicable to regional sites tied to one country and one time zone).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question