Skip to content

Dataset

Amazon DynamoDB table export datasets for AI training

A DynamoDB dataset is an export of the tables behind a business's application: items such as user records, orders, sessions and device states, each addressed by a partition key and an optional sort key, delivered with the table's key schema, its global and local secondary index definitions and the access patterns that explain the keys. SourceX sources it to a buyer's spec from established businesses that run Amazon DynamoDB in production. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Chosen DynamoDB tables exported as items, with each table's key schema, secondary index definitions and the application's access pattern documentation
Typical systems
Amazon DynamoDB tables with global and local secondary indexes, point-in-time recovery, export to Amazon S3 and, where enabled, DynamoDB Streams
Typical history
Specified by the buyer; a table holds current state, and earlier states exist only where the application or the owner kept them
Modality
Semi-structured items with typed attributes, nested maps and lists, and short text inside attribute values
Delivery formats
Agreed per order; gzip files of DynamoDB JSON or Amazon Ion as exported, with both manifest files, or items converted to plain JSONL or Parquet
Preparation
Personal values masked; identifiers re-keyed the same way in key attributes, index key attributes and copied attributes; tokens and secrets removed
Licensing
Rights reviewed table by table, including items held on behalf of tenants and the vendor's terms; permitted use set in the license
Availability
Sourced to your spec by application type, entity types and item counts; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
table_keystringThe Table the item came from, re-keyed from the tableArn in the export's manifest-summary.json.
key_schemaobjectThe Table's KeySchema: the partition key (HASH) and sort key (RANGE) attribute names, with their types from AttributeDefinitions.
partition_keystringThe Item's partition key value, re-keyed the same way wherever that identifier appears.
sort_keystringThe Item's sort key value, null where the Table's primary key is a partition key alone.
entity_typeobjectWhat the Item is, from a type Attribute where the application writes one or from its key prefix, with the source stated.
itemobjectThe Item as exported, every Attribute under its DynamoDB type descriptor: S, N, B, BOOL, NULL, M, L, SS, NS or BS.
item_formatenumDYNAMODB_JSON or ION, the outputFormat of the Export to S3 job.
index_membershiparrayThe Global secondary indexes and Local secondary indexes this Item appears in.
secondary_indexesarrayThe Table's index definitions from DescribeTable: IndexName, KeySchema and Projection type (KEYS_ONLY, INCLUDE or ALL).
ttlobjectThe Table's Time to Live attribute name and this Item's expiry value, a Number in Unix epoch seconds.
exportobjectFull or incremental Export to S3, with exportTime or the export window from the summary manifest.
changeobjectFor incremental exports and archived DynamoDB Streams records: Keys, OldImage, NewImage and write time. Null for a snapshot.
access_patternsarrayThe documented access patterns this Item serves, each reading the Table or a named index.
deidentificationobjectWhich Attributes of the Item were re-keyed, masked or removed, including key attributes.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "table_key": "tbl_app_main",
  "key_schema": {"partition_key": {"name": "PK", "type": "S"}, "sort_key": {"name": "SK", "type": "S"}},
  "partition_key": "CUST#c_8f21a0",
  "sort_key": "ORDER#2024-03-11#o_55d07c",
  "entity_type": {"name": "order", "source": "type_attribute"},
  "item": {
    "PK": {"S": "CUST#c_8f21a0"},
    "SK": {"S": "ORDER#2024-03-11#o_55d07c"},
    "GSI1PK": {"S": "ORDER#o_55d07c"},
    "GSI1SK": {"S": "STATUS#shipped#2024-03-13"},
    "type": {"S": "order"},
    "total_cents": {"N": "184500"},
    "lines": {"L": [{"M": {"sku": {"S": "sku_ax_220"}, "qty": {"N": "3"}}}]},
    "tags": {"SS": ["net30", "wholesale"]},
    "customer_name": {"S": "[NAME]"}
  },
  "item_format": "DYNAMODB_JSON",
  "index_membership": ["GSI1"],
  "secondary_indexes": [
    {"name": "GSI1", "kind": "global", "keys": ["GSI1PK", "GSI1SK"], "projection": "ALL"},
    {
      "name": "GSI2",
      "kind": "global",
      "keys": ["open_since"],
      "projection": "KEYS_ONLY",
      "sparse": true
    }
  ],
  "ttl": {"attribute": "expires_at", "value": null},
  "export": {"type": "full", "exportTime": "2024-06-01T00:00:00.000Z"},
  "change": null,
  "access_patterns": ["AP-03 customer orders by date", "AP-07 order by ID (GSI1)"],
  "deidentification": {"rekeyed": ["PK", "SK", "GSI1PK"], "masked": ["customer_name"], "removed": ["payment_token"]}
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Teach models to read key design

Items grouped by key prefix, with the access patterns behind them, show how a single-table layout encodes entities and relationships.

Train coding agents to write DynamoDB queries

Real key schemas and index definitions are worked cases for choosing a Query over a Scan, and the right index for a pattern.

Evaluate NoSQL data modeling

Given the access patterns alone, a model proposes keys and indexes, and the production design is the reference answer.

Practice migrations between data models

Item collections converted to relational tables, or the reverse, can be checked against real items.

Test schema inference on sparse items

Attributes present on some items and not others, with type descriptors as ground truth, test entity inference.

Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Access patterns written down

A maintained list mapping each access pattern to a key condition and an index.

Entity type on the item

A type attribute or a stable key prefix per entity.

Whole item collections

Sampling by partition key value, so parent items arrive with their children.

Table description included

The DescribeTable output for each table, taken at export time.

Both manifests delivered

Item counts and checksums per data file.

