Pregunta

Como sujetos, lo que va a pasar con el archivo de copia de seguridad, mientras que todavía hay muchas transacciones activo en la base de datos. Qué exportar en tiempo real o simplemente parcialmente las copias de seguridad?

gracias de antemano.

¿Fue útil?

Solución

pg_dump runs in a serializable transaction, so it sees a consistent snapshot of the database including system catalogs.

However it is possible to get 'cache lookup failed' error if someone performs DDL changes while a dump is starting. The time window for this sort of thing isn't very large, but it can happen. See: http://archives.postgresql.org/pgsql-bugs/2010-02/msg00187.php

Otros consejos

pg_dump will give you a consistent state. Any transaction not completed before pg_dump has been issued will not be reflected.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top