Managed · PG + MySQL

Your Aiven data, where work happens.

Aiven managed PostgreSQL or MySQL on one card. Paste the Service URI — Aiven gives every service its own port, so there is nothing to guess.

Use the results in Excel, Google Sheets, AI tools and your apps through the Database REST API.

Every connector type is on Free. Start with 2 data sources and 1 agent.

AivenYour existing database connection
Inside your networkQuery Streams Network Agent

Run read-only queries inside your network.

Read-only queries · outbound connection

Source credentials stay on the agent. Your tools receive query results.

Source → agent → allowed results

Query Streams reads Aiven managed databases from Microsoft Excel, Google Sheets, Power BI, AI assistants over MCP and a REST endpoint through one read-only connection. One card covers both engines Query Streams supports on Aiven — PostgreSQL and MySQL — on the same .aivencloud.com hostname. The detail that catches people out is the port: Aiven assigns one per service rather than using 5432 or 3306, so the card leaves it empty and expects you to paste the Service URI rather than type the pieces.

  • PostgreSQL or MySQL
  • Per-service ports, so paste the URI
  • Pool name goes in the Database field

Connect Aiven with the right settings.

Keep the connection on the Network Agent. These are the details specific to Aiven.

Host
<service>-<project>.<region>.aivencloud.com — the same hostname for either engine
Port
Assigned per service, so there is no default. A pool has its own port again
Engines
PostgreSQL or MySQL. Saved as whichever you pick, with Aiven kept as a badge
Database
defaultdb on a fresh service. When connecting to a pool, this is the pool's name
Username
avnadmin on a fresh service
TLS on PostgreSQL
Forced by the agent for .aivencloud.com hosts whatever the checkbox says. Encrypted; the certificate chain is not verified
TLS on MySQL
Controlled by the checkbox, on by default. Leave it on — nothing overrides it if you turn it off
Pooling
On a PostgreSQL pool the agent disables prepared statements and skips the session reset. MySQL has no equivalent
Default schema
public on PostgreSQL. On MySQL the database is the qualifier

The per-service port is the thing to internalise. Everywhere else in this catalogue a port is a detail you can leave alone, because 5432 and 3306 are near-universal; on Aiven it is a five-digit number that differs between two services in the same project. That has a knock-on effect worth knowing: a port normally hints at the engine, and here it cannot, so pasting a bare host and port leaves the card genuinely unable to tell PostgreSQL from MySQL. Paste the Service URI instead and the scheme answers it.

The engine asymmetry is stated plainly above rather than smoothed over, because smoothing it over would be the kind of half-truth that costs someone an unencrypted connection. On PostgreSQL the agent recognises the Aiven hostname and enforces TLS whatever the checkbox says. On MySQL there is no such recognition — the checkbox is the only thing standing between you and a cleartext connection, so leave it on. Both engines encrypt without verifying the certificate chain.

For a cross-source query the qualifier follows the engine, not the badge. A PostgreSQL connection you called aiven_pg is written aiven_pg.public.orders; a MySQL one is qualified by its database instead. Either joins to a folder of CSVs, an on-premises system of record or a billing API in one read-only statement — with nothing copied and nothing scheduled.

Provider reference: aiven.io

Built for how Aiven works.

Every Aiven service gets its own port

Most managed Postgres runs on 5432 and most managed MySQL runs on 3306. Aiven does neither, and it shapes how this card behaves.

  • The port is per service — a five-digit number Aiven allocates, not a well-known one. The card ships with the port field empty rather than prefilling a value that would be wrong.
  • Because the port carries no engine signal, pasting a bare host and port is not enough to tell PostgreSQL from MySQL. Paste the whole Service URI and the scheme settles it.
  • The defaults that can be prefilled are: the database defaultdb and the user avnadmin, which is what a fresh Aiven service starts with.
  • A connection pool has its own port too, and its own name — on Aiven the pool name goes in the Database field.

Two engines, and they are not identical underneath

The card looks the same whichever engine you pick, but what the agent does with it differs, and it is worth being precise rather than reassuring.

  • On PostgreSQL, TLS is enforced for .aivencloud.com hosts whatever the checkbox says. A string that lost its sslmode in the clipboard still travels encrypted.
  • On MySQL the checkbox is real. It is on by default and should stay on — turn it off and the connection is unencrypted, with nothing to override it.
  • Either way the traffic is encrypted but the certificate chain is not verified. Aiven's CA download is not wired into this card, and there is no field to upload it.
  • Pooling adaptations are PostgreSQL-only. On a Postgres pool the agent turns off prepared statements and skips the session reset, which is what a transaction pooler needs; on MySQL the mode is recorded but changes nothing.

Paste the Service URI, not the pieces

Four fields and a per-service port is more than anyone should retype, so the card is built around the string.

  • The postgres:// and mysql:// URI forms both parse, and the scheme is what tells the card which engine you meant.
  • Anything with the wrong scheme is rejected rather than half-parsed into the wrong fields.
  • A password with leading or trailing whitespace is flagged. It is a clipboard artifact and it fails as an ordinary authentication error, which sends people looking for the wrong problem.
  • The pasted URI is never stored. It is read once to fill the form and then dropped, so the password lives in one place rather than two.
-- PostgreSQL on Aiven, read-only
SELECT   c.name,
         COUNT(o.id)   AS orders,
         SUM(o.amount) AS revenue
FROM     public.customers AS c
JOIN     public.orders    AS o ON o.customer_id = c.id
WHERE    o.placed_at >= now() - interval '30 days'
GROUP BY c.name
ORDER BY revenue DESC;