Change records present

Incremental exports or archived stream records with old and new images.

System export

DynamoDB dataset

This page covers amazon DynamoDB tables.Illustrative

The schema lives in the keys, not in the table

A DynamoDB table declares almost nothing. Creating one takes a name and a primary key: a partition key, alone or with a sort key. Attribute definitions exist only for attributes used in a table or index key. Every other attribute belongs to the item that carries it, so two items in one table may share nothing beyond the key. The table's description says how items are addressed, not what they are.

Many applications go further with single-table design. Customers, orders and sessions share one table, the key attributes get generic names such as PK and SK, and the values carry prefixes: a customer ID in the partition key, an order prefix and a date in the sort key. Items sharing a partition key value form an item collection, which is how the application reads a customer and its orders in one Query with no join. A global secondary index includes an item only when the item carries that index's key attributes, so an attribute's presence alone can mean open or unpaid.

What an item is, and what it relates to, can therefore be recovered only from the key pattern and the access patterns the application was designed around. Without that documentation, a buyer has strings with number signs in them. De-identification has to respect the same structure. One customer ID can sit in a partition key, inside a sort key, in an index key and in copies written onto other items, and re-keying it differently in any one place breaks the collections that give the data its meaning.

What an export to S3 returns, and what is already gone

Export to Amazon S3 reads from the table's point-in-time recovery backup, not the live table. A full export is a snapshot at a chosen moment inside the recovery window, which reaches back at most 35 days and can be set shorter on a table. The output is gzip-compressed data files and two manifests, one item per line in DynamoDB JSON or Amazon Ion. In DynamoDB JSON every attribute is wrapped in a type descriptor such as S, N, BOOL, M or L, and numbers arrive as strings. Items arrive in no useful order, and nothing in the export states the key schema or the indexes.

History is the thin part. A write overwrites the item in place, and the table keeps no earlier version. DynamoDB Streams records each change, with old and new images if set up that way, but holds it for only 24 hours. Items expired by Time to Live are deleted by a background process, typically within a few days, and then they are gone. An incremental export returns what changed between two moments, but only inside the recovery window and compacted to one record per item. Earlier states exist only where the application wrote them as items of their own, or where the owner archived exports or stream records.

Test a sample against the manifests first: per-file item counts should add up to the summary's count. Then group items by key prefix, compare the groups with the documented entity types, and try to answer each access pattern from the delivered keys alone. Compare each Time to Live value with the export time, since expired items can remain until the background delete reaches them.

What to check before licensing

  • Ask for the access pattern documentation and each table's DescribeTable output before judging a sample, and confirm they explain every key prefix in it.
  • Check who controls the data in each table. In a multi-tenant application, items keyed by tenant may be held on behalf of the supplier's customers, so ask whether the supplier's agreements with them allow licensing and have counsel confirm.
  • Search a sample for personal data and for session tokens, API keys and password hashes, including inside nested maps and inside the key values themselves.
  • Confirm identifiers were re-keyed the same way wherever they occur: partition and sort key values, index key attributes and copies written onto other items.
  • Have the buyer and the data owner each check Amazon Web Services' terms on exported data and API use against the intended use, and record whether files came from export to S3, a Scan or a stream archive.
  • Reconcile the delivery with the export's manifest files: item counts per data file, checksums and export time. Ask how filtered or sampled tables were cut.
  • Ask which tables use Time to Live, whether expired items still present at export were kept, and whether any history exists beyond current state.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a DynamoDB export to S3 contain?

It contains the table's items and two manifest files, and nothing that describes the table. Data files are gzip-compressed, one item per line, in DynamoDB JSON or Amazon Ion. The summary manifest gives the export time, format and item count, and the files manifest lists each data file with its checksum. Key schema and index definitions come separately.

Why do I need the access pattern documentation?

Because the keys cannot be interpreted without it. In single-table design, many entity types share one table and generic key attributes carry prefixed values, so a table name says little. The access patterns say which prefix is which entity, which items are read together and which index serves which question. Ask for them with the sample.

Can I get the history of how items changed?

Rarely. A table holds current state and a write overwrites the item in place. DynamoDB Streams holds change records for 24 hours, and items removed by Time to Live are gone. History exists where the application writes version or event items by design, or where the owner archived incremental exports or stream records. Ask which the supplier has.

Is a DynamoDB export the same as a relational database export?

No. A DynamoDB table has no column list, no declared foreign keys and no joins. Relationships are expressed through shared partition key values and index keys, and one fact is often copied onto several items so a single read returns it. Tasks built for normalized tables, such as text-to-SQL over joined tables, do not carry over until the items are remodeled.

How is personal data handled inside items?

It has to be found first, because no schema says where it is. Personal values sit in attributes, in nested maps and lists, and often in the keys themselves, where an email address or user ID is part of the partition key. Ask for the method per attribute and review a processed sample. No de-identification method is perfect.

Is SourceX affiliated with Amazon Web Services?

Amazon DynamoDB is named to identify the system the records come from. That does not imply a partnership with or endorsement by Amazon Web Services. The records belong to the business that runs Amazon DynamoDB, 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.

  • 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

  • MongoDB document collections

    Chosen collections from one MongoDB deployment as BSON documents, with index definitions, validation rules, view definitions and GridFS files

  • Apache Cassandra tables

    Rows of chosen keyspaces' tables with the CQL schema, primary key definitions and, on request, per-column write times and TTLs

  • Amazon S3 bucket contents

    Objects copied from chosen buckets or prefixes, with keys, metadata, tags, storage classes and, where versioning was on, noncurrent versions and delete markers

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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.

See if your company qualifies