# Postgres

> **Preview**
> Postgres is currently in preview. This means that it's ready for use, but it still might have some rough edges - so keep this in mind when evaluating it for your workloads. If you have any feedback or issues, please reach out to us in the #nais channel on Slack.

Postgres gives your Applications and Jobs a managed PostgreSQL database. You create the database as its own resource and connect workloads to it. Several workloads can use the same database, for example an Application and its Jobs. Avoid sharing a database between applications that you deploy and change independently, because both become tied to the same schema. Use an API or [Kafka](/persistence/kafka.md) to share data between them instead.

Postgres automatically creates and manages credentials for your workloads. You can also get short-lived personal access from the Nais CLI when you need to inspect the database.

Postgres supports point-in-time recovery within a window you choose (2 to 30 days, default 2). You can clone a database from its backups, either from the latest available point or from a specific time. The clone is a separate database that you can inspect without affecting existing workloads.

## Next steps

[🎯 Create Postgres](/persistence/postgres/how-to/create.md)

[🎯 Manage Postgres](/persistence/postgres/how-to/manage.md)

[🎯 Connect a workload](/persistence/postgres/how-to/use-in-workload.md)

[🎯 Connect as a personal user](/persistence/postgres/how-to/personal-access.md)

[🎯 Clone or restore a database](/persistence/postgres/how-to/restore-point-in-time.md)

[🎯 Delete Postgres](/persistence/postgres/how-to/delete.md)

[📚 Available extensions](/persistence/postgres/reference/extensions.md)

[📚 Postgres cloning](/persistence/postgres/reference/cloning.md)

[📚 Postgres recovery window](/persistence/postgres/reference/recovery-window.md)

[📚 Postgres workload credentials](/persistence/postgres/reference/workload-credentials.md)

[📚 Postgres personal access](/persistence/postgres/reference/personal-access.md)

[📚 Postgres manifest reference](/persistence/postgres/reference/spec.md)
