Repository navigation
Warehouse Oracle
The
oraclereader crawls the schemas (owners) visible to the user from theALL_*dictionary views (Oracle 12.1 or later). Names are kept upper-case as stored; row counts are optimizer estimates and unknown until statistics are gathered. Built from documented view shapes and tested against recorded fixtures; not yet validated against a live database.
Reader: oracle. Schema = owner; refs carry no catalog. Requires Oracle Database 12.1 or later (FETCH FIRST, ALL_USERS.ORACLE_MAINTAINED). Extra: pip install "schemaguru[oracle]" (oracledb).
ALL_USERS, ALL_TABLES, ALL_VIEWS, ALL_MVIEWS, ALL_TAB_COMMENTS, ALL_PART_TABLES, ALL_TAB_COLUMNS, ALL_COL_COMMENTS, ALL_CONSTRAINTS, ALL_CONS_COLUMNS.
Any user: ALL_* shows objects the user owns or has been granted access to. To describe another schema, grant SELECT (or READ) on its objects, or SELECT ANY DICTIONARY / the SELECT_CATALOG_ROLE role for the dictionary views to show everything.
Dictionary queries only; no extra licensing beyond the base database.
- Names are upper-case unless created quoted (
"Order Items"); the reader keeps them as returned. -
NUM_ROWSis the optimizer-statistics estimate and is unknown until statistics are gathered. Table bytes are not read (they would needDBA_SEGMENTS). -
DATEincludes a time part, so it maps to thetimestampfamily. Dictionary timestamps are zone-less, socreated_at/last_alteredstay unknown andincrementalis not offered. - Materialized view container tables, nested tables, IOT overflow segments and recycle-bin (
DROPPED = 'YES') tables are excluded. -
ENABLED/DISABLEDconstraint status is reported asenforced. - Bind style:
oracledbnumeric (:1); the executor converts?. - Live test:
SCHEMAGURU_LIVE_ORACLE=1withSCHEMAGURU_ORA_{DSN,USER,PASSWORD,SCHEMA}.
- Catalog-and-Crawl
- Concepts (names are never case-folded)
- Scale-and-Cost
- Extending-CatalogReader
SchemaGuru is open source under the MIT License, Copyright (c) 2026 Rupak Chakraborty · Repository · Issues · This wiki is generated from docs/wiki/; edit it there, not here.
Start here
Components
- Catalog and Crawl
- Store
- Measurement
- Sampling
- Join Graph
- Path Search and Hub Guard
- Waypoint Rules
- Drafting
- PII and Sampling Policy
- Overlays
- Scoping
- Rendering
- Refresh and Drift
- Feedback and Guard
- Server
- Agent Integration
Using it
Warehouses
- BigQuery
- Snowflake
- Redshift
- Databricks
- PostgreSQL
- DuckDB
- ClickHouse
- SQL Server / Synapse
- Oracle
- Trino
- MySQL / MariaDB
Extending
- CatalogReader
- Store
- Retriever and Embedder
- TokenCounter
- LLMProvider
- PII Detector
- FailureClassifier
- FactKind
- Profile and Format
- ChangeClassifier
- JoinCandidateSource (planned)
- Authenticator
Project