Oracle (TNS)

Status: Full
Default port: 1521
Compared against: Oracle Database 23ai Free

Scores are from main at a3232c9 (2026-11-30) unless noted. Full means a deep multi-phase differential suite matches the reference and real applications run on the wire; Preview means the suites are strong but app coverage, a local reference or a known gap is still missing. See How a wire is proven.

What was measured

204/219 with result types; 219/219 on values.

The 15 misses are result metadata (literal and dictionary NUMBER precision). Tested with python-oracledb in thin mode.

(source: README.md, Wire scorecard)

Connect

Use the official client or driver for this database, pointed at the port above. The connection settings the suites use are in the scripts listed below.

Accounts: the superuser is postgres on a new install. Create users with CREATE USER ... PASSWORD over the PostgreSQL wire. How each wire authenticates, and which wires are open by default, is in Security.

Known gaps

  • The README lists packages, triggers, user-defined types and LOB writes (DBMS_LOB, temporary LOBs) as not implemented. The code has them: the PL/SQL interpreter handles CREATE [OR REPLACE] PACKAGE [BODY] and DROP PACKAGE, row and statement DML triggers are stored in _ora_triggers, object, nested table and VARRAY types have wire images, and the LOB operation handler serves WRITE, TRIM, CREATE_TEMP and FREE_TEMP (source: src/protocol/oracle/plsql.rs; src/protocol/oracle/trigger.rs; src/protocol/oracle/types.rs, src/protocol/oracle/objwire.rs; src/protocol/oracle/mod.rs, handle_lob_op). Not verified: no Rust test drives a LOB operation, and trigger.rs has one unit test, so how far these work end to end is not shown. Detail: Oracle protocol.
  • SUBSTR on a CLOB returns VARCHAR2 (source: README.md, Known gaps).
  • Not benchmarked yet (source: README.md, Known gaps).

(source: README.md, Known gaps, unless another file is named)

Re-run the proof

One command, from a clone of the repository (needs Docker, Python 3.10+ and Rust):

make prove ARGS='--wires oracle'

This starts the reference engine in Docker next to a fresh SynergyDB, runs every phase and writes prove/out/latest/report.html. (source: prove/README.md)

By hand:

PYTHON=venv/bin/python test-scripts/wire-diff/run.sh oracle

The by-hand steps (reference containers, Python packages, the all-wires diff config) are in Benchmarks and reproduction.

Proof files

  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/oracle-oracle-diff.txt
  • docs/status/2026-11-30-oracle-result-column-types-2.md
  • docs/status/2026-11-24-oracle-django.md