AlterEgo20
Joined 13 years ago
Karma
13
Submissions
19
Member since
Dec 12
Joined 13 years ago
The problem - we had to wait for 2 more hours with dead prod while Oracle was rolling back everything. In Oralce killed sessions still hold their locks while rolling back.
In Postgres rollback is almost instant.
Some of the DBMS's also have dedicated currency types.
In short:
pg_dump -Fc mydb > db.dump
Restore: http://www.postgresql.org/docs/current/static/app-pgrestore....In short:
pg_restore -C -d postgres db.dump
Command directly from the shell: psql -c "psql command"