I want to create a consistent backup (dump) of a PostgreSQL database using sudo -u postgres pg_dump database_name > db_backup.sql
. There some multiple tables that are being inserted a row each second, therefore these tables are quite huge.
I have two questions:
Will I (or ther users, website, …) be able to insert new rows in any of the tables while the dump is being created?
Will the dump be consistent?