Data-source connectors

A data-source connector lets a StrataBI tile query a database outside Athena. Each one is its own StrataBI module, one per source, and runs a Lambda function in your own AWS account: the tile sends one read-only SQL query and its parameters, the connector runs it against your database, and the rows come back as the tile's result. The database answers live; the connector keeps no copy of its own.

All nine connectors are available. The PostgreSQL, MySQL and SQL Server connectors can read results two ways, and Snowflake's has an optimized result decoder:

Connectors use the traditional path unless an administrator turns on the optimized path with the install setting native_reader = on. The optimized path is for teams that want its speed and accept that it needs production validation: Traditional and optimized paths has its risks and the benchmarks. Oracle, Databricks, BigQuery, Trino and ClickHouse read through their vendors' own Arrow or bulk paths, which are the standard path for those engines.

SourceModule idTested
PostgreSQLpostgresql_connectorHas run in AWS against Aurora PostgreSQL 16
MySQLmysql_connectorTested against MySQL 8.4 and MariaDB 11 in containers, over TLS
Microsoft SQL Serversqlserver_connectorTested against SQL Server 2022 in a container, over TLS
Oracle Databaseoracle_connectorTested against Oracle Database 23ai Free in a container, without TLS
Snowflakesnowflake_connectorTested against a local stand-in of Snowflake's SQL API, not a real account
Databricksdatabricks_connectorLive on Databricks Free Edition (2026-12-03): sign-in, table listing and queries read through result links; cancel, timeouts and large results tested against a local stand-in
Google BigQuerybigquery_connectorTested against a local stand-in of the BigQuery API, not a real project
Trinotrino_connectorTested against Trino 484 in a container, over HTTPS. Trino's protocol only: not PrestoDB or Athena
ClickHouseclickhouse_connectorTested against ClickHouse 26.11 in a container, over HTTPS

The PostgreSQL connector runs read-only SQL with values bound by the driver, a per-query time budget with server-side cancellation, typed results in your own S3, and credentials that stay in your Secrets Manager. Its page describes each of these.

Amazon Redshift has a module of its own, the Redshift Connector, which runs named queries through the Redshift Data API.

From a tile

A tile names the connector's module and carries its SQL, with named placeholders mapped to the dashboard's inputs:

json
{"id": "revenue_by_region", "title": "Revenue by region",
 "exec": {"type": "lambda", "module_id": "postgresql_connector", "lambda_index": 0},
 "query": {"sql": ["SELECT region, sum(total) AS revenue",
                   "FROM sales.orders",
                   "WHERE ordered_at >= :since",
                   "GROUP BY region ORDER BY revenue DESC"],
           "params": {"since": "since_date"}},
 "block": {"type": "table"}}

Values are bound by the database driver, never written into the SQL text.

How long a query may take

A connector query runs async by default: StrataBI starts it and the tile shows its progress, for up to 15 minutes (900 s) by default. A quick query can run sync ("sync": true), within the default set at install (25 s unless changed, at most 120 s). At its deadline a query is cancelled on the database server and the tile says it timed out. Past 15 minutes, a workload needs S3 caching or a module's own async logic, which StrataBI runs without a time limit; neither is built for the connectors yet. See Execution types.

What each connector's page covers

Each connector has a page of its own, linked from the table above. Each page has:

PostgreSQL Connector · Execution types · Build a module · Redshift Connector · Modules