# RDS Read Replicas

* Multiple database engines have **built-in replication functionality to create a special type of database instance called a read replica from a source database instance**.<br>

* The **source DB instance becomes the primary database instance**.<br>

* **Updates made to the primary database instance are asynchronously copied to the read replica**.<br>

* You can **reduce the load on your primary database instance by routing read queries from your applications to the read replica**.

* You **can promote a read replica into a standalone database instance**.
  * When you promote a read replica, the **database instance is rebooted before it becomes available**.<br>

* The following are where read-replicas are useful:<br>

  * Scaling beyond the compute or I/O capacity of a single DB instance for **read-heavy database workloads**.
    * You can **direct this excess read traffic to one or more read replicas**.<br>
  * Serving read traffic while the **source database instance is unavailable**.
    * In these cases, you can **direct read traffic to your read replicas**.
      * For this use case, keep in mind that the data on the **read replica might be "stale" because the source database instance is unavailable**.<br>
  * **Business reporting** or data warehousing scenarios.
    * You **might want business reporting queries to run against a read replica, rather than your production database instance**.<br>
  * Implementing **disaster recovery**.
    * You **can promote a read replica to a standalone instance as a disaster recovery solution if the primary database instance fails**.

* **Data goes from 1 AZ to another = Data Charges**.

* **Data stays in the same AZ = Free**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://karansingh.gitbook.io/aws-saa-c02/rds/rds-read-replicas.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
