Skip to content

Your own database table (PostgreSQL, MySQL, BigQuery)

Daily numbers from one table or view in your own PostgreSQL, MySQL or BigQuery, mapped column by column.

Use this when your numbers already live in a database, for example a table your developer fills every night. We only read, and we write the query ourselves: you never type SQL on this site.

Your table should have one row per day (and, if you like, per campaign, country or channel), with a date column and number columns such as clicks, cost or revenue. Store totals, not rates: CTR, CPC and ROAS are worked out for you.

PostgreSQL or MySQL

  1. Make a login that can only read this one table. The connect page shows the two lines of SQL to run.
  2. Make sure the server can be reached from the internet and accepts encrypted (TLS) connections. Supabase users: use the Session pooler connection string and paste Supabase's CA certificate.
  3. On our Connections page, click Connect next to PostgreSQL or MySQL, paste the connection string and the table name, and click "Check and continue".
  4. Choose which column is the date, which are numbers and which are names. Pick the currency and time zone, then click "Try it on the last 7 days and save". We load the last year.

BigQuery

  1. In Google Cloud, make a service account with BigQuery Data Viewer on the dataset and BigQuery Job User on the project, and create a JSON key.
  2. On our Connections page, click Connect next to BigQuery, paste the key and the table as dataset.table, and map the columns the same way.
  3. Queries are billed to your project and stop at 10 GB read each. Partition the table by the date column to keep them small.

Good to know

  • Every night we re-read the last 7 days, so corrections in your table show up. Older days stay as they were loaded.
  • Rows with the same day and names are added together. Each query may run for at most 60 seconds and return at most 50,000 rows per month of data; use a view that adds rows up per day if you hit that.
  • Timestamp columns with a time zone are turned into days in the time zone you chose. Plain dates are used as they are.
  • Only public servers can be used, never addresses inside a private network. The connection is always encrypted and the certificate is checked.
  • Your login or key is kept encrypted and never shown again. To change it, connect the same table again. Deleting the connection, or "Delete all my data", deletes it too.

Ready to try it?

Create a free account, connect a source and ask your first question. No card needed.

Start free Ask a person