Skip to content

Database systems

Ferris IDEA connects to a database through a built-in driver family: the PostgreSQL, MySQL and SQL Server wire protocols, Oracle through Oracle Instant Client, and the embedded engines SQLite and DuckDB. Each system in the System list of the connection dialog is a definition on top of a family: its URL schemes, default port, catalogue queries and how well it is tested. The console, grid, schema tools and comparisons on these pages are compared side by side for PostgreSQL, MySQL, MariaDB and SQLite. The catalogue below is the one of v1.6.0, read with list_connectors on 2026-12-04.

These 13 systems were run against a real server or engine by Ferris IDEA’s own tests, with the version named. The connectors are Experimental: they work, and the tests do not yet run on every build for all of them.

System Family Tested with
PostgreSQL PostgreSQL 18.6
MySQL MySQL 8.4.13
MariaDB MySQL 12.3.3
SQLite embedded the bundled SQLite
DuckDB embedded 1.4.5, bundled
SQL Server SQL Server 2022 Developer Edition
Oracle Oracle Oracle Database Free 23; needs Oracle Instant Client
CockroachDB PostgreSQL v26.3.5, port 26257
YugabyteDB (YSQL) PostgreSQL 2.25.2, port 5433
TimescaleDB PostgreSQL 2.31.0 on PostgreSQL 17
TiDB MySQL v8.5.3, port 4000
MongoDB store 8.2.12
Redis store 8.2.11

Built in, never run against the real system

Section titled “Built in, never run against the real system”

These systems speak one of the protocols above and can be connected, but Ferris IDEA has not run them against a real server: In progress. The dialog marks them Beta and says “Beta: Ferris IDEA has not tested this system against a server”. Expect catalogue queries or plans to fail on some of them; report it when they do.

  • PostgreSQL family: Greenplum, Materialize (port 6875), Amazon Redshift (port 5439), Amazon Aurora PostgreSQL, Google AlloyDB, Neon, Supabase.
  • MySQL family: Amazon Aurora MySQL, PlanetScale (Vitess), SingleStore, StarRocks and Apache Doris (port 9030), ClickHouse through its MySQL interface (port 9004).
  • SQL Server family: Azure SQL Database, Azure SQL Managed Instance, Azure Synapse (dedicated SQL pool); SQL Server authentication only.
  • Stores: Amazon DocumentDB (add it as a MongoDB store) and Valkey (add it as a Redis store).

Planned: IBM Db2, SAP ASE, Exasol, Vertica, Apache Hive, Snowflake and Google BigQuery need an ODBC route that Ferris IDEA does not have yet; Amazon DynamoDB, Apache Cassandra and Couchbase Server need their own drivers. They are in the list so that you can see the plan; choosing one says why it cannot connect.

MongoDB and Redis connections are stores, kept in .ferris-idea/stores.toml with their password in the keychain like any connection. Profiles, consoles, the browser tree and export: Experimental.

  1. In the connection dialog, choose MongoDB or Redis as the system and fill host, port, database, user and password, or paste a mongodb://, mongodb+srv://, redis:// or rediss:// URL.
  2. The SSL mode becomes the store’s TLS setting: verify-full and verify-ca turn TLS on with checks, require without checks, and prefer on another host means require.
  3. Save. The store appears in the Database tool window.

Browse. A MongoDB store lists its databases, collections and the fields found in a sample of 100 documents. A Redis store lists its keys with SCAN, 500 at a time (never with KEYS); a value opens by type: strings up to 1 MiB, lists, sets and sorted sets up to 500 elements, streams up to 100 entries.

Console. A MongoDB console takes the shell forms, without JavaScript: show dbs, show collections, use, find (with .sort, .limit, .skip), findOne, countDocuments, distinct, aggregate, the insert, update, replace and delete commands, createIndex, dropIndex, drop, createCollection and runCommand. Arguments are relaxed JSON with ObjectId(…) and ISODate(…). Results show as Tree, Grid or JSON, 50 documents per page by default. A Redis console takes one command per line with redis-cli quoting; KEYS is refused above 10,000 keys.

