Database Reference
In-Depth Information
Chapter 6. Rollback, Followers, and Forks
In this chapter, you will learn important concepts related to security, stability, and experi-
ments 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 your application with different ver-
sions of the database. The fork database is a copy of the data and the structure of the main
database at a specific time.
Throughout this chapter, you will learn how to use each of these features and how to bene-
fit from their functionalities.
In this chapter, we will be cover:
• Heroku Postgres rollback
• Heroku Postgres follower databases
• Heroku Postgres forking databases
Search WWH ::




Custom Search