Skip to content

Compatibility

fdyno speaks DynamoDB JSON with SigV4. AWS SDKs and the CLI work with a changed endpoint; any Region name works. A route is not full parity: test your exact requests.

aws dynamodb execute-statement \
  --endpoint-url http://127.0.0.1:8000 \
  --statement 'SELECT * FROM "quickstart-users" WHERE "id" = ?' \
  --parameters '[{"S":"user-1"}]'

Clients

These pinned clients pass the client matrix.

Language Clients and pinned versions
Go AWS SDK v2 service/dynamodb 1.74.3 and feature/dynamodb/expression 1.10.13
Java AWS SDK 2.x and the Enhanced Client 2.59.2; DynamoDB Lock Client 1.5.0; AWS SDK 1.x and DynamoDBMapper 1.12.797
Kotlin AWS SDK for Kotlin dynamodb 1.9.48
JavaScript AWS SDK v3 client-dynamodb and lib-dynamodb 3.1170.0; Dynamoose 4.2.0; ElectroDB 3.9.3; DynamoDB Toolbox 2.11.1
Python boto3 1.44.4; PynamoDB 6.1.0
PHP AWS SDK for PHP 3.409.1, with Marshaler
Ruby aws-sdk-dynamodb 1.187.0; aws-record 2.15.3
Rust aws-sdk-dynamodb 1.139.0
.NET AWSSDK.DynamoDBv2 4.1.0.1: the low-level client, DynamoDBContext and the Document model
Terraform Set DYNODB_ARN_REGION to the provider's Region and DYNODB_ACCOUNT_ID to the account it expects: the provider checks the Region in every ARN. aws_dynamodb_table: Terraform 1.17.2, AWS provider 6.73.0 and 5.100.0. Covers create, a second plan with no changes, in-place updates (add and remove a GSI, billing mode, throughput, TTL, stream, point-in-time recovery, tags, deletion protection), terraform import and destroy
AWS CLI aws dynamodb and aws dynamodbstreams, AWS CLI 2.38.0 (the host's CLI, not pinned). Covers the same table life through update-table, with the table-exists, table-not-exists and contributor-insights-enabled waiters

Libraries that depend on exact semantics

These libraries rely on exact condition, transaction and index behavior. The client matrix runs each one under contention or tampering (test commit 0a4a921d9, 2026-11-30).

Library Pinned version What the matrix checks
AWS Database Encryption SDK for DynamoDB (Java) 4.1.0, Material Providers 1.11.1 Its key store table is on fdyno. Encrypted and signed items round-trip through single, batch, transaction and paged reads and writes. A beacon GSI query returns only the matching items. A changed ciphertext byte, a changed signed value, an item copied to another key, a removed signed attribute or a wrong key each fail to decrypt.
DynamoDB Lock Client 1.5.0 20 processes contend for one lock (3 s lease, 1 s heartbeat), and one holder is killed. No two holders overlap and no update is lost. The next holder waits out the dead holder's lease: it took the lock 2.1 s and 2.8 s after the kill in two runs.
cirello.io/dynamolock/v2 (Go) 2.2.0 The same race. The next holder took the lock 2.8 s and 2.5 s after the kill in two runs.
OneTable 2.7.7 20 concurrent creates of one unique email: 1 user and 19 UniqueError. 20 concurrent conditional transfers move exactly the balance.
Castore DynamoDB event storage adapter 2.4.2 Versions have no gap under 20 optimistic writers. Event groups (TransactWriteItems) are all-or-nothing under contention. listAggregateIds pages through its GSI.

KMS in these checks is a local KMS emulator (moto), not AWS KMS. With AWS KMS, the key store and the keyring send their KMS calls to AWS. Only the DynamoDB calls go to fdyno.

SDK retries

The client matrix sends some requests through a fault proxy (main 1286b475f, 2026-11-30). With its default retry settings, each SDK below retried one 500 InternalServerError and one 400 ThrottlingException, and the request then succeeded. For a 500 on every attempt, the SDK returned its typed InternalServerError after this many attempts:

SDK Attempts
AWS SDK for Java 1.x 1.12.797 4
AWS SDK for Kotlin 1.9.48 3
AWS SDK for PHP 3.409.1 4
AWS SDK for Ruby 1.187.0 4
AWS SDK for Rust 1.139.0 4
AWS SDK for .NET 4.1.0.1 4

Each of these SDKs also returned the typed ProvisionedThroughputExceededException with retries off, and succeeded with its retries on, when fdyno rate-limited its key. The AWS SDK for Ruby defaults to retry_mode standard: to turn retries off, set max_attempts: 1, because retry_limit applies only to legacy mode. For how fdyno chooses its error codes, see SDK retries.

AWS CDK

cdk deploy cannot target fdyno: it sends the template to CloudFormation, which calls DynamoDB in AWS. We checked the next best thing on 2026-11-30 (aws-cdk-lib 2.278.0, main a1cf1de55). We ran cdk synth on TableV2 and Table stacks. Then we sent fdyno the DynamoDB calls that the CloudFormation table handlers make for those templates: create, update and delete.

Setting Development profile Production profile
Keys, GSIs, LSIs, billing, stream, TTL, point-in-time recovery, table class, deletion protection, tags Applied. The server view equals the template, before and after an update that swaps a GSI and turns each setting off. Same
Delete while deletion protection is on 400 ValidationException, DynamoDB's message Same
Contributor Insights, KMS key, resource policy, Kinesis destination Accepted and stored. Nothing runs. 400 UnsupportedOperationException. The message names what to use instead.
Replicas (replicas, replicationRegions) 400 UnsupportedOperationException: global tables are not supported Same
warmThroughput Accepted. DescribeTable reports 12,000 and 4,000. Same
Auto scaling (autoScaleReadCapacity) Application Auto Scaling, not a DynamoDB API Same

For fdyno, remove the settings that production refuses. With CloudFormation, one refused call rolls back the whole stack.

Stream consumers

These pinned consumers pass the streams consumer matrix. Each one reads a live workload while the stream splits from 2 to 64 shards, and receives every change exactly once, in order for each key.

Consumer Pinned versions Also checked
Kinesis Client Library 1.x with the DynamoDB Streams Kinesis Adapter Adapter 1.6.1, KCL 1.14.9, AWS SDK for Java 1.12.710 Lease table on fdyno, checkpoints, parent shards before children, worker restart in the middle of a shard
boto3 1.44.4 Every iterator type, Limit, iterator expiry and resume, DescribeStream pagination
AWS SDK for JavaScript v3 client-dynamodb-streams 3.1170.0 Shard lineage through DescribeStream pagination

Data pipeline connectors

A one-time pipeline check on 2026-11-30 (main b6427e472) copied 100,000 items with every attribute type through each connector below. The count and a checksum over every attribute matched, unless the Notes column says otherwise. With its key rate-limited to 200 requests/s and 4 MiB/s, each working connector still copied every item. Those that went over the limit retried fdyno's ProvisionedThroughputExceededException.

Connector Pinned versions What it reads from fdyno Notes
EMR DynamoDB connector (Hadoop InputFormat/OutputFormat) on Spark emr-dynamodb-hadoop 5.6.0, Spark 3.5.10 DescribeTable: on-demand (BillingModeSummary) means its 40,000-unit default; otherwise ProvisionedThroughput. It paces later writes from ConsumedCapacity. Outside EMR, set dynamodb.throughput.read/write (or dynamodb.max.map.tasks); the default plans 1 mapper. Add the AWS SDK v2 dynamodb and apache-client jars.
Apache Flink DynamoDB connector: DynamoDbSink, DynamoDbStreamsSource flink-connector-dynamodb 6.0.1-2.0, Flink 2.0.1 Nothing from DescribeTable The streams source copied every insert once from TRIM_HORIZON
Confluent Kafka Connect DynamoDB sink 1.5.10, Apache Kafka 3.9.1 DescribeTable once per task Endpoint: aws.dynamodb.endpoint. On Apache Kafka, add confluent-licensing-new to the plugin. JSON numbers are stored exactly.
Airbyte DynamoDB source airbyte/source-dynamodb 0.4.3 ListTables, DescribeTable, a sampling Scan Endpoint: endpoint
Airbyte DynamoDB destination airbyte/destination-dynamodb 0.1.8 — Does not work with any custom endpoint, DynamoDB Local included: its client fails with unknown signer type: AWSDynamodbSignerType before it sends a request
AWS Glue DynamoDB reader and writer Glue 6.0 (amazon/aws-glue-libs:6.0.2) DescribeTable on every task, as the EMR connector Set AWS_ENDPOINT_URL_DYNAMODB; the writer ignores dynamodb.endpoint. Glue reads N as double, so digits beyond double precision are lost on any endpoint.
AWS Glue DynamoDB export reader (dynamodb.export=ddb) Glue 6.0 ExportTableToPointInTime, DescribeExport, then the files in S3 Needs PITR and an export destination the job can read

Library test suites

These libraries pass their own integration tests against fdyno, at the commit of the pinned release (library test suites). The tests use the library's full API, so they send condition, update and key expressions that no person writes by hand.

Library Suite Result
PynamoDB 6.1.0 tests/integration 18 of 18 pass. 3 tests are not run; each needs DynamoDB Local behavior: an index readable at once after CreateTable, its error wording, or separate data for each Region
ElectroDB 3.9.3 test/*.spec.* with the AWS SDK v2 and v3 clients: 5,401 tests 5,396 pass. 5 tests expect DynamoDB Local's error wording or its attribute order; DynamoDB fails them too
AWS SDK for Java 2.x Enhanced Client 2.59.2 dynamodb-enhanced functional tests, sync and async: 1,354 tests 1,288 pass. 46 tests expect DynamoDB Local behavior that DynamoDB does not have. 20 tests write 100 KB items, over fdyno's item limit

test/sdk/upstream/*-known.tsv lists each test that does not pass, with its reason. A failure that is not in the list fails the row.

SDK integration tests

The AWS SDKs' own DynamoDB integration tests also run against fdyno (how). AWS runs these tests against DynamoDB itself. The test files are not changed: only the endpoint and the credentials are. A guard refuses each request to any other host, so a test that needs another AWS service fails and sends nothing to AWS.

SDK Suite Result
Java 2.x 2.59.2 services/dynamodb/src/it and dynamodb-enhanced/src/it: 346 tests 337 pass. 3 tests write 80 KB items, over the item limit. 3 vector search classes need SearchVectors, which fdyno does not have. 3 tests need AWS: 2 send requests to an amazonaws.com URL that they build, and 1 expects each call to take longer than 5 ms over the network
boto3 and botocore 1.44.4 boto3 tests/integration/test_dynamodb.py; the botocore integration tests for DynamoDB and DynamoDB Streams: 32 tests 32 pass
Go v2 (service/dynamodb v1.74.3) service/internal/integrationtest/dynamodb and the feature/dynamodb/attributevalue tests: 454 tests 451 pass. The SDK skips 3
JavaScript v3 3.1170.0 lib-dynamodb and client-dynamodb end-to-end tests: 93 tests 93 pass
.NET (AWSSDK.DynamoDBv2 4.1.0.3) sdk/test/Services/DynamoDBv2/IntegrationTests: 186 tests 172 pass. 8 vector search tests need SearchVectors. 5 tests store an S3Link and need S3. 1 test writes 65 KB items

The .NET test TestMultiTableTransactionsReturnConsumedCapacity found one fdyno defect, now fixed. TransactWriteItems with ReturnConsumedCapacity doubled the write units of each index as well as the table's. DynamoDB doubles only the table's units, and so does fdyno now.

The client matrix also checks helpers that write expressions for the application. In Go, these are feature/dynamodb/expression, attributevalue and the paginators. In Python, these are the boto3 resource Table, batch_writer and the Key/Attr conditions builder.

It also checks object mappers. These are DynamoDBMapper (Java 1.x), aws-record (Ruby), and DynamoDBContext and the Document model (.NET). Each one saves and loads a model, and uses optimistic locking or a conditional save, batches, paged and filtered queries, a GSI query, and transactions. Three of their limits come from the SDK, not from fdyno:

  • A .NET DynamoDBContext batch write refuses a type with a [DynamoDBVersion] property, unless SkipVersionCheck is on.
  • aws-record sends one Batch.write block as one BatchWriteItem request. With more than 25 writes, fdyno returns ValidationException, as DynamoDB does.
  • Aws::Record::Transactions uses its own default client unless the call passes client:, so it ignores the endpoint of the model's client.

Sets: DynamoDB does not promise an order for the members of a set. In practice, it returns string and binary sets sorted by bytes, and number sets sorted by value, and fdyno does the same. Tests that compare whole items, as some ElectroDB tests do, depend on this order.

Implemented workflows

Area Actions Status
Tables CreateTable, DescribeTable, UpdateTable, DeleteTable, ListTables Supported. A throughput-only UpdateTable on a provisioned table rejects unchanged units.
Items GetItem, PutItem, UpdateItem, DeleteItem with conditions and every ReturnValues mode Supported
Queries Query, Scan (with parallel segments), filters, projections, pagination Supported
Expressions Condition, update, filter and projection expressions; nested paths; if_not_exists, list_append, arithmetic Supported
Legacy parameters Expected, AttributeUpdates, KeyConditions, QueryFilter, ScanFilter, AttributesToGet Supported
Secondary indexes GSI and LSI with ALL, KEYS_ONLY and INCLUDE; online GSI add and delete; GSI keys of up to four partition and four sort attributes Supported. INCLUDE requires nonempty projected attribute names.
Batches BatchGetItem, BatchWriteItem Supported
Transactions TransactGetItems, TransactWriteItems with ClientRequestToken Supported
PartiQL ExecuteStatement, BatchExecuteStatement, ExecuteTransaction Partial: a tested subset
Streams ListStreams, DescribeStream, GetShardIterator, GetRecords; all view and iterator types Supported, with differences
TTL UpdateTimeToLive, DescribeTimeToLive Supported, with differences
Backups CreateBackup, DescribeBackup, ListBackups, DeleteBackup, RestoreTableFromBackup Supported; see backup & restore
Tags TagResource, UntagResource, ListTagsOfResource Supported. UntagResource requires TagKeys. After an unknown tag update outcome, check the table identity and current tags before resending. An internal retry cannot change a replacement table.
Resource policies PutResourcePolicy, GetResourcePolicy, DeleteResourcePolicy; ResourcePolicy on CreateTable Not enforced. Production: PutResourcePolicy and CreateTable with ResourcePolicy return UnsupportedOperationException; GetResourcePolicy returns PolicyNotFoundException even if development stored a policy; DeleteResourcePolicy removes a stored policy. Development stores the policy text. Its RevisionId is the SHA-256 hex of that text, and ExpectedRevisionId (including NO_POLICY) is checked on put and delete
Discovery and limits DescribeEndpoints, DescribeLimits Supported; limits are informational
Kinesis destinations DescribeKinesisStreamingDestination, EnableKinesisStreamingDestination, DisableKinesisStreamingDestination, UpdateKinesisStreamingDestination Not implemented: no records are delivered; read changes with DynamoDB Streams. Production: enable and update return UnsupportedOperationException, disable works, and describe returns an empty list. Development stores each destination: enable and update set it ACTIVE, disable keeps it listed as DISABLED, and update of an unknown stream returns ResourceNotFoundException
Contributor Insights DescribeContributorInsights, UpdateContributorInsights, ListContributorInsights Not implemented: no rule runs and ContributorInsightsRuleList is always empty; use the per-table hot-spot metrics. Production: ENABLE returns UnsupportedOperationException, DISABLE works, and every table reports DISABLED. Development stores one table-level status and mode; an IndexName is echoed in the response but does not get its own setting. See list pages for paging
Replica auto scaling DescribeTableReplicaAutoScaling, UpdateTableReplicaAutoScaling Partial: both return TableAutoScalingDescription with the table name, status and an empty Replicas list. The update reads only TableName; it does not store the scaling settings or change the table
Point-in-time recovery DescribeContinuousBackups, UpdateContinuousBackups, RestoreTableToPointInTime Supported, opt-in per table; see point-in-time recovery
Global tables (MRSC) CreateTable and UpdateTable ReplicaUpdates, GlobalTableWitnessUpdates, MultiRegionConsistency Unsupported in this version: UnsupportedOperationException; see global tables
Global tables (legacy 2017.11.29) ListGlobalTables Returns an empty GlobalTables list.
Global tables (legacy 2017.11.29) CreateGlobalTable Unsupported. Returns LimitExceededException for an existing source table or TableNotFoundException for a missing source table.
Global tables (legacy 2017.11.29) DescribeGlobalTable, DescribeGlobalTableSettings, UpdateGlobalTable, UpdateGlobalTableSettings Unsupported. Returns GlobalTableNotFoundException for a valid table name.
Bulk writes StartBulkPutItems, DescribeBulkOperation, ListBulkOperations, CancelBulkOperation Unsupported. Returns UnknownOperationException. ImportTable creates a new table; it does not write to an existing table.
Vector search SearchVectors; CreateTable VectorIndexes; UpdateTable VectorIndexUpdates Unsupported. SearchVectors returns UnknownOperationException. A CreateTable or UpdateTable that asks for a vector index returns UnsupportedOperationException; null or an empty list asks for nothing.
S3 export ExportTableToPointInTime, DescribeExport, ListExports Partial: FULL_EXPORT and INCREMENTAL_EXPORT in DYNAMODB_JSON or ION, to listed destinations; no export filters; see export to S3
S3 import ImportTable, DescribeImport, ListImports Partial: DYNAMODB_JSON, ION and CSV with GZIP or no compression, from listed sources; no ZSTD or CloudWatch logs; see import from S3

The errors above assume valid requests and unrestricted credentials. An unknown action can return AccessDeniedException with a scoped credential. A settings-only action stores its settings; they have no external effect. The production profile rejects enabling unimplemented features with UnsupportedOperationException; disable/delete work. It reports them off even if development stored settings.

Updates cannot set/remove key attributes. Parenthesized arithmetic permits one pair around a path and value: SET c = (c - :v).

A field in the response is not an enforced feature

If your application depends on… Check the effect, not just the response
Item collection size With ReturnItemCollectionMetrics=SIZE on a table with an LSI, single-item and batch writes and TransactWriteItems return SizeEstimateRangeGB, when they return the metrics, as a fixed [0, 1]. It is a placeholder, not a measured size. fdyno sets no item-collection size cap; FoundationDB capacity is the limit.
Capacity controls WarmThroughput is response metadata. Development accepts and reports table-level OnDemandThroughput limits but does not enforce them. A GSI limit from CreateTable or a GSI Create or Update is stored and reported in DescribeTable, and not enforced; a GSI Update may carry only OnDemandThroughput or WarmThroughput, as in DynamoDB. Production rejects positive limits; removing a limit is allowed.
Provisioned throughput history DescribeTable reports the last recorded increase and decrease and an advisory UTC-day decrease count for the table and each GSI. The count uses the server clock and does not enforce decrease quotas. An older process that rewrites table metadata during a rolling upgrade can reset the timestamps and count.
Table class history A class change sets TableClassSummary.LastUpdateDateTime.
Resource policies or KMS A stored development setting does not authorize requests or encrypt stored values. Use fdyno's credential scopes and protect FoundationDB separately.
Kinesis or Contributor Insights Development can return stored settings without delivering records or running an insights rule. Production rejects enablement and does not report the stored feature as active.

Test infrastructure code against the production profile before switching an application. Remove requests for AWS-only side effects rather than treating a successful development response as evidence they happened. The committed production feature tests cover all five features: KMS, OnDemandThroughput limits, resource policies, Kinesis destinations and Contributor Insights. The tests check production refusals, masking without erasing stored development settings, and allowed removals or disables. They do not test the external features themselves. Internal retries of Kinesis destination and Contributor Insights changes cannot update a replacement table.

Differences from DynamoDB

Area fdyno Amazon DynamoDB
Default reads Current. Reads without ConsistentRead see every completed write. Eventually consistent.
GSI reads Eventually consistent, as in DynamoDB. While the table's GSIs are more than 5 s behind, a write that changes a GSI fails with ThrottlingException before it commits; in a BatchWriteItem that commits in parts, a throttled part comes back in UnprocessedItems (indexes). ConsistentRead=true on a GSI is rejected, as in DynamoDB. Eventually consistent. A GSI without enough write capacity throttles writes to its table.
BatchWriteItem over 25 requests The ValidationException text echoes each request as PutRequest or DeleteRequest. The text echoes each request as a Java object dump (WriteRequest(putRequest=PutRequest(item={...AttributeValue(s=..., n=..., ...)}), ...)). The rest of the message, the status and the error type match.
Validation messages PutItem, UpdateItem, DeleteItem, GetItem, Query, Scan, BatchGetItem, TransactWriteItems, TransactGetItems and PartiQL use DynamoDB's status, error type and message for their common validation errors, as measured in three AWS Regions on 2026-11-30. A list over its length limit (more than 25 BatchExecuteStatement statements, more than 100 ExecuteTransaction statements) is worded without DynamoDB's dump of internal Java objects. The same messages. DynamoDB changes its wording from time to time; for example, write errors gained the 1 validation error detected: prefix and lost the : ConditionExpression is null suffix.
Expression syntax errors ConditionExpression, FilterExpression, KeyConditionExpression and ProjectionExpression name the token and nearby text (Syntax error; token: "=", near: "= = :v") for two comparison operators in a row and an empty projection element. Other syntax errors in these expressions can word or omit the token and near text differently. Names the offending token and nearby text for every syntax error. The status and the error type match.
AttributeValue JSON Read with DynamoDB's rules, as measured on DynamoDB: type names are case-sensitive; other members are ignored; a repeated type name is a SerializationException; BOOL and NULL also take DynamoDB's boolean words as strings (true, t, yes, y, 1, false, f, no, n, 0, in any case); B and BS take unpadded base64 of 2 or 3 characters. A request body is read as a whole before any value's structure is checked, so a later SerializationException wins over an empty value's ValidationException. Malformed JSON is a SerializationException with no message; data after the first JSON value is ignored. A lone UTF-16 surrogate escape (\ud800 with no low half) is read as ?, as in DynamoDB, in every request string: values, names, map keys and keys. Same
Write conflicts For PutItem, UpdateItem, DeleteItem, TransactWriteItems and ExecuteTransaction, fdyno retries conflicts internally. If conflicts use up the request budget and fdyno knows the write did not commit, a single-item write returns TransactionConflictException. A transaction returns TransactionCanceledException with reason TransactionConflict at every action, because FoundationDB reports the conflict for the whole transaction. If the budget went to the same-item queue, the answer is ProvisionedThroughputExceededException with reason TableWriteKeyRangeThroughputExceeded. An ongoing transaction can cause a single-item write to fail with TransactionConflictException, or another transaction to fail with TransactionCanceledException and reason TransactionConflict at the conflicting items.
ClientRequestToken on TransactWriteItems The first commit binds the token. A later call can commit first. If a valid call finds the live token, it returns success without writing again if its request parameters match. If they differ, it returns IdempotentParameterMismatchException. While a request with the token runs on the same fdyno process, another returns TransactionInProgressException, as in DynamoDB; on another process it replays or fails with IdempotentParameterMismatchException once the first commits. See tokened transactions. Can return TransactionInProgressException.
Capacity Not metered; capacity fields are accepted and returned. Throttling errors carry ThrottlingReasons. A table reason is TableRead or TableWrite followed by KeyRangeThroughputExceeded for same-item contention (ProvisionedThroughputExceededException), AccountLimitExceeded for FoundationDB throttling and the in-flight limit (ThrottlingException), or MaxOnDemandThroughputExceeded for a key's rate limit, with the table ARN. The GSI backlog throttle gives IndexWriteAccountLimitExceeded with the index ARN. Metered and throttled per table.
Changes while a GSI is CREATING DeleteTable is accepted and cancels the backfill. UpdateTable cannot create or delete another GSI (LimitExceededException) or change the table class (ResourceInUseException), as in DynamoDB; it can delete the CREATING GSI. See how an online GSI becomes active. Cannot delete the table or create or delete another GSI while the new index is being created.
DeleteTable on a CREATING table Allowed for the target of a restore or import, so an operator can cancel the job. It removes the target and cancels its restore job. A restore target keeps the deletion protection of its source. DeleteTable refuses a deletion-protected target while its restore job can still run, and removes it once that job has failed, including after cleanup has removed the failed job's record (at least 24 hours after the failure). A pinned import still listing or loading is marked FAILED (TableDeleted) when the worker sees the target is gone; an import already in its cleanup phase keeps the original failure. Data operations on the target and a CreateTable with its name are still refused. See restore and import. ResourceInUseException (HTTP 400).
BatchGetItem partial results The 16 MiB projected-item bound cannot be reached under the item cap. Throttling and read volume per storage partition do not cause a partial result. Can return HTTP 200 with UnprocessedKeys at 16 MB, when throughput is exceeded, when more than 1 MB is requested from one internal storage partition, or on an internal processing failure. Retry the unprocessed keys.
Parallel Scan segments Assigned by a hash of each item's full base-table primary key (partition key and any sort key), also on an index Scan, so items with one partition key can fall in different segments. For one TotalSegments value, each item belongs to exactly one segment. A complete, unfiltered parallel scan of unchanged data returns each visible item once. A scan does not provide a single snapshot across pages. Assigned by a hash of the partition key: all items with the same partition key are always assigned to the same Segment for a given TotalSegments.
Expired TTL items Hidden after TTL plus a clock margin from base-table reads and from indexes that project the TTL attribute. A KEYS_ONLY index, or an INCLUDE index without it, returns the item until it is deleted. See TTL. Visible until a background delete.
TTL changes Apply at once. No ENABLING state and no one-hour limit between changes. Asynchronous, at most once per hour.
Streams on DeleteTable Readable through the old ARN, and ListStreams lists it, by the table name or without one. The stream enabled at deletion is kept for 24 hours from the deletion, and so is the table's latest stream if it is disabled with no recorded disable time; an already-disabled generation with a recorded disable time keeps its own 24-hour clock from that time. A later worker pass removes the kept streams after the latest expiry plus the clock-skew margin; 24 hours is not a deletion deadline. See deleted tables. Readable for 24 hours.
Stream shards Split automatically when a shard writes more than 1 MiB/s, up to 64 by default. Shards never merge. Managed automatically.
Authentication Static SigV4 keys with optional table, read-only and control-plane scopes. A wrong signature returns UnrecognizedClientException. IAM; a wrong signature returns InvalidSignatureException.
Warm throughput DescribeTable reports DynamoDB's defaults (12,000 reads and 4,000 writes per second, or provisioned capacity if higher); a requested WarmThroughput is ignored, as there is nothing to pre-warm. Pre-warmed capacity.
Encryption No KMS: production rejects KMS requests; development stores them and encrypts nothing. Encrypt in FoundationDB. KMS-managed.
ARNs arn:<partition>:dynamodb:<region>:<account>:table/..., one Region and one account per deployment: DYNODB_ARN_REGION (default local) and DYNODB_ACCOUNT_ID (default 000000000000). A request may name a table, backup, export, import or stream by its ARN in that form. An ARN of another account gets AccessDeniedException, as in DynamoDB. An ARN of another Region or partition, of another service, or with a bad resource part gets DynamoDB's error for that operation: a ValidationException or the resource's not-found error. fdyno stores no Region or account: after a change, every ARN it returns, old resources included, has the new form. A KMS key ARN you set is returned as you set it. A shard iterator holds its stream ARN, so iterators open at a change stop working, as after 15 minutes; an export's summary file keeps the form of its time. Credential scopes use table names, so a change does not change who can do what. Account and Region scoped.

PartiQL

PartiQL is a tested subset, not the full language:

  • SELECT, INSERT, UPDATE and DELETE, with ? parameters.
  • Key and non-key WHERE conditions, IN, BETWEEN, nested paths and set literals (<<'a', 'b'>>).
  • SELECT from an index (FROM "table"."index") and ORDER BY on key attributes.
  • RETURNING on UPDATE and DELETE in ExecuteStatement and BatchExecuteStatement.
  • ReturnValuesOnConditionCheckFailure on UPDATE and DELETE in all three operations: ALL_OLD returns the item in the error or cancellation reason.
  • SET with literals, paths, arithmetic, list_append, if_not_exists, set_add and set_delete; REMOVE.
  • EXISTS(SELECT …) as a condition check in ExecuteTransaction.
  • ClientRequestToken on write transactions.

UPDATE and DELETE require the full primary key. Non-key WHERE is a condition, as in DynamoDB. UPDATE is not an upsert. Writes use item-API validation. ExecuteStatement rejects NextToken on a write, even when the string is empty. Omit the field for a write.

The example above queries the quickstart table.

How a SELECT reads

A standalone ExecuteStatement SELECT on a single-attribute partition key can read key ranges instead of the whole table. The table below gives each WHERE shape. Every other such SELECT reads the whole table or the whole index, one page at a time, and applies WHERE to each item it reads. A GSI with a composite key, and a SELECT in BatchExecuteStatement or ExecuteTransaction, follow their own rows in the target table below.

ExecuteStatement SELECT, single-attribute partition key: WHERE has, at the top level and without NOT Read
pk = v, no OR One partition. The first sort-key condition (=, <, <=, >, >=, BETWEEN, begins_with) narrows it.
(pk = v) AND ... One partition: a pk = inside a parenthesised group that is ANDed with the rest counts.
pk = v AND (a = 1 OR b = 2) One partition: an OR inside such a group is not at the top level.
pk IN [...] Table: those partitions, up to 100 distinct; a value that is not a valid key is rejected with ValidationException. Index: the same, for the index partition key.
pk = a OR pk = b Table: those partitions, up to 100 distinct; a value that is not a valid key makes the table read whole. Index: the same, for the index partition key.
No pk condition The whole table or index.

The DynamoDB SELECT reference says an equality or IN condition on the partition key avoids a full table scan. Its examples are OrderID = 100 or OrderID = 200 and OrderID IN [100, 300, 234]. On a table, fdyno reads only those partitions, in key order, as one paged read. Limit, the 1 MiB page and capacity count only their items, and capacity is charged as for Scan. If the selected branch conditions name more than 100 distinct partitions (the IN limit; OR branches can add more), fdyno reads the table instead.

Target Key range Source
Table The partition, narrowed by the first sort-key condition, when WHERE has pk = v and no top-level OR. The named partitions, when every top-level OR branch has pk = v or pk IN [...]. Otherwise the whole table. An IN on the partition key still checks each value's type against the key schema. partiql_ops.go
GSI or LSI The partition, narrowed by the first sort-key condition, when WHERE has = on the index's partition key and no top-level OR. The named partitions, when every top-level OR branch has = or IN [...] on the index's partition key. Otherwise the whole index. partiql_index.go
GSI with a composite key None: any statement on the index fails with ValidationException "PartiQL statements cannot be executed on tables with multi-attribute HASH keys or multi-attribute RANGE keys.", as in DynamoDB. The base table and its other indexes stay readable. Use Query on the index. partiql_index.go
SELECT in BatchExecuteStatement or ExecuteTransaction One item. WHERE must be = on every primary-key attribute and nothing else; any other WHERE fails with ValidationException. Both refuse an index. partiql_ops.go

A whole-table read is paged like Scan: each page reads up to 1 MiB of items before WHERE (PartiQL pages). Limit counts the items read, not the items that match. A selective WHERE can return empty pages with a NextToken. Capacity is charged for every item read, as for Scan. A one-partition read is charged as a Query.

Streams, TTL and local backup

Feature Behavior
Streams AT_TIMESTAMP takes epoch seconds.
TTL value Number of epoch seconds, at most five years in the past; other values never expire.
Expired item Base-table reads, reads of an index that projects the TTL attribute, conditions and old images in write responses skip the item. A KEYS_ONLY index, or an INCLUDE index without the TTL attribute, returns it until it is deleted, as DynamoDB does. A successful write that reads the row deletes it first in the same transaction and emits a TTL REMOVE if Streams is enabled. That record can include the expired image. The sweeper reclaims expired rows it finds. Its default interval is one minute, with no deletion deadline (see TTL).
TTL clock Local clock minus DYNODB_TTL_SKEW_MARGIN (default one minute). No early expiry while clock skew stays within the margin; visibility can last margin plus clock lag after TTL.
TTL in indexes An index hides an expired item only if it projects the TTL attribute. No index read reads the base item to check expiry.
Backups See backup & restore.

Alternator compatibility rows

The synthetic .scylla.alternator.system.config table holds process-local settings, such as response compression. Its rows are immutable snapshots: not durable, no effect on other processes.

Capacity responses

ReturnConsumedCapacity uses DynamoDB item-size formulas, not FoundationDB work. TOTAL aggregates; INDEXES adds per-table/per-index values. Token replays of TransactWriteItems report read capacity, not original write capacity.

TransactGetItems and each SELECT in PartiQL ExecuteTransaction report two read units per 4 KiB of each requested item's full logical size. The size is rounded up per item and counted before any projection. A missing or TTL-expired item reports 2. A read-only ExecuteTransaction still returns one ConsumedCapacity entry per statement; one with writes still reports per table.

BatchGetItem charges each returned item for its whole stored size, whatever its ProjectionExpression or AttributesToGet returns. The size is rounded up to 4 KiB per item and halved for an eventually consistent read. A missing or expired key costs one minimum read.

A Query on a KEYS_ONLY or INCLUDE LSI can ask for ALL_ATTRIBUTES or for attributes outside the projection. Then it also reads each base item on the page. The page's index entries are rounded up together; each base item is rounded up on its own. Both count before the filter and the projection. INDEXES reports the base reads under Table and the entries under the index; TOTAL is their sum.

A Query or Scan can read only an index's projection, on a GSI or an LSI. It then reports its whole charge under that index in INDEXES, with a zero Table share. A Scan of an LSI that reads base items reports its whole charge under Table. This last split is fdyno's own; it is not yet checked against DynamoDB.

Move an application to fdyno

  1. Set the endpoint and a credentials-file key. See the AWS SDK and CLI guide for service-specific endpoint settings, including AWS_ENDPOINT_URL_DYNAMODB.
  2. Check the tables above; run your integration tests against fdyno.
  3. dynodb migrate copies schema, items and source stream with a short write pause. For a one-time S3 export copy, use ImportTable.
  4. Remove workarounds: ConsistentRead=true costs nothing extra; GSI catch-up loops end at once.

Replace DynamoDB Local using fdyno and scripts/fdb-local.sh from the quickstart. Use the same client code in tests/production; stale-read tests see current data. See limits and the read model.

Compare

fdyno Amazon DynamoDB ScyllaDB Alternator
Where it runs Your hosts, on a FoundationDB cluster AWS, managed Your hosts, on a ScyllaDB cluster
Global secondary indexes Eventually consistent Eventually consistent —
Default reads Current Eventually consistent Eventually consistent (LOCAL_ONE)
Multi-item transactions 100 actions, 4 MB, one FoundationDB transaction (10 MB) 100 actions, 4 MB Not supported
Conditional updates Always serialized Always serialized Serialized with the always_use_lwt write isolation
Stream records Written in the item's transaction Asynchronous About 10 s delay by default
Expired TTL items Hidden after TTL plus a clock margin (base reads and indexes that project TTL) Visible until a background delete Deleted by a scan, every 24 h by default
Backups On-demand, point-in-time (opt-in, 35 days) and portable archives On-demand and point-in-time ScyllaDB snapshots; no DynamoDB backup API
Multi-region FoundationDB region failover; no global tables Global tables ScyllaDB multi-datacenter replication
Access control SigV4 with static keys, per-key table scopes and rate limits IAM SigV4 with CQL roles, off by default

Alternator facts: documentation. — means undocumented.

Not guaranteed

No full API parity: test exact requests. Global tables (MRSC and MREC) are unsupported. Resource policies, KMS and the external integrations above are not enforced or implemented. Production rejects them; development settings alone do not provide those features.

How we know: the client matrix checks CRUD, conditions, paginated table/GSI Query, batches with retries, TransactWriteItems tokens, TTL, streams where clients read them, and waiters. Conformance suites test request behavior.