Skip to main content

ArpeOracle

v0.4.9Linux · Windows (x64)On-premiseOracle Cloud Autonomous Database

A native ADBC driver for Oracle, returning Apache Arrow RecordBatches end to end. It speaks TNS (Oracle Net) + TTC (Two-Task Common) directly over TCP — no OCI, no Instant Client, no ODBC. The released binaries are self-contained: nothing beyond the operating system's C library is needed at runtime (a Kerberos logon alone also uses the host's MIT Kerberos library). Targets Oracle 19c and Oracle Cloud Autonomous Database (ADB).

note

Reading these docs. The badge above is the version this documentation describes; the What's new page is the release-by-release view. See Versioning.

Highlights​

  • Native TNS + TTC over TCP/TLS — no OCI, no Instant Client, no ODBC.
  • Oracle Cloud ready — connects to Autonomous Database (ADB) over mutual TLS with the downloaded wallet, and authenticates with an OCI IAM database token or a password.
  • Modern auth — O5LOGON password, proxy (CONNECT THROUGH), Kerberos (on Linux), OCI IAM token, and OAuth2 / Microsoft Entra ID bearer tokens.
  • Native Network Encryption — AES-256/192/128 session encryption + SHA-512/384/256 or SHA-1 integrity without TCPS, interoperating with Oracle 19c through 23ai.
  • Configurable NUMBER mapping — lossless utf8, float64, or decimal128(P,S) with optional rounding.
  • Oracle types as Arrow — user-defined objects and collections read as struct / list, 23ai VECTOR columns read and write as Arrow lists, and SDO_GEOMETRY as GeoArrow.
  • Fast bulk ingest — adbc_ingest uses Oracle's direct path load when the target table allows it, and an array-bound INSERT otherwise.

Connect in seconds​

Load the driver by name (arpeoracle) from any ADBC client:

import adbc_driver_manager.dbapi as dbapi
with dbapi.connect(driver="arpeoracle",
db_kwargs={"uri": "oracle://scott:tiger@dbhost:2484/orclpdb1?ssl_mode=verify-full"}) as conn:
cur = conn.cursor()
cur.execute("SELECT * FROM hr.employees")
table = cur.fetch_arrow_table()

New here? Install ArpeOracle first, then see the Connection guide (including the Oracle Cloud ADB section).

All ArpeOracle pages​