Your OCI Database with PostgreSQL data, where work happens.
Oracle Cloud Infrastructure Database with PostgreSQL. No public endpoint exists, which makes the agent the natural fit rather than a workaround.
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.
Run read-only queries inside your network.
Read-only queries · outbound connectionSource credentials stay on the agent. Your tools receive query results.
Query Streams reads OCI Database with PostgreSQL from Microsoft Excel, Google Sheets, Power BI, AI assistants over MCP and a REST endpoint through one read-only connection. This service has no public endpoint at all — it is reachable only from inside your VCN — so the usual question of how to expose a database safely does not arise. Install the Network Agent on an OCI Compute instance in the same VCN and it connects to the private endpoint as an ordinary client, dialling out for everything else. No bastion, no public exposure, no inbound rule.
- No public endpoint exists
- Agent goes on OCI Compute in the VCN
- SSL follows the checkbox
Connect OCI PostgreSQL with the right settings.
Keep the connection on the Network Agent. These are the details specific to OCI PostgreSQL.
- Host
- The DB system's private endpoint — an IP or FQDN that resolves inside your VCN. There is no public name
- Port
- 5432
- Driver
- Npgsql, carried by the agent — nothing to install at the OCI end
- Agent placement
- An OCI Compute instance in the same VCN and subnet. No bastion and no public exposure are needed
- Defaults
- Database postgres is prefilled. The username is the one you created with the DB system
- TLS
- Follows the SSL checkbox, which is on by default. Not forced by the agent, because a VCN-private system may legitimately have TLS off. Encrypted when on; the certificate chain is not verified
- Pooling
- None. The agent applies no pooler adaptations for OCI
- Identified by
- Choosing the card, not the hostname — a private address carries no provider signal
- Saved as
- PostgreSQL, with OCI kept as a badge
- Default schema
- public, which is what a federated reference carries
This is the connector where the architecture argument stops being a security talking point and becomes the only thing that works. Every other page here can say the agent needs no inbound firewall rule, and it is true and it is nice. On OCI Database with PostgreSQL there is no inbound rule available to ask for, because there is no public endpoint to point it at. A tool that connects from its own cloud to yours simply cannot reach this database; one that runs inside your VCN and dials out can.
The practical shape is unglamorous and that is the point: a small Compute instance in the right subnet, the agent installed on it, and the private endpoint typed in. From there the database appears in Microsoft Excel, Google Sheets, Power BI, an MCP client and a REST endpoint, with read-only access and filters you control, and the VCN is configured exactly as it was.
For a cross-source query OCI is ordinary Postgres. A connection you called oci_core is written oci_core.public.orders, and it joins to a folder of CSVs, a cloud warehouse or a billing API in one read-only statement — which is often precisely the point of putting a spreadsheet in front of a database that nothing else can see.
Provider reference: www.oracle.com
Built for how OCI PostgreSQL works.
There is no public endpoint, and that turns out to be the easy case
Normally a private database is the awkward one. Here it is the opposite, because the agent was already built for exactly this shape.
- OCI Database with PostgreSQL is VCN-private by design. There is no public hostname to enable and no setting that would give you one.
- So any tool that connects inward from its own cloud cannot reach it, and the usual workarounds — a bastion host, a public subnet, a VPN back to the office — all mean widening something.
- The agent does not connect inward. Put it on a Compute instance in the same VCN and it is simply a client on the private network, then it opens one outbound connection to Query Streams for everything else. Nothing about the VCN changes.
- That outbound connection is the only route in or out, and no inbound security-list rule is needed to create it. The database stays exactly as private as it was before you connected it to a spreadsheet.
Branding rides the saved connection, because a private IP looks like any other
A small consequence of being private that is worth explaining, since it makes this card behave slightly differently from the rest.
- Every other hosted card here recognises its provider from the hostname — .neon.tech, .render.com, .aivencloud.com. There is no OCI equivalent, because your endpoint is a private address inside your own network and could be anything.
- So this preset is identified by having chosen the card, rather than by the address. Picking it is what records that this is OCI.
- Nothing about the connection depends on that; it is the badge and the branded defaults, not the wire protocol. Underneath it is PostgreSQL and the agent carries the Npgsql driver.
- It does mean the card is worth choosing over generic PostgreSQL even though both would connect. Heroku is the only other preset in the same position, and for the same reason.
Encryption follows the checkbox, and the private network is why
Most managed Postgres cards here say the agent forces TLS whatever the checkbox says. This one does not, deliberately.
- The SSL checkbox is on by default, and left on the connection is encrypted. That is the normal path and needs no attention.
- The agent does not override it, because a VCN-private DB system with TLS switched off is a legitimate configuration and forcing encryption would break a connection that was working. Traffic on a private subnet never crosses the public internet.
- So the instruction is simply: leave it on unless your DB system has TLS disabled, in which case clear it.
- When encryption is on, the certificate chain is not verified. Read it as protection against anyone reading the traffic in transit, rather than as proof of which server answered.
- Everything the agent runs is read-only, credentials stay on the Compute instance you installed it on, and Query Streams keeps no copy of your data.
-- Ordinary Postgres, read-only, from inside the VCN\nSELECT c.name,\n COUNT(o.id) AS orders,\n SUM(o.amount) AS revenue\nFROM public.customers AS c\nJOIN public.orders AS o ON o.customer_id = c.id\nWHERE o.placed_at >= now() - interval '30 days'\nGROUP BY c.name\nORDER BY revenue DESC;From connection to useful results.
- Install the Network Agent on an OCI Compute instance in the same VCN and subnet as the DB system. This is the whole trick, and it is a normal Compute instance doing normal outbound traffic.
- In the OCI console open the DB system and copy the private endpoint — an IP or an FQDN that resolves inside the VCN.
- Enter it as the host, with the port, database and username. Database postgres is prefilled; the username is whatever you created with the DB system.
- Leave Use SSL on unless your DB system has TLS disabled, then run the test.
- Save, and read it from Microsoft Excel, Google Sheets, Power BI, MCP or REST. The private database is now reachable from a spreadsheet without ever having been exposed.
Put your OCI PostgreSQL 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 OCI PostgreSQL results straight into a worksheet and refresh them on demand — desktop Excel, Excel Online, Microsoft 365.
PostgreSQL guideRun a saved OCI PostgreSQL query from the sidebar and drop the rows into the sheet. Shared collaborators can refresh it themselves.
PostgreSQL guideAsk a question in plain English. Nova already knows your OCI PostgreSQL tables, writes and runs the SQL, explains the answer and charts it — no query to write, no credentials to hand over.
How Nova worksShare a live OCI PostgreSQL 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 worksFor apps and systems
Publish an OCI PostgreSQL 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 guidePaste the generated Power Query M into the Power BI Advanced Editor and the report reads live OCI PostgreSQL results over HTTPS — no ODBC driver, no database port opened.
Explore Power BISync OCI PostgreSQL rows into an Airtable base on a schedule, or fetch them inside an Airtable automation script.
PostgreSQL guideFeed a Baserow table from OCI PostgreSQL over the REST endpoint — self-hosted or Baserow cloud.
PostgreSQL guideKeep a SeaTable base current with OCI PostgreSQL data without exporting a file or exposing the database.
PostgreSQL guidePush OCI PostgreSQL results into a Smartsheet grid so plans and reports read from the source system, not last week's export.
PostgreSQL guideBack an Anvil Python app with OCI PostgreSQL through the REST endpoint instead of embedding database credentials in the app.
PostgreSQL guideFor AI tools
Give an AI assistant read-only access to OCI PostgreSQL with the schema it needs to write correct SQL — no credentials in the chat.
PostgreSQL guideDelivered to people
Put an OCI PostgreSQL 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 workJoin OCI PostgreSQL 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-- nothing copied, nothing merged, nothing scheduled
SELECT c.region, COUNT(*) AS orders, SUM(i.amount_due) AS invoiced
FROM oci_core.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 OCI Database with PostgreSQL
Where can I use OCI Database with PostgreSQL query results?
Use OCI Database with PostgreSQL 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 OCI Database with PostgreSQL?
No. Install the Network Agent on a machine that can reach OCI Database with PostgreSQL. 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 OCI Database with PostgreSQL?
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 OCI Database with PostgreSQL?
Host: The DB system's private endpoint — an IP or FQDN that resolves inside your VCN. There is no public name. Port: 5432. Driver: Npgsql, carried by the agent — nothing to install at the OCI end. Agent placement: An OCI Compute instance in the same VCN and subnet. No bastion and no public exposure are needed
Can I join OCI Database with PostgreSQL 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 OCI Database with PostgreSQL use the PostgreSQL connector?
Yes. OCI Database with PostgreSQL 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 OCI PostgreSQL where the work happens.
Start with Free: every connector type, 2 data sources and 1 Network Agent. Add plan allowances as your needs grow.