From connection to useful results.

  1. Install the Network Agent wherever suits you. It opens one outbound connection and never listens, so Aiven sees an ordinary client and your network needs no inbound rule.
  2. Pick the engine — PostgreSQL or MySQL. It decides how everything below is read, so set it before pasting.
  3. Paste the Service URI from the Aiven console. It carries the host, the service's own port, the user and the database, which is why pasting beats typing here.
  4. If you are connecting to a connection pool rather than the service itself, switch the mode to pooled and use the pool's port and name.
  5. Save. Microsoft Excel, Google Sheets, Power BI, MCP and REST all read through that one connection, or join it to your other sources in a single read-only statement.

Put your Aiven results to work.

One connection serves your spreadsheets, apps and AI tools. Share permission to run a saved query; recipients see the allowed results, with the SQL and source login hidden.

For your team, vendors and partners

Pull live Aiven results straight into a worksheet and refresh them on demand — desktop Excel, Excel Online, Microsoft 365.

PostgreSQL guide

Ask a question in plain English. Nova already knows your Aiven tables, writes and runs the SQL, explains the answer and charts it — no query to write, no credentials to hand over.

How Nova works

Share a live Aiven result with anyone — a colleague, a vendor, a partner — as a bookmarkable grid that re-runs fresh when opened, on a phone, a tablet or a desktop. They see the results, never the SQL or the credentials.

How the Data Viewer works

For apps and systems

Publish an Aiven query as an authenticated JSON endpoint any application can call, with an OpenAPI 3.1 spec and ready-made Postman, Insomnia and Hoppscotch collections. No database port is opened.

PostgreSQL guide

Paste the generated Power Query M into the Power BI Advanced Editor and the report reads live Aiven results over HTTPS — no ODBC driver, no database port opened.

Explore Power BI

For AI tools

Delivered to people

Put an Aiven query on a schedule and have the rows delivered to Slack, Discord, email or a signed webhook — or hold the message until a row count, threshold or percentage change crosses the line you set.

How alerts and reports work

Join Aiven to the rest of your data.

Bring databases, business APIs, files and logs into one read-only query. Every connector supports Federated Queries.

Name the connections and tables. Query Streams handles the source queries and combines the results.

Explore Federated Queries
Illustrative cross-source query
-- nothing copied, nothing merged, nothing scheduled
SELECT   c.region, COUNT(*) AS orders, SUM(i.amount_due) AS invoiced
FROM     aiven_pg.public.orders1  f
JOIN     erp_sql.dbo.customers2   c ON c.id = f.customer_id
JOIN     billing.stripe.invoices3 i ON i.customer = c.stripe_id
GROUP BY c.region
ORDER BY invoiced DESC;

Use your own connection, schema, table and column names.

Shared across the connector family.

True of every database connector

  • Outbound only — the agent opens one encrypted connection out to Query Streams. No inbound port to forward, no VPN, no IP allowlist, nothing about your database exposed to the internet.
  • Credentials stay put — the database username and password live on the machine you installed the agent on. Query Streams never receives them and cannot reach your database on its own.
  • Read-only, enforced — one statement at a time, SELECT and friends only. A write is rejected on your own machine before it is ever sent to the server, rather than relying on a permission somebody remembered to set.
  • Deploy as many agents as you like — one per site, region or cloud. Every data source they can see arrives in a single dropdown, so nobody has to know which agent hosts what.

What you get once a query is saved

  • Share the capability, not the SQL — a colleague or an outside partner can run your query and change its filters without ever seeing the statement behind it.
  • Filters from either direction — declare them yourself as @variables, or let the connector spot the literal values already sitting in your WHERE clause and offer those as dropdowns.
  • Read it from anywhere — Microsoft Excel, Google Sheets, Power BI, the REST API, AI assistants over MCP, the Query Builder and Nova all read the same saved query.
  • Run several at once — five saved queries into five worksheet tabs, streamed concurrently, however large the results.
  • Join it to anything else you have connected — another database, a business API, or a folder of files, in one read-only statement.

Questions about Aiven

Where can I use Aiven query results?

Use Aiven results in Excel, Google Sheets, the Data Viewer, your apps through the Database REST API, and AI tools through MCP or Nova. Saved results also feed supported Automation destinations, reports and alerts. Destination availability and allowances depend on your plan.

Do I need to open an inbound port for Aiven?

No. Install the Network Agent on a machine that can reach Aiven. The agent connects outward to Query Streams; no inbound port or VPN is needed. Your source must still allow the agent machine to connect under its own access rules.

Can Query Streams change data in Aiven?

No. Queries are enforced read-only on the Network Agent before execution. Source credentials stay on that machine. Sharing grants permission to run a saved query and receive its results; it does not reveal the SQL or database login.

What do I need to connect Aiven?

Host: <service>-<project>.<region>.aivencloud.com — the same hostname for either engine. Port: Assigned per service, so there is no default. A pool has its own port again. Engines: PostgreSQL or MySQL. Saved as whichever you pick, with Aiven kept as a badge. Database: defaultdb on a fresh service. When connecting to a pool, this is the pool's name

Can I join Aiven to other connected sources?

Yes. Federated Queries support every connector type, including databases, business APIs, files and logs. Name the connections and tables in one read-only query. Query Streams translates the source portions as needed and combines their results. See how Federated Queries work.

Does Aiven use the PostgreSQL connector?

Yes. Aiven uses the PostgreSQL wire protocol. Its provider preset supplies the relevant connection settings. The linked PostgreSQL guides apply to the shared workflow; use the provider-specific connection details on this page for your endpoint and security requirements.

Put Aiven where the work happens.

Start with Free: every connector type, 2 data sources and 1 Network Agent. Add plan allowances as your needs grow.