Book Image

Learning Heroku Postgres

By : Patrick Rafael de Oliveira Espake
Book Image

Learning Heroku Postgres

By: Patrick Rafael de Oliveira Espake

Overview of this book

Table of Contents (17 chapters)
Learning Heroku Postgres
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Keyword List
Index

Chapter 6. Rollback, Followers, and Forks

In this chapter, you will learn important concepts related to security, stability, and experiments in the PostgreSQL database on the Heroku platform. We will discuss topics related to rollback, follower databases, and fork databases. These functionalities offered by Heroku Postgres are very useful to ensure the secure storage of your data and the scalability of your Postgres database.

Basically, rollback is related to recovering a prior version of your database and restoring the data and structure of your database. Rollback is a useful feature when your database is corrupted.

A follower database is an essential feature when your concern is scalability and security of your data. A follower database is a replica of your main database in read-only mode; this replica is synchronized automatically on the Heroku infrastructure. You can have as many follower databases as necessary for your application.

Finally, the fork database is useful to test and simulate...