Dataset
Oracle Database schema datasets for AI training
An Oracle Database dataset is an export of chosen schemas from a business's Oracle Database: the tables with their rows and LOBs, the views, sequences and synonyms, and the PL/SQL packages, procedures and triggers that hold the application's rules. SourceX sources it to a buyer's spec from established businesses that run Oracle Database behind finance, billing, policy or manufacturing systems. A buyer that does not run Oracle should specify tables converted from Data Pump dumps to an open format. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Chosen schemas exported with table rows, LOBs, data dictionary definitions and PL/SQL source, converted to open formats on request
- Typical systems
- Oracle Database Enterprise or Standard Edition, on premises or as Autonomous Database; Partitioning and Flashback Data Archive where used
- Typical history
- Specified by the buyer; current rows plus whatever effective-dated, journal or partitioned history the application kept
- Modality
- Structured tables with LOB text and binaries, plus PL/SQL and SQL source code
- Delivery formats
- Agreed per order; Parquet or CSV per table with a DDL script, PL/SQL as text files, or Data Pump dump files for buyers who run Oracle
- Preparation
- Personal and regulated financial columns de-identified with keys kept joinable; free text and LOBs scrubbed; database link details removed
- Licensing
- Rights reviewed per schema; permitted use set in the license; Oracle's terms and any packaged application's license checked by the buyer and the data owner
- Availability
- Sourced to your spec from businesses that agree; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| schema_key | string | Pseudonymous key for the schema, which is the owning database user shown as OWNER in the dictionary views. |
| table_name | string | The table's name as DBA_TABLES holds it, uppercase unless it was created with a quoted name, and often abbreviated. |
| table_comment | string | The comment on the table from DBA_TAB_COMMENTS, where the owner wrote one. |
| columns | array | One entry per column from DBA_TAB_COLUMNS with Oracle type, precision, scale, its DBA_COL_COMMENTS text and the type it was delivered as. |
| constraints | array | Primary, unique, foreign key and check constraints from DBA_CONSTRAINTS, with their ENABLED and VALIDATED states. |
| partitioning | object | Partitioning method from DBA_PART_TABLES and key columns from DBA_PART_KEY_COLUMNS, with the partitions delivered and what happened to earlier ones. |
| export_point | object | The SCN or timestamp the Data Pump export was pinned to, and whether every table shares it. |
| row_count | object | Rows the Data Pump log reports for the table beside rows in the delivered file. |
| lob_columns | array | CLOB, BLOB and BFILE columns and legacy LONG columns, and whether each was delivered inline, as side files or left out. |
| triggers | array | Triggers on the table from DBA_TRIGGERS with timing, event and status. |
| plsql_dependencies | array | Packages, procedures and views that DBA_DEPENDENCIES links to the table, each with its DBA_OBJECTS status and whether its source is wrapped. |
| external_references | array | Synonyms and database links that reach objects outside the delivered schemas. |
| character_set | object | The database character set and length semantics at export, and the delivered encoding. |
Field names from the table above; values are masked placeholders.
Example record
{
"schema_key": "sch_billing",
"table_name": "INV_LINES",
"table_comment": "Invoice lines",
"columns": [
{
"name": "INV_LINE_ID",
"oracle_type": "NUMBER",
"precision": null,
"scale": null,
"delivered_type": "decimal(18,0)",
"comment": "Key from INV_LINE_SEQ"
},
{
"name": "POST_DT",
"oracle_type": "DATE",
"delivered_type": "timestamp",
"comment": "Posting date"
},
{
"name": "TAX_FLG",
"oracle_type": "CHAR(1 BYTE)",
"delivered_type": "string",
"comment": "Y or N"
},
{
"name": "LINE_AMT",
"oracle_type": "NUMBER",
"precision": null,
"scale": null,
"delivered_type": "decimal(18,4)"
}
],
"constraints": [
{
"name": "INV_LINES_PK",
"type": "P",
"columns": [
"INV_LINE_ID"
],
"status": "ENABLED",
"validated": "VALIDATED"
},
{
"name": "INV_LINES_HDR_FK",
"type": "R",
"columns": [
"INV_ID"
],
"references": "sch_billing.INV_HEADERS",
"status": "ENABLED",
"validated": "NOT VALIDATED"
}
],
"partitioning": {
"method": "RANGE",
"key": [
"POST_DT"
],
"partitions_delivered": [
"P2019",
"P2020",
"P2021"
],
"earlier_partitions": "dropped"
},
"export_point": {
"flashback_scn": 88213370451,
"shared_by_all_tables": true
},
"row_count": {
"data_pump_log": 48211973,
"delivered": 48211973
},
"lob_columns": [],
"triggers": [
{
"name": "INV_LINES_BIU",
"timing": "BEFORE EACH ROW",
"event": "INSERT OR UPDATE",
"status": "ENABLED"
}
],
"plsql_dependencies": [
{
"object": "BILLING_PKG",
"type": "PACKAGE BODY",
"status": "VALID",
"wrapped": false
}
],
"external_references": [
{
"kind": "SYNONYM",
"name": "CUST",
"target": "sch_crm.CUSTOMERS",
"in_delivery": false
}
],
"character_set": {
"database": "WE8MSWIN1252",
"length_semantics": "BYTE",
"delivered": "UTF-8"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Text-to-SQL in Oracle's dialect
Abbreviated uppercase names, dictionary comments and populated rows are what queries using NVL, DECODE, ROWNUM and CONNECT BY must run against.
Train PL/SQL code models
Packages delivered with the tables they read and write let a model learn stored business logic with its data in view.
Build database migration agents
Empty strings stored as NULL, DATE values with times and unsized NUMBER columns are what a move to another engine gets wrong, and real rows make each testable.
Relational models on long-lived records
Range-partitioned ledgers, effective-dated policy rows and trigger-fed journal tables give multi-table models dated histories that a current-state copy lacks.
Grade agents against known answers
Control totals and report queries the owner already runs become reference answers for query and analysis agents.
Use-case guides: Coding agents, Enterprise and computer-use agents, Finance and accounting agents, Private evaluation sets
What makes this data valuable
One export point
Every table unloaded at the same SCN means parent and child rows agree with each other.
Dictionary comments
Populated table and column comments explain abbreviated names.
Validated constraints
Foreign keys that are ENABLED and VALIDATED hold for every row, not only new ones.
Readable, valid PL/SQL
Unwrapped source that recompiles cleanly separates living rules from abandoned code.
Documented type mapping
A per-column record of how NUMBER, DATE and LOB values were converted lets you audit each choice.
Kept history
Journal tables, effective-dated rows or Flashback Data Archive show how records changed.
Process
Oracle Database dataset
How Oracle's schemas, PL/SQL and types shape the data
In Oracle Database a schema is not a folder someone created. It is the set of objects one database user owns, under that user's name. Long-lived applications often span several owning users, tied together by synonyms that let code name an object without naming its owner. A schema-mode Data Pump export leaves out cross-schema references unless the other schema is named too, so it carries the synonym and not the object it points to, and a view that reads through a database link names a table in another database. Dictionary views such as DBA_SYNONYMS and DBA_DEPENDENCIES record this, so ask first for the list of references that leave the schemas in scope.
The rules of the business usually sit beside the rows. Oracle shops wrote validation, pricing and posting logic as PL/SQL packages, each a specification plus a body, and as row triggers that fill keys from sequences, stamp who changed a row and copy old values into journal tables. DBA_SOURCE holds that code line by line and DBA_DEPENDENCIES says which package touches which table, so a model can be shown a column with the code that computes it. Vendor code is often stored wrapped, an obfuscated form not meant to be read, and an object whose status is INVALID failed to compile or is waiting to be recompiled after something it depends on changed.
The types need the most care. Oracle stores a zero-length string in a VARCHAR2 column as NULL, so blank and unknown cannot be told apart, and some applications put a single space in mandatory text columns. A DATE always carries hours, minutes and seconds, so a column that looks like a calendar date can hold midnight in old rows and the time of entry in new ones, and equality joins on it miss rows. A NUMBER declared with no precision accepts identifiers, money and measurements alike, so a converter must choose a type column by column. CHAR values are padded with spaces to their declared width.
What Data Pump and Flashback hand over
The standard way out of Oracle is Data Pump. Its expdp client has the database server write dump files in a proprietary binary format that only Oracle's impdp reads, and dumps from the older exp utility are a different format again. A buyer who runs Oracle imports the dump and gets tables, LOBs, constraints and PL/SQL together. A buyer who does not needs it imported on the supplier's side and each table unloaded to Parquet or CSV, with the DDL written out as a script, which impdp's SQLFILE option does without loading a row.
That conversion is where Oracle data gets damaged. Text unloaded through a client takes the session's NLS settings, and a common default date format drops the time of day and writes a two-digit year. A NUMBER with no precision read as a double can round long account identifiers. A BFILE column is only a pointer to a file outside the database. Unless the export was pinned with FLASHBACK_SCN or FLASHBACK_TIME, each table was unloaded as of its own moment, so an invoice header and its lines can disagree. On a sample, compare row counts with the Data Pump log and sum a money column against a figure the owner supplies.
History is the other limit. A Flashback query, written AS OF a timestamp or SCN, reads old row versions from undo, so it reaches back only as far as the database's undo retention, a window sized for running queries, not for keeping history. Longer history exists only where Flashback Data Archive was set up for a table, or where the application kept effective-dated rows or trigger-fed journal tables. Old date partitions are also often dropped, so a table can start later than the business did.
What to check before licensing
- Ask whether each schema belongs to a packaged Oracle or third-party application, and have the buyer and the data owner check whether that application's license restricts use of its data model.
- Have the buyer's counsel and the data owner read Oracle's license terms as they apply to exported data and to the tools used for the extraction.
- Request the Data Pump parameter file and log, confirm the export was pinned to one SCN, and match the log's row counts to the delivered files.
- List every NUMBER column declared without precision and check how each was converted, testing long identifiers and money columns for rounding.
- On the sample, check how NULL text was written, and look for single-space placeholders, DATE values with a time of day and CHAR codes with trailing spaces.
- Ask for the synonyms, database links, wrapped packages and invalid objects in scope, so you know which code and referenced tables are missing.
- Review de-identification of personal and regulated financial data in named columns, notes and LOBs, and confirm pseudonymized keys still join.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Can we use the data without running Oracle Database?
Yes, if the tables are converted before delivery. A Data Pump dump can only be read by Oracle's import tool, so a buyer without an Oracle instance should ask for each table as Parquet or CSV, the DDL as a script and the PL/SQL as text. Ask for the per-column type mapping too.
How far back does the history in an Oracle export go?
As far as the application itself kept it. Flashback queries read old row versions from undo, so they reach back only as far as undo is retained unless Flashback Data Archive was set up for a table. Longer history comes from effective-dated rows, trigger-fed journal tables and date partitions that were never dropped.
Is the PL/SQL included, and is it readable?
It can be included, and readability depends on who wrote it. Packages, procedures and triggers the business wrote are usually stored as plain source and export as text. Code supplied by a software vendor is often wrapped, an obfuscated form, and may not be the business's to license.
How do Oracle's data types convert to open formats?
Not one for one, so each mapping should be written down. A NUMBER with no declared precision has to become a decimal, an integer or a string, a DATE becomes a timestamp because it always holds a time, and NULL text stays NULL since Oracle never stored an empty string. Test the mapping on identifiers and money.
How is personal and financial data in the tables handled?
It is de-identified before delivery, and the method is recorded for the dataset. Core Oracle schemas often hold customer names, account numbers and payment details, repeated in notes columns, LOBs and journal tables. No method is perfect, so check on a sample that replaced identifiers still join across foreign keys, and confirm with counsel which financial rules apply.
Is SourceX affiliated with Oracle?
Oracle Database is named to identify the system the records come from. That does not imply a partnership with or endorsement by Oracle. The records belong to the business that runs Oracle Database, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Relational business database exports
Populated relational databases from business applications, with schema, keys, constraints, code tables and a data dictionary
- Database schemas, migrations and stored procedures
Production schema definitions with the migration chain, procedural code and the review and rollback record
- SQL Server and Azure SQL databases
Chosen databases from SQL Server or Azure SQL: table rows, object definitions in T-SQL, and row history where it was enabled
- PostgreSQL application databases
A pg_dump of chosen schemas: table rows, declared constraints, views, functions, triggers and the application's own audit or history tables
- Oracle E-Business Suite transaction records
One E-Business Suite instance's ledger journals, payables, receivables, purchasing and order tables, with subledger accounting entries and flexfield setup
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.