---
title: Setting up Postgres
description: Setting up Database Monitoring on a Postgres database
breadcrumbs: Docs > Database Monitoring > Setting up Postgres
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Setting up Postgres

### Postgres versions supported{% #postgres-versions-supported %}

| Version      | Self-hosted | Amazon RDS | Amazon Aurora | Google Cloud SQL | Google AlloyDB | Azure | Supabase |
| ------------ | ----------- | ---------- | ------------- | ---------------- | -------------- | ----- | -------- |
| Postgres 9.6 | yes         | yes        | yes           | yes              |
| Postgres 10  | yes         | yes        | yes           | yes              | yes            |
| Postgres 11  | yes         | yes        | yes           | yes              | yes            |
| Postgres 12  | yes         | yes        | yes           | yes              | yes            |
| Postgres 13  | yes         | yes        | yes           | yes              | yes            |
| Postgres 14  | yes         | yes        | yes           | yes              | yes            | yes   | yes      |
| Postgres 15  | yes         | yes        | yes           | yes              | yes            | yes   | yes      |
| Postgres 16  | yes         | yes        | yes           | yes              | yes            | yes   | yes      |
| Postgres 17  | yes         | yes        | yes           | yes              | yes            | yes   |
| Postgres 18  | yes         | yes        | yes           | yes              | yes            | yes   |

### Setup instructions by hosting type{% #setup-instructions-by-hosting-type %}

To learn how to set up Database Monitoring on a Postgres database, select your hosting type:

- [Self-hosted](https://docs.datadoghq.com/database_monitoring/setup_postgres/selfhosted.md)
- [rds](https://docs.datadoghq.com/database_monitoring/setup_postgres/rds.md)
- [aurora](https://docs.datadoghq.com/database_monitoring/setup_postgres/aurora.md)
- [gcsql](https://docs.datadoghq.com/database_monitoring/setup_postgres/gcsql.md)
- [alloydb](https://docs.datadoghq.com/database_monitoring/setup_postgres/alloydb.md)
- [azure](https://docs.datadoghq.com/database_monitoring/setup_postgres/azure.md)
- [heroku](https://docs.datadoghq.com/database_monitoring/setup_postgres/heroku.md)
- [supabase](https://docs.datadoghq.com/database_monitoring/setup_postgres/supabase.md)
