diff --git a/openmetadata-docs/content/connectors/database/postgres/airflow.md b/openmetadata-docs/content/connectors/database/postgres/airflow.md index 5e65d0fbbb5..b54b67e203e 100644 --- a/openmetadata-docs/content/connectors/database/postgres/airflow.md +++ b/openmetadata-docs/content/connectors/database/postgres/airflow.md @@ -41,6 +41,16 @@ As a summary: Then, when extracting usage and lineage data, the query log duration will have no impact, only the query limit. + + +- For usage and lineage grant your user `pg_read_all_stats` permission. + +```sql +GRANT pg_read_all_stats TO your_user; +``` + + + ### Python Requirements To run the Postgres ingestion, you will need to install: diff --git a/openmetadata-docs/content/connectors/database/postgres/cli.md b/openmetadata-docs/content/connectors/database/postgres/cli.md index 78647ed4dff..4ea784219b5 100644 --- a/openmetadata-docs/content/connectors/database/postgres/cli.md +++ b/openmetadata-docs/content/connectors/database/postgres/cli.md @@ -41,6 +41,16 @@ As a summary: Then, when extracting usage and lineage data, the query log duration will have no impact, only the query limit. + + +- For usage and lineage grant your user `pg_read_all_stats` permission. + +```sql +GRANT pg_read_all_stats TO your_user; +``` + + + ### Python Requirements To run the Postgres ingestion, you will need to install: diff --git a/openmetadata-docs/content/connectors/database/postgres/index.md b/openmetadata-docs/content/connectors/database/postgres/index.md index 3dfa3e1c029..7c6a53179dc 100644 --- a/openmetadata-docs/content/connectors/database/postgres/index.md +++ b/openmetadata-docs/content/connectors/database/postgres/index.md @@ -62,6 +62,16 @@ As a summary: Then, when extracting usage and lineage data, the query log duration will have no impact, only the query limit. + + +- For usage and lineage grant your user `pg_read_all_stats` permission. + +```sql +GRANT pg_read_all_stats TO your_user; +``` + + + ## Metadata Ingestion ### 1. Visit the Services Page