Questions first. deleteMany or updateMany with an empty filter, and FLUSHDB or FLUSHALL, ask before they run.

Export. A MongoDB result (all pages) or Redis keys export as JSON, JSON Lines or CSV.

Not supported: SSH tunnels for stores, Redis Cluster and Sentinel, MongoDB Kerberos, LDAP and X.509 authentication, change streams, Pub/Sub and GridFS.

A system that one of the families above can talk to is described in a small TOML file: its name, family, URL schemes, default port, extra keywords and the SQL it uses to read the catalogue. Every key left out is taken from the family. The format is explained in the definition files of the built-in systems, which Export definition… writes.

  1. In the connection dialog, open the System list and choose Import database system… at its end.
  2. Give a .idcconnector or .toml file, or an https:// address (at most 64 KiB, 10 seconds, 3 redirects).
  3. Read the review. It lists “Queries this system will run on your connections” before you save.
  4. Save. The definition is stored in connectors/ of your settings folder and appears in the list marked User or Imported, with “Ferris IDEA has not tested it”.

Built-in systems cannot be replaced. Under a chosen system, Export definition… writes its .idcconnector file and Share… opens a prefilled issue in your browser to propose it.

Tools › Database › Report a Problem with This Database…, or the link in the connection dialog after a failed test, builds a report on your machine: Ferris IDEA version, system, server version, the error. Host, port, database, schema and user names are replaced by placeholders; Include host and database names and Include the statement are off until you tick them. Nothing is sent: Copy puts the text on the clipboard, Open issue in browser opens a prefilled issue that you submit yourself.

list_connectors returns the catalogue above with each system’s status and note. The store tools need the store’s permissions like any connection.

  • browse_storereadsdatabase-permissiontrusted-projectBrowse a MongoDB or Redis store like the Database tool window: path [] lists databases; MongoDB [db] collections and views with estimated counts, [db, coll] the groups indexes and fields, [db, coll, "indexes"] indexes, [db, coll, "fields"] field paths sampled from up to 100 documents with their types; Redis [db] keys grouped by : and [db, "prefix:"] the keys under a group, with type and TTL, read with SCAN pages of 500 (never KEYS): a non-zero cursor means more, pass it back.
  • database_problem_reportreadsBuild the text of a problem report about a database system for the user to review: Ferris IDEA version, system, status, family, the failing step and error message, with passwords, user names and (unless include_hosts) host, port, database and IP addresses replaced by placeholders.
  • export_connectorreadsThe definition of a database system to share as a .idcconnector text in the exchange layout of ADR-0021: a file already in it unchanged; others with the [ferris-idea] envelope and without status and tested, so a shared copy never claims to be tested.
  • export_store_resultchangeswritedatabase-permissiontrusted-projectExport a MongoDB find/aggregate result (all pages) or Redis keys (names one per line; values read by type and bounded) as JSON, JSON Lines or CSV into a workspace file.
  • import_connectorchangesdry run by defaulthttpsettingsImport a database system definition from text, a file path or an https url into the user's connectors folder.
  • list_connectorsreadsList every database system Ferris IDEA can connect to: id, name, family, category, status, note, URL schemes, default port and origin; plus unusable connector files with their problems.
  • list_storesreadsList the workspace's non-relational stores (MongoDB, Redis; .ferris-idea/stores.toml, SPEC-0310): id, name, system, family, URL without password, read_only, whether a keychain password is set, and the agent rights as for list_connections: ai is what the user granted for this workspace, store and target (nothing by default), requested the most the project file allows, target what the store reaches, usable false in safe mode.
  • run_store_commandchangesdry run by defaultdatabase-permissiontrusted-projectRun a console command on a MongoDB or Redis store.
  • save_storechangesdry run by defaultwriteAdd or change a non-relational store (MongoDB or Redis) from a name and a URL (mongodb://, mongodb+srv://, redis://, rediss://).
  • validate_connectorreadsCheck a database system definition (SPEC-0300 format, TOML) without storing it: every problem with its key path, the parsed summary and every SQL text it would run.