> For the complete documentation index, see [llms.txt](https://rc.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rc.sunbird.org/help/comprehensive-overview-electronic-registries-and-verifiable-credentials/electronic-registries/registry-vs-database.md).

# Registry vs Database

| Registry                                                                                                                                                                                                                                                                                                                              | Database                                                                                                                                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| An electronic registry is a structured & live identification system that gathers, saves, and maintains uniformed updated data or information on an entity, such as a patient, person, employee, student, or facility.                                                                                                                 | Database provides a way to simply store and manage the data.                                                                                                                                                                                            |
| Electronic registries have standards/schema-compliant, structured data records with unique IDs, which are accessible via API. The unique ID is present for the record itself and for each element of the entities referenced in the record. Electronic registries provide APIs, that third-party services can use to access the data. | In contrast, databases may have structured data records but may not necessarily be compliant with any standard/schema and may not have unique IDs for each element                                                                                      |
| Electronic registries are constantly updated to serve as the entity's "Single Source of Truth'' which is also verifiable. The data is updated as soon as any change occurs, and the changes are immediately reflected in the registry.                                                                                                | Unlike electronic registries, databases do not always maintain a single source of truth for an entity. Instead, multiple applications and users may have their own copies of the data, which can lead to inconsistencies or discrepancies between them. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://rc.sunbird.org/help/comprehensive-overview-electronic-registries-and-verifiable-credentials/electronic-registries/registry-vs-database.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
