Connect Postgres
Postgres read-only checks, schema, freshness, row counts
Postgres is on every plan, including Free. The table limit for the plan still applies. Prices on the pricing page are in US dollars. Scheduled table checks run once a day on every plan. Airflow checks run about every 15 minutes. You can also run a table check yourself.
Alert emails, Slack messages, and the times in the app use the workspace time zone. It starts as the browser's zone at signup. The owner can change it in Settings, and daylight saving is included. Airflow schedules are still evaluated the way Airflow defines them. The time zone does not change detection.
Steps
- Create a login that can read the schemas you want to watch and cannot write. The grant below is the one shown in the app.
- In the app, open Connections and add Postgres. Enter the host, port, database, username, and password. SSL is on unless you turn it off.
- Save. The password is encrypted and is not shown again. Test the connection. A superuser gets a warning to use the read-only role.
- Pick a schema and table and save a monitor. The first successful check stores the baseline and does not alert.
What a check reads
- Schema: column name, data type, and nullability from information_schema
- Volume: COUNT(*) on the table you named
- Freshness: MAX of the timestamp column you set, when you set one
Those three results are what is stored. The check does not copy the other values in your rows, and it does not write to the database. Views are not listed. The same SQL is limited to base tables outside the system schemas.
Suggested grants
Run this as a superuser or the database owner. Repeat the schema grants for every schema you watch.
-- Run as a superuser or the database owner. -- Replace your_database, and repeat the schema grants for every schema you watch. CREATE ROLE rowmonitor_ro WITH LOGIN PASSWORD 'choose-a-long-password'; GRANT CONNECT ON DATABASE your_database TO rowmonitor_ro; GRANT USAGE ON SCHEMA public TO rowmonitor_ro; GRANT SELECT ON ALL TABLES IN SCHEMA public TO rowmonitor_ro; -- Future tables created by the role that runs this statement: ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO rowmonitor_ro; -- Do not grant INSERT, UPDATE, DELETE, TRUNCATE, or CREATE.
Do not grant INSERT, UPDATE, DELETE, TRUNCATE, or CREATE. The connection test warns when the role is a superuser.
Network
Row Monitor opens an outbound connection to the host and port you enter. SSL is on by default. When SSL is on, the client does not require the certificate to be signed by a public certificate authority. Turn SSL off only for a database that does not offer it. The repository does not publish a fixed address to allowlist. If your database requires one, email support@rowmonitor.com.
Deleting the connection, or closing the account that owns the workspace, deletes the encrypted password and the monitors on that connection. Trust and security has the rest. Back to help.