Skip to main content

mkpipe-extractor-oracledb

Oracle Database extractor plugin for MkPipe. Reads Oracle tables via JDBC.

Documentation

For more detailed documentation, please visit the GitHub repository.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.


Connection Configuration

connections:
  oracle_source:
    variant: oracledb
    host: localhost
    port: 1521
    database: ORCL
    user: myuser
    password: mypassword

Table Configuration

pipelines:
  - name: oracle_to_pg
    source: oracle_source
    destination: pg_target
    tables:
      - name: MYSCHEMA.EVENTS
        target_name: stg_events
        replication_method: full
        fetchsize: 100000

Incremental Replication

      - name: MYSCHEMA.EVENTS
        target_name: stg_events
        replication_method: incremental
        iterate_column: UPDATED_AT
        iterate_column_type: datetime
        partitions_column: ID
        partitions_count: 8
        fetchsize: 50000

Custom SQL

      - name: MYSCHEMA.EVENTS
        target_name: stg_events
        replication_method: full
        custom_query: "SELECT ID, USER_ID, EVENT_TYPE FROM MYSCHEMA.EVENTS WHERE {query_filter}"

Read Parallelism

Set partitions_column and partitions_count for parallel JDBC reads. Partitioning only applies to incremental replication.

Performance Notes

  • Oracle's ROWID range partitioning is the most efficient for parallel scans, but mkpipe uses column-range partitioning for simplicity. Use a numeric PK column for best distribution.
  • Oracle JDBC fetchsize defaults are often low — explicitly set fetchsize: 50000 or higher.

All Table Parameters

Parameter Type Default Description
name string required Oracle table name (include schema: SCHEMA.TABLE)
target_name string required Destination table name
replication_method full / incremental full Replication strategy
iterate_column string or list — Column(s) for incremental watermark. String for single column or SQL expression, list for multi-column OR logic
iterate_column_type int / datetime — Type of iterate_column
partitions_column string same as iterate_column Column to split JDBC reads on
partitions_count int 10 Number of parallel JDBC partitions
fetchsize int 100000 Rows per JDBC fetch
custom_query string — Override SQL with {query_filter} placeholder
custom_query_file string — Path to SQL file (relative to sql/ dir)
tags list [] Tags for selective pipeline execution
pass_on_error bool false Skip table on error instead of failing

Metadata

Release files for mkpipe-extractor-oracledb 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkpipe-extractor-oracledb 0.5.0
File Size Uploaded Provenance
mkpipe_extractor_oracledb-0.5.0.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mkpipe-extractor-oracledb 0.5.0
File Interpreter ABI Platform
mkpipe_extractor_oracledb-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / mkpipe_extractor_oracledb-0.5.0.tar.gz

Download URL mkpipe_extractor_oracledb-0.5.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7a24709fd3cc986d2a9e8d6e67d8587578e836f1cb73f736461fd42fc25a2c02
BLAKE2b-256 checksum
How to use checksums
1dfd2e2cb6e04cdf5021eec16766774607a06d33d0be77d10f6e2e76feaad011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / mkpipe_extractor_oracledb-0.5.0-py3-none-any.whl

Download URL mkpipe_extractor_oracledb-0.5.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb1268aa7ce40152b7f8ee125b6d43724882ec1517f553088424e4e584e9def0
BLAKE2b-256 checksum
How to use checksums
6badfb3a3f69ecdae9f73efd8729b0aef1aa2905e96ced1c8a4353cc45b004d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for mkpipe-extractor-oracledb 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page