A
A
Alexander Kaplun2018-03-19 09:03:46
PostgreSQL
Alexander Kaplun, 2018-03-19 09:03:46

How to transfer data from one database to another on the fly?

There is a task:
PostgreSQL 9.6.6
For testing and troubleshooting, after users request, copy the actual data to the test database and work with it until a solution is found. But you need to copy so that users continue to work at this moment and do not feel that they are doing something with the database.
Help solve this problem.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2018-03-19
@ky0

pg_dump / pg_basebackup => pg_restore .
If not the whole database is needed, transfer separate tables, it will be faster.

A
abroabr, 2018-03-19
@abroabr

postgresql.leopard.in.ua/html
hot backup or replication

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question