---
artifact: "engineering-report-detailed"
database: "wordpress"
job_id: "8dd35fce"
generated: "2026-11-23T04:18:26+00:00"
filename: "wordpress_engineering-report-detailed_8dd35fce_v2_20261123.md"
source_artifact: "wordpress/8dd35fce/synthesis/v2/report.json"
commit: "8f99214b1709"
---

# Database Modernization: Detailed Engineering Report

Source database: `wordpress`. The routing record behind the engineering report (`engineering-report.md`), for an engineer who audits or debugs the result: why each query is on its engine, step by step. It is read from the same saved assessment as the other files; nothing here is scored again.

Assignment version: v2.

Analysed engines: Aurora MySQL, DocumentDB, DynamoDB, ElastiCache, OpenSearch.

## Contents

- Tables: each table's owner and every query that touches it
- Queries: each query's scores by dimension, move history, ties and key candidates
- Write groups and co-dependency groups: members, group score, margin and poor fits

## How to read the scores

- **Routed score**: the score the routing step compared for the query on each engine (0 to 100), from the latest step of its move ledger that recorded a candidate ladder; `gated: <reason>` means that engine could not take the query, for that reason.
- **Pattern**: the score of the query's access-pattern class on the engine, as written; **after redesign** is the class score once the keys the redesign assumes exist, which routing uses when it is higher.
- **Complexity** and **performance**: each of the query's tables as the engine's analysis rated it.
- **Cost**: the query's own cost on the engine (0 to 100, higher is cheaper): its share of the engine's standing cost and its own variable cost.
- **Base**: the four dimensions combined with the **weights** (pattern / complexity / performance / cost) the engine's analysis used for each table, averaged over the query's tables, before the penalty; the routed score is the base less the penalty, at least 0.
- **Penalty**: the points routing took off for the query's intrinsic anti-pattern findings on the engine: the biggest one applies, not their sum; a fixable finding costs nothing, since a redesign removes it.
- Base, cost and weights are read from what routing recorded when it scored the query; a dash means no record of them is saved for that score.
- **Fits poorly**: a write-group member its engine serves poorly, as the risk register counts them: its own score on its table's writer is below 50, the floor the write-intent catalog sets. A co-dependency group marks the same statements.

## Tables the queries touch (23)

### `wordpress.wp_actionscheduler_actions`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

5 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `06584926ec16d35bcd9ad7d2351721be47c4216c1c3b543f1d151ce1f1dbb616` | Aurora MySQL | `key_scoped` | 83 | 83 | 76 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `1da3b85858a9927d081eff8b87ba3c7309c5a07590628fd6de787e47ce4b792e` | Aurora MySQL | `key_scoped` | 81 | 83 | 75 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `59163c184972d1ec4ad95106a5fc20c95d19dd06d071f956bf50e0c51ce12bdf` | Aurora MySQL | `key_scoped` | 81 | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `7ead756f0ea0ffe5cb6550cacd3b5efa6f65539d8a3cfb37dc66346a3ff2ad3f` | DynamoDB | `key_lookup` | 87 | 81 | 92 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: ruled out for this kind of query |
| `9438ed54a7afc46837cd821ba15c7ed80b577191d387f314e3dc5c87a236011a` | Aurora MySQL | `key_scoped` | 83 | 83 | 76 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |

### `wordpress.wp_actionscheduler_groups`

Owner: Aurora MySQL. No statement writes it, so it stays on Aurora MySQL, the plan's relational engine.

Also read by: none. Cached by: ElastiCache.

3 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `1da3b85858a9927d081eff8b87ba3c7309c5a07590628fd6de787e47ce4b792e` | Aurora MySQL | `key_scoped` | 81 | 83 | 75 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `59163c184972d1ec4ad95106a5fc20c95d19dd06d071f956bf50e0c51ce12bdf` | Aurora MySQL | `key_scoped` | 81 | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `68b75de2bd1bba434ddd42e76804623d41efa87a7a210df795c0459e548d083d` | Aurora MySQL | `key_scoped` | 80 | 84 | 78 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |

### `wordpress.wp_actionscheduler_logs`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: none.

2 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `91603b5bf10532c65d3876110eb2d65dcfa43b79f682739496d60ed82a9071ad` | Aurora MySQL | `utility` | 64 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `b05af520688a1a5f54ba51896e5a079d05fde97ea81aa1f8618c9eed2e8e6212` | DynamoDB | `key_lookup` | 55 | 77 | 96 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |

### `wordpress.wp_commentmeta`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

7 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `00c3bcc18acdf03f064c4a7b52571e81e578d2ae2367ce7904205744c2ffe8c8` | DynamoDB | `key_lookup` | 80 | 78 | 93 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `0278ef630aad35db79d780cd92b66d45a9ef35980cfef327f7603fb84f92c510` | DynamoDB | `key_scoped` | 76 | 80 | 77 | gated: missing a capability the query needs | 0 |
| `09513d199d428000ba329640fab04778f130a00bbe2dbf1558806c0d68c54199` | Aurora MySQL | `aggregation` | 81 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `1c1e3f908558f49ab648d945d1f8a43da9c92de3c480785621738d2cd5049950` | DynamoDB | `key_scoped` | 76 | 80 | 77 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4e7d89f8106a7c76ea3e9facf62b078b974877a58a82592badbc002248c783bf` | Aurora MySQL | `utility` | 79 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `65f7884e6670d34fbefc85ff4977b07d421f3ff1ff9603e001ac2a7575b894ca` | DynamoDB | `key_scoped` | 76 | 80 | 77 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `661f1032dec43a60b7c3be412db57a6eefa8251ea50a68c5bca065b6db4724c0` | Aurora MySQL | `key_scoped` | 75 | 79 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |

### `wordpress.wp_comments`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(2 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

13 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `09513d199d428000ba329640fab04778f130a00bbe2dbf1558806c0d68c54199` | Aurora MySQL | `aggregation` | 81 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `19e8085f9593fd708942f6f18f918808f01597be3dd562297646e785e583b4a2` | Aurora MySQL | `key_scoped` | 75 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `3b49e12f48e00557f375e54b129269acc0f071fdd1858fc17645511e689420dc` | DynamoDB | `key_lookup` | 79 | 75 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4f2e27db25f4e21056244f37c0417b18eadcc826b5fd9b1a663c4fe91e126744` | Aurora MySQL | `key_scoped` | 75 | 78 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `5ae79e002ae4ab9da1c6dbda1ffe2fc14c7e557732c6ce9631d41b9ff377e8dd` | Aurora MySQL | `key_scoped` | 75 | 78 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `661f1032dec43a60b7c3be412db57a6eefa8251ea50a68c5bca065b6db4724c0` | Aurora MySQL | `key_scoped` | 75 | 79 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `6c018e097b5700f4e3f7f51310b48b024e4c2792143d51fa48b3bfc4564c65ce` | Aurora MySQL | `aggregation` | 81 | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `7346ea7e6380af233fc40e0fa6427d3f17efe5fe63447f048542e8ff95f6a406` | DynamoDB | `key_lookup` | 79 | 75 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `7bbaebf82fb7e67b8b3ffecae89c6bdfa7d64878141d173815fc371e94ffa39c` | Aurora MySQL | `key_scoped` | 75 | 78 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `7ebf84ab111bbc0d6f83fde78d7e195c120dd7686f89241e6478fefdd11d61ef` | Aurora MySQL | `utility` | 80 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `8c66eaee9125d49703cd068cdba72c305ac38bcbb8e1dab7f399e224cb40a7d6` | Aurora MySQL | `key_scoped` | 75 | 78 | 74 | gated: missing a capability the query needs | 0 |
| `c4c96b8d1b37a96003b1e899b0a8e69800ff41831a187d075c0b43f0e29a635e` | DynamoDB | `key_lookup` | 79 | 75 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `de9a7ba3598eaa8b41839c2fce3889985e5636fc7489653be3b59378bf4779da` | DynamoDB | `key_lookup` | 79 | 75 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |

### `wordpress.wp_options`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(4 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

8 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `216d92b3f4e7091a2aa00b97ff8d389edbc5c148efcbed8cd6a1c3e408206051` | DynamoDB | `key_lookup` | 58 | 75 | 93 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `413c99e446984db35e1e4e8f3952ddb966d21a85a898e88235b61d26ea096e60` | DynamoDB | `key_scoped` | 54 | 77 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `66c96f951dd01698438c1be2887ff2553664cb0b99c1a1b0108b18ca22dcb799` | DynamoDB | `key_lookup` | 58 | 75 | 88 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `6980a25f43b91abe03027ba84e6f12fdd67c8d30e0cf5b7a7170b6dd4a155663` | DynamoDB | `key_lookup` | 58 | 75 | 94 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `a0b2ec34c29b2c00dab429d577d33da63a619325a396e80103e08ac2b5b35c0f` | Aurora MySQL | `utility` | 75 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `a13f5749057b0212d61aea04e432898093305463ae027b79826082006cda7715` | DynamoDB | `key_lookup` | 58 | 75 | 93 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `ac34da34fb23498bd1392f02403e9dbdd0d28d3cfef236e6d3c4c6ffe6e82ad2` | DynamoDB | `key_lookup` | 58 | 74 | 92 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `e223aefb06f2d48303ad26d2ee9f8aa957286f08174a6e92a6e583544f8099f0` | DynamoDB | `key_lookup` | 58 | 75 | 92 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |

### `wordpress.wp_postmeta`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(5 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

17 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `119b7fbf3a2efd757e864dc02fa2b5a1b682049fe3a552f8f95d320c20b4de1e` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `126679dc6aaed0c3c05926ea8c60b79f6b00a518389064878c17fe74a60bef8e` | DynamoDB | `key_lookup` | 82 | 69 | 86 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `254f282ce4da5837c67df5f5d405e1ad3c405cee2c14420378bd8dfd0d86787c` | Aurora MySQL | `key_scoped` | 78 | 72 | 74 | gated: missing a capability the query needs | 0 |
| `2c0093ed0c4d5d818ba11723dd9b3f1b7f82cccf1a6f099e191073c0fd7af2dd` | DynamoDB | `key_scoped` | 78 | 72 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `33dfdb12166d9ed52a1196e6675d56c3462693b24a7dbb80463d3ce7d501152b` | DynamoDB | `key_scoped` | 78 | 72 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `34f3e7563d77a268cd5a48f3df9df7b43699795e2af79ef2d5a7ee8ffdd8f2d9` | Aurora MySQL | `utility` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `3dbc7d9a0824cce437bb7edcc8cad29bf671294799df354d121dce446e79d35d` | Aurora MySQL | `key_scoped` | 78 | 72 | 71 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4f02475439a75f33544c0e7e10e2bf4c53d82ed1edaba7da9437b4da2889dd64` | Aurora MySQL | `key_scoped` | 78 | 72 | 71 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `596b8fed2f640add448367fbe3da04f04438e083ea9eaed3acf935d2d643f64f` | DynamoDB | `key_lookup` | 82 | 70 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `6627d1bb151b93e93cfc9d5a31248fd13f36bf5b84c9ff0714c9822aa0d4b594` | Aurora MySQL | `key_scoped` | 78 | 72 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `71b98418d633c56095dc58d00755195b719d6e5fd513a24c2216c1f92fded7d6` | Aurora MySQL | `key_scoped` | 78 | 72 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `8bc823cb67ed85abd3c5f224b718c22304f8adf7970d5a2d652c0c8c7f3cb6f7` | Aurora MySQL | `key_scoped` | 75 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `a0b655ea2f80c5bc688a142e3e03956031de6a491787f4e8a847ae67c65fbef0` | Aurora MySQL | `aggregation` | 81 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `cb3300c6fc11f0dd851bbee427ed58a930926ea9b925a271e1699f5bc09814ee` | Aurora MySQL | `unanchored_join` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `ea7778dba09d12bdf18da33ac8afa62a59569bdad219b4bc65fa1a767c01de40` | DynamoDB | `key_scoped` | 78 | 72 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `f7de9a8110453cdec99eca2a5338e3bb03d437b409b8b22d7d02da54d9614915` | Aurora MySQL | `key_scoped` | 75 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `f86b4be6598d18fabc947fb1c716f6221a3620a687940154774728dbbc8ae730` | Aurora MySQL | `key_scoped` | 77 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |

### `wordpress.wp_posts`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(5 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

52 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `047e014629e23e0acd2ce23865fdf4b9eaf6a3e758de4731154eaedcfff471e2` | DynamoDB | `key_lookup` | 77 | 69 | 86 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `119b7fbf3a2efd757e864dc02fa2b5a1b682049fe3a552f8f95d320c20b4de1e` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `12f856eaf9281605faf126dd7926df918410651b368cf532ecdcf01da5fcf625` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `1cfc77aef96607706c761548e77858866f92af9b3438298f561dcf7d5985bf8e` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `214edb87c83db8545897614b3831eeab765103dccd023b451a3dd971dee4036a` | DynamoDB | `key_lookup` | 77 | 69 | 87 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `262f32b231ea64268fe70d0dcde3f4c89c93fba0c938e0eeff625df539eaaa97` | Aurora MySQL | `aggregation` | 79 | 66 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `2b97dbd810bb0a32199e8040cdcb5e0ac4ed40a7ad70d24c503c6d4d5a6e076b` | Aurora MySQL | `key_scoped` | 76 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `305e3eaabea8a6687e2a2e43e4d6f889742a7511a0666267880fd70c89d41efc` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `3440484f8b200bc76a5f5a513aabf6d2b4dbc0ea7917ebce457d5268d94bd290` | DynamoDB | `key_lookup` | 77 | 69 | 88 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `34b8682eed45cb3b81adfe16d9e14ba068fb1ab334f02f252491de1545c47f13` | Aurora MySQL | `key_scoped` | 73 | 71 | 71 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `367a0d78945b3925fd9ba59b05a6af5b9fccdb9c8e177ac1be48815b2771ce81` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `3d3b308b385cfc54b939406d23a85a0df689c48c05b5aa3ae901d382b5055d00` | Aurora MySQL | `key_scoped` | 73 | 71 | 42 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `3e64e58573576aeb5150564ce7a65fb0941edbaccfd133d070fcce5c71441a6b` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `3f9f6bab31e30e6cab0f93d7153b166e0e1a509e72b8099434729aae955182c8` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `445ec39b67db991f5f7d8f3a00a4873af0d9ae5186f32ced941f9a683399799e` | DynamoDB | `key_lookup` | 77 | 69 | 87 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `4b79d7a8be865f8758729140de11cba4dff2b0262c6b258523f6dac6e496720a` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `52da34b1e5fbf3bc61a81c08cf440630ccd96aa21066f7f52c68d4d76aad2867` | Aurora MySQL | `key_scoped` | 73 | 71 | 71 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `620879e270f6234f50eb8c2188653359be6486f86612d1678214adbf786102d8` | Aurora MySQL | `key_scoped` | 73 | 71 | 42 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `62118b26279d4f5aeadd94f2acdddc1627c7c99c632650020db012ea5c4016a7` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `72da3cb4f3c62e94f7de1c8210fbcf51de33edae08ff72757575835a5df6b4a9` | DynamoDB | `key_lookup` | 77 | 69 | 87 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `76a0890e96395f05b7755961d85296d7b26ad77483857c0fdb43749ca0b97f98` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `7b62184001103ac9e6f0c4677064c9cbde2fd4c70e17246b09808d5d98b2dc06` | Aurora MySQL | `key_scoped` | 73 | 71 | 41 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `8bc823cb67ed85abd3c5f224b718c22304f8adf7970d5a2d652c0c8c7f3cb6f7` | Aurora MySQL | `key_scoped` | 75 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `97834e68ad8550b0db33ca13d5b4d2f5ee6d56b1acbcd3374a1fefad234ca8ca` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `9e4d9a2633de302260ad6c30e33eadfb1190fbc869eeff4be1a117cd0cf9d191` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `a04f91e1851d03a61c0c0c1b05bf4177e76b841a7bae74c3258324c17dc633e3` | Aurora MySQL | `key_scoped` | 76 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `a082a58ecd0421ec8b916e2e412f8355795f965151174b7e6ab9f49e85abb29f` | Aurora MySQL | `key_scoped` | 76 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `a0b655ea2f80c5bc688a142e3e03956031de6a491787f4e8a847ae67c65fbef0` | Aurora MySQL | `aggregation` | 81 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `a0eaf5312a583fe93b56c8c694d81007ae5a0e79e2b713b1f7651d2bda0b73b5` | Aurora MySQL | `utility` | 81 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `a16f38a075908667a1aab1d7f82f64e9ab794bdda479af5cbf9e362947b8df2d` | DynamoDB | `key_lookup` | 77 | 69 | 87 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `a355b7403b1d39d90f3ff59ece2a00e0225bbbc7c3a9d3d755d3f0e8d001e077` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `a783694619352b153b690ccc07f9dae79c9caa43ecefcceae3d486fe49c7c1c8` | DynamoDB | `key_lookup` | 77 | 69 | 87 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `b08cef7a9c763dc4b4b224221efdd3884f1e9edfc4e16317b357437a227b5a0d` | Aurora MySQL | `key_scoped` | 73 | 71 | 72 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `bdb34acbf7457475074e149471fdc6bc72e5b6a072bfb25d9b1bf564db9bacc9` | Aurora MySQL | `key_scoped` | 77 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `be0d2e4c39889ce69ce1a879dac37cd4b33624200e3dea3599b72e1a3e82d3cf` | Aurora MySQL | `key_scoped` | 73 | 71 | 72 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `c186dff756b764e27eee24482997ec9f6bbcae891097580079dacad7b9c3ac30` | Aurora MySQL | `key_scoped` | 73 | 71 | 41 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `c674aa12b3665c30c5aefb1c6f96f35b8d71ffe95f6a4d2769632d53db421347` | Aurora MySQL | `key_scoped` | 73 | 71 | 42 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `cb3300c6fc11f0dd851bbee427ed58a930926ea9b925a271e1699f5bc09814ee` | Aurora MySQL | `unanchored_join` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `cb8ba3105ebeca9d3b9920e0bc1df2321af3e83ec91a8057f561a4a3a31aaebe` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `d4bf16d6ce4eb63d541be4f9536e2550869dcdb758b0b7a847c5dc63f832ed3c` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `d8ba7aa10cff6283c53efd73611a20ce4602f7d95d3aeda0c024df5fdd792223` | Aurora MySQL | `key_scoped` | 73 | 71 | 72 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `d987e55e2b6bf139b5e92619d338bee5c3b7a8b6712e447850586147660f7796` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `d99618ea3724cae0b2ef0dda96a021dda2c50c6b3ba3847b9ccf307ad044ec67` | Aurora MySQL | `aggregation` | 79 | 66 | gated: missing a capability the query needs | gated: missing a capability the query needs | 82 |
| `f1f4d1593d283ae809a910d7038e58c205f565385c79b9741d7c9f3ad3587cb7` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `f2a4e87e8f0ff10c09fe3286e6f8e830af809b48c7d5e57d4a4061299d0d022d` | DynamoDB | `key_lookup` | 77 | 69 | 87 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `f31a66f5fccd8126563191858969b6e77b580511e5ad989f745db08f5301dc86` | Aurora MySQL | `key_scoped` | 73 | 71 | 71 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `f7de9a8110453cdec99eca2a5338e3bb03d437b409b8b22d7d02da54d9614915` | Aurora MySQL | `key_scoped` | 75 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `f86b4be6598d18fabc947fb1c716f6221a3620a687940154774728dbbc8ae730` | Aurora MySQL | `key_scoped` | 77 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `fa687400c5fe6eda2b09e4d0c6dda70534ef7dd1b4471c5e7b0c09497a583cce` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `faa3737798fa780d112a14bb8327583e935a95ec81454f89a9ee9c2c95783f4e` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `fc99562bfa4be32418b08a3ab1ce8b7763f2bd698ff428782e9428a8fd6e3a98` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `fcfd82fa1ebbc5b4b8183186286a098a42227e04d4445edf00f0a8a0120bf675` | Aurora MySQL | `key_scoped` | 73 | 71 | 71 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |

### `wordpress.wp_term_relationships`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

10 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `0d20f1d9c2796cd4bc627005aa7b1b161388670e319a2498a1fbb858bece9e9a` | DynamoDB | `key_lookup` | 78 | 70 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `16167379c3b080bf08ee419a2e9b3c21caeb60753de10a07ba9817e4b8651578` | DynamoDB | `key_lookup` | 78 | 70 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `25e3c7550c3775ca1f60248bfbaefc90e027c17f4c54084860dccd6776fb8a16` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `3f9f6bab31e30e6cab0f93d7153b166e0e1a509e72b8099434729aae955182c8` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `4481cc0ca988374076baa83caa074ab5f9197db98fae7072c2cc068e0bdba8ba` | Aurora MySQL | `key_scoped` | 54 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `4b79d7a8be865f8758729140de11cba4dff2b0262c6b258523f6dac6e496720a` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `62118b26279d4f5aeadd94f2acdddc1627c7c99c632650020db012ea5c4016a7` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `97834e68ad8550b0db33ca13d5b4d2f5ee6d56b1acbcd3374a1fefad234ca8ca` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `d5ae7abb4fb5271f15a4193c025bb6c2bd745ff7e0806d140f89069876cd7ee7` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `f37cfe518f83669067b5e9c57f68ced43ba9175a37b7b64f1122a20a46d6bf2e` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |

### `wordpress.wp_term_taxonomy`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

17 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `00ee1373f11d94400cb6d8fa32bf8a9b450ccddf905aa83d5f93c03523483a40` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `22726c847fe8cd5d7e1319b92c714efec37473a9dcff46db1d34a7d2489f6722` | Aurora MySQL | `key_scoped` | 73 | 71 | 72 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `2389b8a0ec4470f207ccca39bd1d4fbea5a74b0664ee18b54f177ee6288b11cd` | Aurora MySQL | `key_scoped` | 73 | 71 | 72 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `25e3c7550c3775ca1f60248bfbaefc90e027c17f4c54084860dccd6776fb8a16` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `2a4b1b61361bc6b0f94452f62a10c9930991e0944a4f1b87498d061ed9052263` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `2a6398d3bfc6b034255e79b1959c217221cf1c2fa3deb01fe781c63fba872640` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `32562af3d1b5ad7a9fedfbf82ba69690eaf833ccf55634fe9ebfd4c0f2b4f9b0` | DynamoDB | `key_lookup` | 77 | 68 | 89 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `3f9f6bab31e30e6cab0f93d7153b166e0e1a509e72b8099434729aae955182c8` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `4481cc0ca988374076baa83caa074ab5f9197db98fae7072c2cc068e0bdba8ba` | Aurora MySQL | `key_scoped` | 54 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `4b79d7a8be865f8758729140de11cba4dff2b0262c6b258523f6dac6e496720a` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `4d51e982a77a3654c9f0273b1dff4fc8254e9bff8e832ef3c44a2aeef2c1e5e7` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4f9d2751c29cb0777dbc3770c92cc5b24381e9c2caf7d63978fff42f988642dc` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `966f5a331e5bea92b89330f26d7b09ef9a538cf47edf3fcec3070693566a405c` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `97834e68ad8550b0db33ca13d5b4d2f5ee6d56b1acbcd3374a1fefad234ca8ca` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `d5ae7abb4fb5271f15a4193c025bb6c2bd745ff7e0806d140f89069876cd7ee7` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `ec7cf9bbb12fedeb1d9f45392a80b97f6a2837465d7deb3aefaac9e392557671` | DynamoDB | `key_lookup` | 77 | 68 | 89 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `f37cfe518f83669067b5e9c57f68ced43ba9175a37b7b64f1122a20a46d6bf2e` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |

### `wordpress.wp_termmeta`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

5 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `3c5c8a793663a2b214fc0a46b8016d075a2462b371b5a21117ce8a4d517508d4` | DynamoDB | `key_scoped` | 57 | 72 | 76 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `4481cc0ca988374076baa83caa074ab5f9197db98fae7072c2cc068e0bdba8ba` | Aurora MySQL | `key_scoped` | 54 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `50b465673de32095cd10b0e635ae5ccda2d00157c0d9da77d556d45e7f6dd417` | DynamoDB | `key_scoped` | 57 | 72 | 76 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `a35498ec1aa88e4a99d9f05d0d9bbd508d654e1cc0618decbee3abc5bfe91f09` | Aurora MySQL | `utility` | 84 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `ee386e4a29973ed202a8880875d2a5f8f7656dfd04f8b9dd4e05c824021a0034` | DynamoDB | `key_scoped` | 57 | 72 | 76 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |

### `wordpress.wp_terms`

Owner: Aurora MySQL. No statement writes it, so it stays on Aurora MySQL, the plan's relational engine.

Also read by: none. Cached by: ElastiCache.

13 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `00ee1373f11d94400cb6d8fa32bf8a9b450ccddf905aa83d5f93c03523483a40` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `22726c847fe8cd5d7e1319b92c714efec37473a9dcff46db1d34a7d2489f6722` | Aurora MySQL | `key_scoped` | 73 | 71 | 72 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `2389b8a0ec4470f207ccca39bd1d4fbea5a74b0664ee18b54f177ee6288b11cd` | Aurora MySQL | `key_scoped` | 73 | 71 | 72 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `25e3c7550c3775ca1f60248bfbaefc90e027c17f4c54084860dccd6776fb8a16` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `2a4b1b61361bc6b0f94452f62a10c9930991e0944a4f1b87498d061ed9052263` | Aurora MySQL | `key_scoped` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `2a6398d3bfc6b034255e79b1959c217221cf1c2fa3deb01fe781c63fba872640` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4481cc0ca988374076baa83caa074ab5f9197db98fae7072c2cc068e0bdba8ba` | Aurora MySQL | `key_scoped` | 54 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `4d51e982a77a3654c9f0273b1dff4fc8254e9bff8e832ef3c44a2aeef2c1e5e7` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4f9d2751c29cb0777dbc3770c92cc5b24381e9c2caf7d63978fff42f988642dc` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `966f5a331e5bea92b89330f26d7b09ef9a538cf47edf3fcec3070693566a405c` | Aurora MySQL | `key_scoped` | 73 | 71 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `97834e68ad8550b0db33ca13d5b4d2f5ee6d56b1acbcd3374a1fefad234ca8ca` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `d5ae7abb4fb5271f15a4193c025bb6c2bd745ff7e0806d140f89069876cd7ee7` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `f37cfe518f83669067b5e9c57f68ced43ba9175a37b7b64f1122a20a46d6bf2e` | Aurora MySQL | `key_scoped` | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |

### `wordpress.wp_usermeta`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(2 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

10 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `2f81962855292f9c727319dddc53290b71dea6fb0340cf84c1a36a8e1cca2b8b` | DynamoDB | `key_lookup` | 82 | 75 | 88 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `3a74580ede1af2d6447d882da446239b1064a42d7fbc76a62fdd302fcd7c6091` | Aurora MySQL | `key_scoped` | 78 | 78 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `41b2f2d13bca108b52d8bd32b1c7758a9899a7be53f8a3454e95da3749ae3429` | DynamoDB | `key_scoped` | 78 | 78 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `4ef12cb63f5715f0892ced8670ee5337d1a39c30d8a7410cec692fdba3825243` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `4f645105c95a51966b535a644a371aac350235acdb50b4855a340f4a1fde0969` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `67fcc3ec34f56aa6c670d9c5e849827e07696f5ff695db4303f4a28ffd4d35e1` | Aurora MySQL | `key_scoped` | 78 | 78 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `b45d06557cf109a214531250ebb4aec8f146207aeb66395287c2623118f65858` | Aurora MySQL | `utility` | 82 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `daf3cf855699fb96d3c4974d9c89277010387a94f495cb2de7d6bcddf5c9a05b` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `eb232c6c81b36bf82cfe700754d27d27af81fb8240242c4c173b77a7c850eb3f` | Aurora MySQL | `key_scoped` | 78 | 78 | 73 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `f4fcc7f6ef237eb98ceebe18f53efbc90ce9cc76e15fc20c0010447b449a1987` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |

### `wordpress.wp_users`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(2 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

13 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `0e169d06137d542b00d30e043e3c372cdeffa73d5d2cd7821479e6f9816e651c` | DynamoDB | `key_lookup` | 79 | 75 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4ef12cb63f5715f0892ced8670ee5337d1a39c30d8a7410cec692fdba3825243` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `4f645105c95a51966b535a644a371aac350235acdb50b4855a340f4a1fde0969` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `54f7dab9bef57e4d049d992296bc5cca8a1de6bba15f853f6ac9e9fc14c0c97b` | Aurora MySQL | `utility` | 82 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `5da98ce7cdba2cdf5aef46ad7a56bb7c9b1b8a1c1cdd1a3165f207e4d7978300` | DynamoDB | `key_lookup` | 79 | 75 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `7a3e82dd4c58ee11a8d2b894875cacd4a8828a3e299efb4271b80730fc6a27b4` | Aurora MySQL | `key_scoped` | 75 | 78 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `8086e2e9a1cc4ad21461c417dee6c48acc1222dc57975f9d1d1c29f3cc00fd50` | Aurora MySQL | `key_scoped` | 75 | 78 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `80eefa4eceb1b34854e7a8d96e97b6dc8303d43231e1791c0b08629fd5d50bc2` | Aurora MySQL | `aggregation` | 81 | 73 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `a3eb3282c1f00966e30dec79d4d260b16aa3c4ddef449e64a31f9c8e360c35b2` | DynamoDB | `key_lookup` | 79 | 75 | 90 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `a423c74c9d7b52cc5f3b11852aea3eaea9bf55c83493d5d7f82434dd80c24f0d` | Aurora MySQL | `key_scoped` | 75 | 78 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `daf3cf855699fb96d3c4974d9c89277010387a94f495cb2de7d6bcddf5c9a05b` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `ed65b0b663c28fba275ae368d7b00dbd7f0ef1282a6a66d53f46f230aac30ceb` | DynamoDB | `key_lookup` | 79 | 75 | 89 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `f4fcc7f6ef237eb98ceebe18f53efbc90ce9cc76e15fc20c0010447b449a1987` | Aurora MySQL | `key_scoped` | 76 | 78 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |

### `wordpress.wp_wc_admin_notes`

Owner: Aurora MySQL. No statement writes it, so it stays on Aurora MySQL, the plan's relational engine.

Also read by: none. Cached by: none.

1 query touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `f6438457738a613affbd19c1fd9f0978267a39f263d529f02293f6a669e3789d` | Aurora MySQL | `aggregation` | 73 | 71 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |

### `wordpress.wp_wc_customer_lookup`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(2 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

4 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `3b1641a721e5d5517515ba4a0f74c3f1103a00924b61ffca964261ba02aaf244` | DynamoDB | `key_lookup` | 56 | 75 | 93 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `4a1aacca88fb2978f39c2330307408b0602a07246df5225360dce72bd89466ab` | Aurora MySQL | `utility` | 76 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `611079ff89c7fcbd01ed195b38f92d5b5961b531565b82b5e61f3d2730c78fa2` | DynamoDB | `key_lookup` | 56 | 75 | 93 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `ee8b8e2169a3ca339065e40d5a1841622a886351d25561f4ece1807ed3cdcbe2` | DynamoDB | `key_lookup` | 56 | 75 | 93 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |

### `wordpress.wp_wc_product_meta_lookup`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: none.

5 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `2b97dbd810bb0a32199e8040cdcb5e0ac4ed40a7ad70d24c503c6d4d5a6e076b` | Aurora MySQL | `key_scoped` | 76 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `a04f91e1851d03a61c0c0c1b05bf4177e76b841a7bae74c3258324c17dc633e3` | Aurora MySQL | `key_scoped` | 76 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `a082a58ecd0421ec8b916e2e412f8355795f965151174b7e6ab9f49e85abb29f` | Aurora MySQL | `key_scoped` | 76 | 74 | gated: missing a capability the query needs | gated: missing a capability the query needs | 0 |
| `d72966f83d952df8a90f3fe081c626f33c8722f24535a4522b54f2528d12918d` | DynamoDB | `key_lookup` | 84 | 76 | 89 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `f33fba2bc06e09310598d8ec1c8e79805064b1b47ae2d3d52d54634cdac4a019` | Aurora MySQL | `utility` | 90 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |

### `wordpress.wp_wc_reserved_stock`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: none.

2 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `77cd1ad742e2533743bbe7069a7a0a6a58076e5c1a9f9d057191504007e39d1d` | DynamoDB | `key_scoped` | 49 | 78 | 79 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `d1671227c280b76415519d9cd822726dceea9ec18daa5ef501d9a51b7a82e588` | Aurora MySQL | `utility` | 63 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |

### `wordpress.wp_wc_tax_rate_classes`

Owner: Aurora MySQL. No statement writes it, so it stays on Aurora MySQL, the plan's relational engine; DynamoDB reads a copy kept current from Aurora MySQL via CDC.

Also read by: DynamoDB. Cached by: ElastiCache.

1 query touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `329367a24ba84ce690000276ff2e3801ac2acef2858fbe113c0f6a3ba3893616` | DynamoDB | `reference_read` | 58 | 80 | 87 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |

### `wordpress.wp_woocommerce_api_keys`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: none.

3 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `0452bed28b31e64ae9294ddef1d5e82c3166557fd4c02b6e7d4140a11170af82` | DynamoDB | `key_lookup` | 58 | 74 | 89 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `1794daed36ce90ffb9eb06739fbec3cfb9bcf5edf81ee7ce3e74cce2ef520c26` | DynamoDB | `key_scoped` | 54 | 79 | 79 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `512f04288099c9814a913aae14c9aac9bfbdd56b82be78c7646704e9a0d185ce` | Aurora MySQL | `utility` | 69 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |

### `wordpress.wp_woocommerce_downloadable_product_permissions`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: none.

2 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `2264704d24f6a1bc3b1a3f8ca27ad5fb07c70dd98830b5e3f0fdb9b9852e8a17` | DynamoDB | `key_scoped` | 46 | 75 | 76 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `c81fa21d6b210e6a0a6e03fc3f5188d08c78938ac79a164758911b0ba05113fd` | Aurora MySQL | `utility` | 59 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |

### `wordpress.wp_woocommerce_order_itemmeta`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(2 statements\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

10 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `22cb9563dcf184336920b9e30c27109bd4c88f7ddb74e229ab5be6b1ba6185bc` | Aurora MySQL | `key_scoped` | 79 | 74 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `2caa2be1b7b5d3ef7d5dc9a6aba0f82df0e9b01383258d373dc93ee23147ba8a` | DynamoDB | `key_lookup` | 83 | 71 | 89 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `4b856e296129b8dcca701ba2561310f1d1f1768eb5986cc43d1edde63f937226` | DynamoDB | `key_scoped` | 79 | 74 | 75 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `519c47a0c8729eb1c2256dcfb3bf5253f2c809fdcd717d6920aa644981bac7b6` | Aurora MySQL | `utility` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `8485f0647490030c77563b65c57028d87eaf1845ab2aa7dbc11051f64057673d` | Aurora MySQL | `key_scoped` | 79 | 74 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `96ca58298ceb7de7aed37904ff9f915e55ee59c61b1e7aeb1057a4c41f77f084` | Aurora MySQL | `key_scoped` | 79 | 74 | 74 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `a355b7403b1d39d90f3ff59ece2a00e0225bbbc7c3a9d3d755d3f0e8d001e077` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `bdb34acbf7457475074e149471fdc6bc72e5b6a072bfb25d9b1bf564db9bacc9` | Aurora MySQL | `key_scoped` | 77 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `f86b4be6598d18fabc947fb1c716f6221a3620a687940154774728dbbc8ae730` | Aurora MySQL | `key_scoped` | 77 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `fc99562bfa4be32418b08a3ab1ce8b7763f2bd698ff428782e9428a8fd6e3a98` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |

### `wordpress.wp_woocommerce_order_items`

Owner: DynamoDB. DynamoDB takes every statement that writes it \(1 statement\); Aurora MySQL reads a copy kept current from DynamoDB via CDC.

Also read by: Aurora MySQL. Cached by: ElastiCache.

8 queries touch it:

| Query | Engine | Class | Aurora MySQL | DocumentDB | DynamoDB | ElastiCache | OpenSearch |
|---|---|---|---|---|---|---|---|
| `0d3bb4065d21d46495028590d9d60b849ab2ece165589a88c5cd863de3893835` | Aurora MySQL | `key_scoped` | 80 | 75 | 75 | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 |
| `119b7fbf3a2efd757e864dc02fa2b5a1b682049fe3a552f8f95d320c20b4de1e` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `674ead2f50a4d39f0a18fb235ba1ae5acb37da3fb07edbbda1795a933b37de7d` | DynamoDB | `key_lookup` | 84 | 73 | 92 | gated: cannot own a query that writes data (not used as a system of record in this plan) | gated: cannot own a query that writes data (not used as a system of record in this plan) |
| `a355b7403b1d39d90f3ff59ece2a00e0225bbbc7c3a9d3d755d3f0e8d001e077` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `b065d0f32c1e6491039cf7a3ed2b48bed98783293749e636139aa1883fe6eb11` | Aurora MySQL | `utility` | 86 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: missing a capability the query needs |
| `bdb34acbf7457475074e149471fdc6bc72e5b6a072bfb25d9b1bf564db9bacc9` | Aurora MySQL | `key_scoped` | 77 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `f86b4be6598d18fabc947fb1c716f6221a3620a687940154774728dbbc8ae730` | Aurora MySQL | `key_scoped` | 77 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |
| `fc99562bfa4be32418b08a3ab1ce8b7763f2bd698ff428782e9428a8fd6e3a98` | Aurora MySQL | `aggregation` | 83 | gated: missing a capability the query needs | gated: missing a capability the query needs | gated: ruled out for this kind of query | gated: missing a capability the query needs |

## Queries (163)

20 queries changed engine after the first assignment, 29 are close calls, 5 are exact ties a routing rule settled and 0 are still tied. Queries are in query id order.

### Query `00c3bcc18acdf03f064c4a7b52571e81e578d2ae2367ce7904205744c2ffe8c8`

- Tables: `wordpress.wp_commentmeta`
- Engine: DynamoDB, routed score 93
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(93\) after 1 routing step. Aurora MySQL was next at 80, 13 points behind DynamoDB \(93\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 80 | 80 | 80 | — | 98 | 0 | `wordpress.wp_commentmeta` 100 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_commentmeta` 95 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 93 | 93 | 100 | — | 99 | 0 | `wordpress.wp_commentmeta` 85 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 46 | 0 | — | 99 | 0 | `wordpress.wp_commentmeta` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_commentmeta` 0 / 0 | — |

Move history:

1. v1 move 78, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(93\), ahead of Aurora MySQL \(80\).

### Query `00ee1373f11d94400cb6d8fa32bf8a9b450ccddf905aa83d5f93c03523483a40`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_taxonomy)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB tied with Aurora MySQL at 73; the tie went to the engine compatible with the source database.
- Settled tie: the runner-up scored the same, and a routing rule decided

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 100 | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 160, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DynamoDB at 73; the tie went to the engine compatible with the source database.

### Query `0278ef630aad35db79d780cd92b66d45a9ef35980cfef327f7603fb84f92c510`

- Tables: `wordpress.wp_commentmeta`
- Engine: DynamoDB, routed score 77
- Access-pattern class: `key_scoped` (aggregate over the rows one key value of wp\_commentmeta addresses \(key wp\_commentmeta.comment\_id, wp\_commentmeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(77\) after 2 routing steps. Aurora MySQL was next at 76, 1 point behind DynamoDB \(77\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(80 against 77\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_commentmeta` 100 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 80 | 80 | 85 | — | 98 | 0 | `wordpress.wp_commentmeta` 95 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 77 | 77 | 75 | — | 100 | 0 | `wordpress.wp_commentmeta` 85 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_commentmeta` 100 / 35 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_commentmeta` 0 / 0 | — |

Move history:

1. v1 move 163, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(80\), ahead of DynamoDB \(77\).
2. v2 move 20, engine consolidated away (rule): DocumentDB to DynamoDB. Moved from DocumentDB to DynamoDB \(80 to 77\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `0452bed28b31e64ae9294ddef1d5e82c3166557fd4c02b6e7d4140a11170af82`

- Tables: `wordpress.wp_woocommerce_api_keys`
- Engine: DynamoDB, routed score 89
- Access-pattern class: `key_lookup` (one row of wp\_woocommerce\_api\_keys by its full unique key)
- Why: Ends on DynamoDB \(89\) after 1 routing step. Aurora MySQL was next at 58, 31 points behind DynamoDB \(89\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 80 | — | 98 | 20 (`no-relational-need`, `single-access-pattern-table`) | `wordpress.wp_woocommerce_api_keys` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 80 (parity anchor) | — | 69 | 0 | `wordpress.wp_woocommerce_api_keys` 90 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 89 | 89 | 100 | — | 42 | 0 | `wordpress.wp_woocommerce_api_keys` 95 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 46 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_api_keys` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_woocommerce_api_keys` 0 / 0 | — |

Move history:

1. v1 move 49, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(89\), ahead of DocumentDB \(74\).

### Query `047e014629e23e0acd2ce23865fdf4b9eaf6a3e758de4731154eaedcfff471e2`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 86
- Access-pattern class: `key_lookup` (one row of wp\_posts by its full unique key)
- Why: Ends on DynamoDB \(86\) after 1 routing step. Aurora MySQL was next at 77, 9 points behind DynamoDB \(86\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 86 | 86 | 100 | — | 81 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 53, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(86\), ahead of Aurora MySQL \(77\).

### Query `06584926ec16d35bcd9ad7d2351721be47c4216c1c3b543f1d151ce1f1dbb616`

- Tables: `wordpress.wp_actionscheduler_actions`
- Engine: Aurora MySQL, routed score 83
- Access-pattern class: `key_scoped` (rows of wp\_actionscheduler\_actions addressed by a non-unique key value \(key wp\_actionscheduler\_actions.hook, wp\_actionscheduler\_actions.status: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(83\) after 1 routing step. DynamoDB was next at 76, 7 points behind Aurora MySQL \(83\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | 70 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 80 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 83 | 83 | 85 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 90 / 60 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 76 | 76 | 75 | — | 94 | 0 | `wordpress.wp_actionscheduler_actions` 75 / 60 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 52 | 0 | — | 99 | 0 | `wordpress.wp_actionscheduler_actions` 95 / 70 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 70 | — |

Move history:

1. v1 move 151, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DocumentDB at 83; the tie went to the engine compatible with the source database.

### Query `09513d199d428000ba329640fab04778f130a00bbe2dbf1558806c0d68c54199`

- Tables: `wordpress.wp_commentmeta`, `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 81
- Access-pattern class: `aggregation` (groups rows and combines their values \(GROUP BY\))
- Why: Ends on Aurora MySQL \(81\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 81 | 81 | 85 | — | 98 | 0 | `wordpress.wp_commentmeta` 100 / 45; `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 75 | — | 98 | 0 | `wordpress.wp_commentmeta` 95 / 35; `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_commentmeta` 85 / 35; `wordpress.wp_comments` 70 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_commentmeta` 100 / 35; `wordpress.wp_comments` 90 / 35 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_commentmeta` 0 / 0; `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 19, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(78\).

### Query `0d20f1d9c2796cd4bc627005aa7b1b161388670e319a2498a1fbb858bece9e9a`

- Tables: `wordpress.wp_term_relationships`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (one row of wp\_term\_relationships by its full unique key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 78, 12 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 80 | — | 98 | 0 | `wordpress.wp_term_relationships` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 70 | 70 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_term_relationships` 60 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 100 | 0 | `wordpress.wp_term_relationships` 70 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_term_relationships` 85 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_term_relationships` 85 / 40 | — |

Move history:

1. v1 move 123, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(90\), ahead of Aurora MySQL \(78\).

### Query `0d3bb4065d21d46495028590d9d60b849ab2ece165589a88c5cd863de3893835`

- Tables: `wordpress.wp_woocommerce_order_items`
- Engine: Aurora MySQL, routed score 80
- Access-pattern class: `key_scoped` (rows of wp\_woocommerce\_order\_items addressed by a non-unique key value \(key wp\_woocommerce\_order\_items.order\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(80\) after 1 routing step. DynamoDB was next at 75, 5 points behind Aurora MySQL \(80\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 80 | 80 | 70 | — | 98 | 0 | `wordpress.wp_woocommerce_order_items` 95 / 70 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 85 | — | 98 | 0 | `wordpress.wp_woocommerce_order_items` 65 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 75 | 75 | 75 | — | 96 | 0 | `wordpress.wp_woocommerce_order_items` 75 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 48 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_order_items` 90 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_order_items` 0 / 0 | — |

Move history:

1. v1 move 77, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(80\), ahead of DocumentDB \(75\).

### Query `0e169d06137d542b00d30e043e3c372cdeffa73d5d2cd7821479e6f9816e651c`

- Tables: `wordpress.wp_users`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (one row of wp\_users by its full unique key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 79, 11 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 99 | 0 | `wordpress.wp_users` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_users` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 124, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(90\), ahead of Aurora MySQL \(79\).

### Query `119b7fbf3a2efd757e864dc02fa2b5a1b682049fe3a552f8f95d320c20b4de1e`

- Tables: `wordpress.wp_posts`, `wordpress.wp_postmeta`, `wordpress.wp_woocommerce_order_items`
- Engine: Aurora MySQL, routed score 83
- Access-pattern class: `aggregation` (aggregates rows no visible key anchors \(read from a digest the collector cut short, up to its last complete predicate; later predicates are not seen\))
- Why: Ends on Aurora MySQL \(83\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | 85 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_postmeta` 95 / 60; `wordpress.wp_woocommerce_order_items` 95 / 70 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 75 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_posts` 50 / 50; `wordpress.wp_postmeta` 55 / 50; `wordpress.wp_woocommerce_order_items` 65 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`, `frequent-full-scan`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_postmeta` 65 / 50; `wordpress.wp_woocommerce_order_items` 75 / 50 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_postmeta` 80 / 50; `wordpress.wp_woocommerce_order_items` 90 / 60 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_postmeta` 0 / 0; `wordpress.wp_woocommerce_order_items` 0 / 0 | — |

Move history:

1. v1 move 9, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `126679dc6aaed0c3c05926ea8c60b79f6b00a518389064878c17fe74a60bef8e`

- Tables: `wordpress.wp_postmeta`
- Engine: DynamoDB, routed score 86
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(86\) after 1 routing step. Aurora MySQL was next at 81.4 \(group mean\), 2.7 points behind DynamoDB \(84.1\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 82 | 82 | 80 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 86 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 86 | 86 | 100 | — | 68 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 27, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(84.1\).

### Query `12f856eaf9281605faf126dd7926df918410651b368cf532ecdcf01da5fcf625`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 51, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

### Query `16167379c3b080bf08ee419a2e9b3c21caeb60753de10a07ba9817e4b8651578`

- Tables: `wordpress.wp_term_relationships`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 78, 12 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 80 | — | 98 | 0 | `wordpress.wp_term_relationships` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 70 | 70 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_term_relationships` 60 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 100 | 0 | `wordpress.wp_term_relationships` 70 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_term_relationships` 85 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_term_relationships` 85 / 40 | — |

Move history:

1. v1 move 101, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(90\), ahead of Aurora MySQL \(78\).

### Query `1794daed36ce90ffb9eb06739fbec3cfb9bcf5edf81ee7ce3e74cce2ef520c26`

- Tables: `wordpress.wp_woocommerce_api_keys`
- Engine: DynamoDB, routed score 79
- Access-pattern class: `key_scoped` (rows of wp\_woocommerce\_api\_keys addressed by a non-unique key value \(key wp\_woocommerce\_api\_keys.consumer\_key: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(79\) after 2 routing steps. Aurora MySQL was next at 54, 25 points behind DynamoDB \(79\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 54 | 74 | 70 | — | 98 | 20 (`no-relational-need`, `single-access-pattern-table`) | `wordpress.wp_woocommerce_api_keys` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 79 | 79 | 85 | — | 98 | 0 | `wordpress.wp_woocommerce_api_keys` 90 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 79 | 79 | 75 | — | 97 | 0 | `wordpress.wp_woocommerce_api_keys` 95 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 46 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_api_keys` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_api_keys` 0 / 0 | — |

Move history:

1. v1 move 154, tie held for the customer's choice (rule): DynamoDB. DynamoDB tied with DocumentDB at 79; the engine already serving more of the settled workload holds it until the customer chooses.
2. v2 move 9, tie settled (rule): DynamoDB to DynamoDB. The tie with DocumentDB is settled: the query stays on DynamoDB.

### Query `19e8085f9593fd708942f6f18f918808f01597be3dd562297646e785e583b4a2`

- Tables: `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_comments addressed by a non-unique key value \(key wp\_comments.comment\_approved, wp\_comments.comment\_post\_id, wp\_comments.comment\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_comments` 70 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_comments` 90 / 35 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 84, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 10, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `1c1e3f908558f49ab648d945d1f8a43da9c92de3c480785621738d2cd5049950`

- Tables: `wordpress.wp_commentmeta`
- Engine: DynamoDB, routed score 77
- Access-pattern class: `key_scoped` (rows of wp\_commentmeta addressed by a non-unique key value \(key wp\_commentmeta.comment\_id, wp\_commentmeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(77\) after 2 routing steps. Aurora MySQL was next at 76, 1 point behind DynamoDB \(77\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(80 against 77\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_commentmeta` 100 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 80 | 80 | 85 | — | 98 | 0 | `wordpress.wp_commentmeta` 95 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 77 | 77 | 75 | — | 100 | 0 | `wordpress.wp_commentmeta` 85 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 46 | 0 | — | 99 | 0 | `wordpress.wp_commentmeta` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_commentmeta` 0 / 0 | — |

Move history:

1. v1 move 147, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(80\), ahead of DynamoDB \(77\).
2. v2 move 21, engine consolidated away (rule): DocumentDB to DynamoDB. Moved from DocumentDB to DynamoDB \(80 to 77\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `1cfc77aef96607706c761548e77858866f92af9b3438298f561dcf7d5985bf8e`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 144, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_password`: accepted: a key the redesign may assume for an equality filter
- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `1da3b85858a9927d081eff8b87ba3c7309c5a07590628fd6de787e47ce4b792e`

- Tables: `wordpress.wp_actionscheduler_actions`, `wordpress.wp_actionscheduler_groups`
- Engine: Aurora MySQL, routed score 81
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_actionscheduler\_actions)
- Why: Ends on Aurora MySQL \(81\) after 2 routing steps. DynamoDB was next at 75, 6 points behind Aurora MySQL \(81\).
- Scored higher: DocumentDB scored higher \(83 against 81\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 81 | 81 | 70 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 80; `wordpress.wp_actionscheduler_groups` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 83 | 83 | 85 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 90 / 60; `wordpress.wp_actionscheduler_groups` 95 / 55 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 75 | 75 | 75 | — | 81 | 0 | `wordpress.wp_actionscheduler_actions` 75 / 60; `wordpress.wp_actionscheduler_groups` 85 / 55 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 52 | 0 | — | 99 | 0 | `wordpress.wp_actionscheduler_actions` 95 / 70; `wordpress.wp_actionscheduler_groups` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 70; `wordpress.wp_actionscheduler_groups` 100 / 65 | — |

Move history:

1. v1 move 67, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(83\), ahead of Aurora MySQL \(81\).
2. v2 move 8, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(83 to 81\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `214edb87c83db8545897614b3831eeab765103dccd023b451a3dd971dee4036a`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 87
- Access-pattern class: `key_lookup` (one row of wp\_posts by its full unique key)
- Why: Ends on DynamoDB \(87\) after 1 routing step. Aurora MySQL was next at 77 \(group mean\), 10 points behind DynamoDB \(87\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 87 | 87 | 100 | — | 98 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 32, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(87\).

### Query `216d92b3f4e7091a2aa00b97ff8d389edbc5c148efcbed8cd6a1c3e408206051`

- Tables: `wordpress.wp_options`
- Engine: DynamoDB, routed score 93
- Access-pattern class: `key_lookup` (one row of wp\_options by its full unique key)
- Why: Ends on DynamoDB \(93\) after 1 routing step. Aurora MySQL was next at 58 \(group mean\), 34.4 points behind DynamoDB \(92.4\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 96 | 0 | `wordpress.wp_options` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 93 | 93 | 100 | — | 92 | 0 | `wordpress.wp_options` 85 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_options` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 25, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(92.4\).

### Query `2264704d24f6a1bc3b1a3f8ca27ad5fb07c70dd98830b5e3f0fdb9b9852e8a17`

- Tables: `wordpress.wp_woocommerce_downloadable_product_permissions`
- Engine: DynamoDB, routed score 76
- Access-pattern class: `key_scoped` (rows of wp\_woocommerce\_downloadable\_product\_permissions addressed by a non-unique key value \(key wp\_woocommerce\_downloadable\_product\_permissions.order\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(76\) after 1 routing step. Aurora MySQL was next at 46, 30 points behind DynamoDB \(76\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 46 | 66 | 70 | — | 98 | 20 (`no-relational-need`, `single-access-pattern-table`) | `wordpress.wp_woocommerce_downloadable_product_permissions` 80 / 25 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 85 | — | 98 | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 80 / 25 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 76 | 76 | 75 | — | 99 | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 80 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 39 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 90 / 15 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 0 / 0 | — |

Move history:

1. v1 move 131, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(76\), ahead of DocumentDB \(75\).

### Query `22726c847fe8cd5d7e1319b92c714efec37473a9dcff46db1d34a7d2489f6722`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_taxonomy \(key wp\_term\_taxonomy.taxonomy: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 72, 1 point behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 72 | 72 | 75 | — | 91 | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 86, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DynamoDB \(72\).

### Query `22cb9563dcf184336920b9e30c27109bd4c88f7ddb74e229ab5be6b1ba6185bc`

- Tables: `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 79
- Access-pattern class: `key_scoped` (rows of wp\_woocommerce\_order\_itemmeta addressed by a non-unique key value \(key wp\_woocommerce\_order\_itemmeta.meta\_key, wp\_woocommerce\_order\_itemmeta.order\_item\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(79\) after 1 routing step. DynamoDB was next at 74, 5 points behind Aurora MySQL \(79\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 70 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 85 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 95 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 45 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 73, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(79\), ahead of DocumentDB \(74\).

### Query `2389b8a0ec4470f207ccca39bd1d4fbea5a74b0664ee18b54f177ee6288b11cd`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_terms)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 72, 1 point behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 72 | 72 | 75 | — | 85 | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 72, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DynamoDB \(72\).

### Query `254f282ce4da5837c67df5f5d405e1ad3c405cee2c14420378bd8dfd0d86787c`

- Tables: `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (aggregate over the rows one key value of wp\_postmeta addresses \(key wp\_postmeta.meta\_key, wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 74, 4 points behind Aurora MySQL \(78\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 99 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_postmeta` 80 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 161, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(78\), ahead of DynamoDB \(74\).

### Query `25e3c7550c3775ca1f60248bfbaefc90e027c17f4c54084860dccd6776fb8a16`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`, `wordpress.wp_term_relationships`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_relationships, wp\_term\_taxonomy)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50; `wordpress.wp_term_relationships` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40; `wordpress.wp_term_relationships` 60 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40; `wordpress.wp_term_relationships` 70 / 40 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |

Move history:

1. v1 move 17, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `262f32b231ea64268fe70d0dcde3f4c89c93fba0c938e0eeff625df539eaaa97`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 79
- Access-pattern class: `aggregation` (groups rows and combines their values \(GROUP BY\))
- Why: Ends on Aurora MySQL \(79\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 85 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 66 | 66 | 75 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 102, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(79\), ahead of DocumentDB \(66\).

### Query `2a4b1b61361bc6b0f94452f62a10c9930991e0944a4f1b87498d061ed9052263`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (aggregate over a key-anchored join: every table reached by key from wp\_term\_taxonomy \(key wp\_term\_taxonomy.taxonomy: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 18, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `2a6398d3bfc6b034255e79b1959c217221cf1c2fa3deb01fe781c63fba872640`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_terms)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB tied with Aurora MySQL at 73; the tie went to the engine compatible with the source database.
- Settled tie: the runner-up scored the same, and a routing rule decided

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 100 | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 158, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DynamoDB at 73; the tie went to the engine compatible with the source database.

### Query `2b97dbd810bb0a32199e8040cdcb5e0ac4ed40a7ad70d24c503c6d4d5a6e076b`

- Tables: `wordpress.wp_posts`, `wordpress.wp_wc_product_meta_lookup`
- Engine: Aurora MySQL, routed score 76
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_posts \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(76\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_wc_product_meta_lookup` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50; `wordpress.wp_wc_product_meta_lookup` 80 / 45 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50; `wordpress.wp_wc_product_meta_lookup` 65 / 45 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_wc_product_meta_lookup` 85 / 55 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50; `wordpress.wp_wc_product_meta_lookup` 0 / 0 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 91, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(76\), ahead of DocumentDB \(74\).

### Query `2c0093ed0c4d5d818ba11723dd9b3f1b7f82cccf1a6f099e191073c0fd7af2dd`

- Tables: `wordpress.wp_postmeta`
- Engine: DynamoDB, routed score 74
- Access-pattern class: `key_scoped` (rows of wp\_postmeta addressed by a non-unique key value \(key wp\_postmeta.meta\_key, wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(74\) after 1 routing step. Aurora MySQL was next at 81.4 \(group mean\), 2.7 points behind DynamoDB \(84.1\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 99 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 29, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(84.1\).

### Query `2caa2be1b7b5d3ef7d5dc9a6aba0f82df0e9b01383258d373dc93ee23147ba8a`

- Tables: `wordpress.wp_woocommerce_order_itemmeta`
- Engine: DynamoDB, routed score 89
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(89\) after 1 routing step. Aurora MySQL was next at 82.6 \(group mean\), 5.1 points behind DynamoDB \(87.7\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | 80 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 80 (parity anchor) | — | 92 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 89 | 89 | 100 | — | 82 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 45 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 43, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(87.7\).

### Query `2f81962855292f9c727319dddc53290b71dea6fb0340cf84c1a36a8e1cca2b8b`

- Tables: `wordpress.wp_usermeta`
- Engine: DynamoDB, routed score 88
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(88\) after 1 routing step. Aurora MySQL was next at 81.5 \(group mean\), 4.5 points behind DynamoDB \(86\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 82 | 82 | 80 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 94 | 0 | `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 88 | 88 | 100 | — | 88 | 0 | `wordpress.wp_usermeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_usermeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 37, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(86\).

### Query `305e3eaabea8a6687e2a2e43e4d6f889742a7511a0666267880fd70c89d41efc`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 136, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `32562af3d1b5ad7a9fedfbf82ba69690eaf833ccf55634fe9ebfd4c0f2b4f9b0`

- Tables: `wordpress.wp_term_taxonomy`
- Engine: DynamoDB, routed score 89
- Access-pattern class: `key_lookup` (one row of wp\_term\_taxonomy by its full unique key)
- Why: Ends on DynamoDB \(89\) after 1 routing step. Aurora MySQL was next at 77, 12 points behind DynamoDB \(89\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 68 | 68 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 89 | 89 | 100 | — | 100 | 0 | `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 41 | 0 | — | 99 | 0 | `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 148, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(89\), ahead of Aurora MySQL \(77\).

### Query `329367a24ba84ce690000276ff2e3801ac2acef2858fbe113c0f6a3ba3893616`

- Tables: `wordpress.wp_wc_tax_rate_classes`
- Engine: DynamoDB, routed score 87
- Access-pattern class: `reference_read` (reads all of wp\_wc\_tax\_rate\_classes, a small table \(2 rows\), with no predicate)
- Why: Ends on DynamoDB \(87\) after 1 routing step. Aurora MySQL was next at 58, 29 points behind DynamoDB \(87\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 85 | — | 98 | 20 (`no-relational-need`, `single-access-pattern-table`) | `wordpress.wp_wc_tax_rate_classes` 100 / 25 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 80 | 80 | 85 (parity anchor) | — | 98 | 0 | `wordpress.wp_wc_tax_rate_classes` 100 / 25 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 87 | 87 | 90 | — | 75 | 0; fixable: `frequent-full-scan` | `wordpress.wp_wc_tax_rate_classes` 100 / 25 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_wc_tax_rate_classes` 100 / 25 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_wc_tax_rate_classes` 0 / 0 | — |

Move history:

1. v1 move 83, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(87\), ahead of DocumentDB \(80\).

### Query `33dfdb12166d9ed52a1196e6675d56c3462693b24a7dbb80463d3ce7d501152b`

- Tables: `wordpress.wp_postmeta`
- Engine: DynamoDB, routed score 74
- Access-pattern class: `key_scoped` (rows of wp\_postmeta addressed by a non-unique key value \(key wp\_postmeta.meta\_key, wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(74\) after 1 routing step. Aurora MySQL was next at 81.4 \(group mean\), 2.7 points behind DynamoDB \(84.1\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 99 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 30, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(84.1\).

### Query `3440484f8b200bc76a5f5a513aabf6d2b4dbc0ea7917ebce457d5268d94bd290`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 88
- Access-pattern class: `key_lookup` (one row of wp\_posts by its full unique key)
- Why: Ends on DynamoDB \(88\) after 1 routing step. Aurora MySQL was next at 77, 11 points behind DynamoDB \(88\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 88 | 88 | 100 | — | 100 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 128, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(88\), ahead of Aurora MySQL \(77\).

### Query `34b8682eed45cb3b81adfe16d9e14ba068fb1ab334f02f252491de1545c47f13`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_name, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 71, 2 points behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 71 | 71 | 75 | — | 99 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 94, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `34f3e7563d77a268cd5a48f3df9df7b43699795e2af79ef2d5a7ee8ffdd8f2d9`

- Tables: `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 83, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | — | — | — | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_postmeta` 55 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_postmeta` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_postmeta` 80 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 80, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(83\).
2. v1 move 167, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `367a0d78945b3925fd9ba59b05a6af5b9fccdb9c8e177ac1be48815b2771ce81`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 79, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `3a5af258b286c55a86defe9dc509fee3e199c02019eb8faa10ce2d072ee1427a`

- Tables: none
- Engine: Aurora MySQL, routed score 52, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 52 | 52 | — | — | — | 0 | — | — |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |

Move history:

1. v1 move 149, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(52\).
2. v1 move 181, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `3a74580ede1af2d6447d882da446239b1064a42d7fbc76a62fdd302fcd7c6091`

- Tables: `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (rows of wp\_usermeta addressed by a non-unique key value \(key wp\_usermeta.user\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 73, 5 points behind Aurora MySQL \(78\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 94 | 0 | `wordpress.wp_usermeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_usermeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 150, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DocumentDB at 78; the tie went to the engine compatible with the source database.

### Query `3b1641a721e5d5517515ba4a0f74c3f1103a00924b61ffca964261ba02aaf244`

- Tables: `wordpress.wp_wc_customer_lookup`
- Engine: DynamoDB, routed score 93
- Access-pattern class: `key_lookup` (one row of wp\_wc\_customer\_lookup by its full unique key)
- Why: Ends on DynamoDB \(93\) after 1 routing step. Aurora MySQL was next at 56, 37 points behind DynamoDB \(93\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 56 | 76 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_wc_customer_lookup` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_wc_customer_lookup` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 93 | 93 | 100 | — | 100 | 0 | `wordpress.wp_wc_customer_lookup` 80 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_wc_customer_lookup` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_wc_customer_lookup` 0 / 0 | — |

Move history:

1. v1 move 125, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(93\), ahead of DocumentDB \(75\).

### Query `3b49e12f48e00557f375e54b129269acc0f071fdd1858fc17645511e689420dc`

- Tables: `wordpress.wp_comments`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (one row of wp\_comments by its full unique key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 79, 11 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 100 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_comments` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 120, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(90\), ahead of Aurora MySQL \(79\).

### Query `3c5c8a793663a2b214fc0a46b8016d075a2462b371b5a21117ce8a4d517508d4`

- Tables: `wordpress.wp_termmeta`
- Engine: DynamoDB, routed score 76
- Access-pattern class: `key_scoped` (rows of wp\_termmeta addressed by a non-unique key value \(key wp\_termmeta.meta\_key, wp\_termmeta.term\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(76\) after 1 routing step. Aurora MySQL was next at 57, 19 points behind DynamoDB \(76\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 57 | 77 | 70 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_termmeta` 100 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_termmeta` 60 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 76 | 76 | 75 | — | 98 | 0 | `wordpress.wp_termmeta` 80 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_termmeta` 85 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_termmeta` 0 / 0 | — |

Move history:

1. v1 move 121, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(76\), ahead of DocumentDB \(72\).

### Query `3d3b308b385cfc54b939406d23a85a0df689c48c05b5aa3ae901d382b5055d00`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 42, 31 points behind Aurora MySQL \(73\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 42 | 72 | 75 | — | 100 | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 135, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `3dbc7d9a0824cce437bb7edcc8cad29bf671294799df354d121dce446e79d35d`

- Tables: `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (rows of wp\_postmeta addressed by a non-unique key value \(key wp\_postmeta.meta\_key, wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 71, 7 points behind Aurora MySQL \(78\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 71 | 71 | 75 | — | 77 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 48, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(78\), ahead of DocumentDB \(72\).

### Query `3e64e58573576aeb5150564ce7a65fb0941edbaccfd133d070fcce5c71441a6b`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 129, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_password`: accepted: a key the redesign may assume for an equality filter
- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `3f9f6bab31e30e6cab0f93d7153b166e0e1a509e72b8099434729aae955182c8`

- Tables: `wordpress.wp_posts`, `wordpress.wp_term_relationships`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_taxonomy)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_term_relationships` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_posts` 50 / 50; `wordpress.wp_term_relationships` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_term_relationships` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 6, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `413c99e446984db35e1e4e8f3952ddb966d21a85a898e88235b61d26ea096e60`

- Tables: `wordpress.wp_options`
- Engine: DynamoDB, routed score 74
- Access-pattern class: `key_scoped` (rows of wp\_options addressed by a non-unique key value \(key wp\_options.autoload: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(74\) after 2 routing steps. Aurora MySQL was next at 54, 20 points behind DynamoDB \(74\).
- Scored higher: DocumentDB scored higher \(77 against 74\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 54 | 74 | 70 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 77 | 77 | 85 | — | 98 | 0 | `wordpress.wp_options` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 60 | 0 | `wordpress.wp_options` 85 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_options` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 57, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(77\), ahead of DynamoDB \(74\).
2. v2 move 4, engine consolidated away (rule): DocumentDB to DynamoDB. Moved from DocumentDB to DynamoDB \(77 to 74\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `41b2f2d13bca108b52d8bd32b1c7758a9899a7be53f8a3454e95da3749ae3429`

- Tables: `wordpress.wp_usermeta`
- Engine: DynamoDB, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_usermeta addressed by a non-unique key value \(key wp\_usermeta.meta\_key, wp\_usermeta.user\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(73\) after 1 routing step. Aurora MySQL was next at 81.5 \(group mean\), 4.5 points behind DynamoDB \(86\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 98 | 0 | `wordpress.wp_usermeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_usermeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 38, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(86\).

### Query `445ec39b67db991f5f7d8f3a00a4873af0d9ae5186f32ced941f9a683399799e`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 87
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(87\) after 1 routing step. Aurora MySQL was next at 77 \(group mean\), 10 points behind DynamoDB \(87\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 87 | 87 | 100 | — | 99 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 35, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(87\).

### Query `4481cc0ca988374076baa83caa074ab5f9197db98fae7072c2cc068e0bdba8ba`

- Tables: `wordpress.wp_terms`, `wordpress.wp_termmeta`, `wordpress.wp_term_taxonomy`, `wordpress.wp_term_relationships`
- Engine: Aurora MySQL, routed score 54
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_relationships, wp\_term\_taxonomy, wp\_termmeta)
- Why: Ends on Aurora MySQL \(54\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 54 | 74 | 70 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_terms` 90 / 50; `wordpress.wp_termmeta` 100 / 50; `wordpress.wp_term_taxonomy` 85 / 50; `wordpress.wp_term_relationships` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_terms` 60 / 40; `wordpress.wp_termmeta` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40; `wordpress.wp_term_relationships` 60 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_termmeta` 80 / 40; `wordpress.wp_term_taxonomy` 65 / 40; `wordpress.wp_term_relationships` 70 / 40 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_termmeta` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_terms` 100 / 40; `wordpress.wp_termmeta` 0 / 0; `wordpress.wp_term_taxonomy` 95 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |

Move history:

1. v1 move 14, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `4a1aacca88fb2978f39c2330307408b0602a07246df5225360dce72bd89466ab`

- Tables: `wordpress.wp_wc_customer_lookup`
- Engine: Aurora MySQL, routed score 76, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | — | — | — | 0 | `wordpress.wp_wc_customer_lookup` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_customer_lookup` 80 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_customer_lookup` 80 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_customer_lookup` 90 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_customer_lookup` 0 / 0 | — |

Move history:

1. v1 move 99, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(76\).
2. v1 move 176, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `4b79d7a8be865f8758729140de11cba4dff2b0262c6b258523f6dac6e496720a`

- Tables: `wordpress.wp_posts`, `wordpress.wp_term_relationships`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_taxonomy)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_term_relationships` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_posts` 50 / 50; `wordpress.wp_term_relationships` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50; `wordpress.wp_term_relationships` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 7, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `4b856e296129b8dcca701ba2561310f1d1f1768eb5986cc43d1edde63f937226`

- Tables: `wordpress.wp_woocommerce_order_itemmeta`
- Engine: DynamoDB, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_woocommerce\_order\_itemmeta addressed by a non-unique key value \(key wp\_woocommerce\_order\_itemmeta.meta\_key, wp\_woocommerce\_order\_itemmeta.order\_item\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(75\) after 1 routing step. Aurora MySQL was next at 82.6 \(group mean\), 5.1 points behind DynamoDB \(87.7\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 70 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 85 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 75 | 75 | 75 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 45 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 44, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(87.7\).

### Query `4d51e982a77a3654c9f0273b1dff4fc8254e9bff8e832ef3c44a2aeef2c1e5e7`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_taxonomy, wp\_terms)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB tied with Aurora MySQL at 73; the tie went to the engine compatible with the source database.
- Settled tie: the runner-up scored the same, and a routing rule decided

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 100 | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 159, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DynamoDB at 73; the tie went to the engine compatible with the source database.

### Query `4e7d89f8106a7c76ea3e9facf62b078b974877a58a82592badbc002248c783bf`

- Tables: `wordpress.wp_commentmeta`
- Engine: Aurora MySQL, routed score 79, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | — | — | — | 0 | `wordpress.wp_commentmeta` 100 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_commentmeta` 95 / 35 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_commentmeta` 85 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_commentmeta` 100 / 35 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_commentmeta` 0 / 0 | — |

Move history:

1. v1 move 114, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(79\).
2. v1 move 180, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `4ef12cb63f5715f0892ced8670ee5337d1a39c30d8a7410cec692fdba3825243`

- Tables: `wordpress.wp_users`, `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 76
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_usermeta \(key wp\_usermeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(76\) after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.
- Scored higher: DocumentDB scored higher \(78 against 76\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_users` 85 / 60; `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_users` 75 / 50; `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 65 / 50; `wordpress.wp_usermeta` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 80 / 50; `wordpress.wp_usermeta` 80 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50; `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 63, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(76\).
2. v2 move 6, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 76\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `4f02475439a75f33544c0e7e10e2bf4c53d82ed1edaba7da9437b4da2889dd64`

- Tables: `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (rows of wp\_postmeta addressed by a non-unique key value \(key wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 71, 7 points behind Aurora MySQL \(78\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 71 | 71 | 75 | — | 78 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 47, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(78\), ahead of DocumentDB \(72\).

### Query `4f2e27db25f4e21056244f37c0417b18eadcc826b5fd9b1a663c4fe91e126744`

- Tables: `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_comments addressed by a non-unique key value \(key wp\_comments.comment\_author\_email, wp\_comments.comment\_parent, wp\_comments.comment\_post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB was next at 74, 1 point behind Aurora MySQL \(75\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 100 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_comments` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 143, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 18, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

Key candidates:

- `wp_comments.comment_author`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_comments.comment_content`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `4f645105c95a51966b535a644a371aac350235acdb50b4855a340f4a1fde0969`

- Tables: `wordpress.wp_users`, `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 76
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_usermeta \(key wp\_usermeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(76\) after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.
- Scored higher: DocumentDB scored higher \(78 against 76\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_users` 85 / 60; `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_users` 75 / 50; `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 65 / 50; `wordpress.wp_usermeta` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 80 / 50; `wordpress.wp_usermeta` 80 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50; `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 60, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(76\).
2. v2 move 5, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 76\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `4f9d2751c29cb0777dbc3770c92cc5b24381e9c2caf7d63978fff42f988642dc`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_taxonomy, wp\_terms \(key wp\_term\_taxonomy.taxonomy, wp\_terms.slug: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB tied with Aurora MySQL at 73; the tie went to the engine compatible with the source database.
- Settled tie: the runner-up scored the same, and a routing rule decided

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 99 | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 156, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DynamoDB at 73; the tie went to the engine compatible with the source database.

### Query `50b465673de32095cd10b0e635ae5ccda2d00157c0d9da77d556d45e7f6dd417`

- Tables: `wordpress.wp_termmeta`
- Engine: DynamoDB, routed score 76
- Access-pattern class: `key_scoped` (rows of wp\_termmeta addressed by a non-unique key value \(key wp\_termmeta.term\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(76\) after 1 routing step. Aurora MySQL was next at 57, 19 points behind DynamoDB \(76\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 57 | 77 | 70 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_termmeta` 100 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_termmeta` 60 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 76 | 76 | 75 | — | 99 | 0 | `wordpress.wp_termmeta` 80 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_termmeta` 85 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_termmeta` 0 / 0 | — |

Move history:

1. v1 move 113, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(76\), ahead of DocumentDB \(72\).

### Query `512f04288099c9814a913aae14c9aac9bfbdd56b82be78c7646704e9a0d185ce`

- Tables: `wordpress.wp_woocommerce_api_keys`
- Engine: Aurora MySQL, routed score 69, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 69 | 69 | — | — | — | 0 | `wordpress.wp_woocommerce_api_keys` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_api_keys` 90 / 35 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_api_keys` 95 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_api_keys` 100 / 35 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_api_keys` 0 / 0 | — |

Move history:

1. v1 move 55, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(69\).
2. v1 move 165, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `519c47a0c8729eb1c2256dcfb3bf5253f2c809fdcd717d6920aa644981bac7b6`

- Tables: `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 83, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | — | — | — | 0 | `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 85, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(83\).
2. v1 move 169, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `52da34b1e5fbf3bc61a81c08cf440630ccd96aa21066f7f52c68d4d76aad2867`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 71, 2 points behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 71 | 71 | 75 | — | 94 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 71, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_posts.post_title`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `54f7dab9bef57e4d049d992296bc5cca8a1de6bba15f853f6ac9e9fc14c0c97b`

- Tables: `wordpress.wp_users`
- Engine: Aurora MySQL, routed score 82, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 82 | 82 | — | — | — | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_users` 75 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_users` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_users` 80 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 107, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(82\).
2. v1 move 178, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `59163c184972d1ec4ad95106a5fc20c95d19dd06d071f956bf50e0c51ce12bdf`

- Tables: `wordpress.wp_actionscheduler_actions`, `wordpress.wp_actionscheduler_groups`
- Engine: Aurora MySQL, routed score 81
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_actionscheduler\_actions, wp\_actionscheduler\_groups \(key wp\_actionscheduler\_actions.claim\_id, wp\_actionscheduler\_actions.hook, wp\_actionscheduler\_actions.status, wp\_actionscheduler\_groups.slug: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(81\) after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.
- Scored higher: DocumentDB scored higher \(83 against 81\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 81 | 81 | 70 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 80; `wordpress.wp_actionscheduler_groups` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 83 | 83 | 85 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 90 / 60; `wordpress.wp_actionscheduler_groups` 95 / 55 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_actionscheduler_actions` 75 / 60; `wordpress.wp_actionscheduler_groups` 85 / 55 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_actionscheduler_actions` 95 / 70; `wordpress.wp_actionscheduler_groups` 100 / 65 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 70; `wordpress.wp_actionscheduler_groups` 100 / 65 | — |

Move history:

1. v1 move 45, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(83\), ahead of Aurora MySQL \(81\).
2. v2 move 1, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(83 to 81\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `596b8fed2f640add448367fbe3da04f04438e083ea9eaed3acf935d2d643f64f`

- Tables: `wordpress.wp_postmeta`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (one row of wp\_postmeta by its full unique key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 81.4 \(group mean\), 2.7 points behind DynamoDB \(84.1\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 82 | 82 | 80 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 70 | 70 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 100 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 31, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(84.1\).

### Query `5ae79e002ae4ab9da1c6dbda1ffe2fc14c7e557732c6ce9631d41b9ff377e8dd`

- Tables: `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_comments addressed by a non-unique key value \(key wp\_comments.comment\_post\_id, wp\_comments.comment\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB was next at 74, 1 point behind Aurora MySQL \(75\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 100 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_comments` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 134, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 17, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `5da98ce7cdba2cdf5aef46ad7a56bb7c9b1b8a1c1cdd1a3165f207e4d7978300`

- Tables: `wordpress.wp_users`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 79 \(group mean\), 11 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 100 | 0 | `wordpress.wp_users` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_users` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 40, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(90\).

### Query `611079ff89c7fcbd01ed195b38f92d5b5961b531565b82b5e61f3d2730c78fa2`

- Tables: `wordpress.wp_wc_customer_lookup`
- Engine: DynamoDB, routed score 93
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(93\) after 1 routing step. Aurora MySQL was next at 56 \(group mean\), 37 points behind DynamoDB \(93\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 56 | 76 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_wc_customer_lookup` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_wc_customer_lookup` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 93 | 93 | 100 | — | 99 | 0 | `wordpress.wp_wc_customer_lookup` 80 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_wc_customer_lookup` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_wc_customer_lookup` 0 / 0 | — |

Move history:

1. v1 move 41, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(93\).

### Query `620879e270f6234f50eb8c2188653359be6486f86612d1678214adbf786102d8`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_name, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 42, 31 points behind Aurora MySQL \(73\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 42 | 72 | 75 | — | 100 | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 137, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for a branch of an OR of equalities: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `62118b26279d4f5aeadd94f2acdddc1627c7c99c632650020db012ea5c4016a7`

- Tables: `wordpress.wp_term_relationships`, `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (aggregate over a key-anchored join: every table reached by key from wp\_posts, wp\_term\_relationships)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_term_relationships` 90 / 50; `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_term_relationships` 60 / 40; `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_term_relationships` 70 / 40; `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 16, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `65f7884e6670d34fbefc85ff4977b07d421f3ff1ff9603e001ac2a7575b894ca`

- Tables: `wordpress.wp_commentmeta`
- Engine: DynamoDB, routed score 77
- Access-pattern class: `key_scoped` (rows of wp\_commentmeta addressed by a non-unique key value \(key wp\_commentmeta.comment\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(77\) after 2 routing steps. Aurora MySQL was next at 76, 1 point behind DynamoDB \(77\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(80 against 77\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_commentmeta` 100 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 80 | 80 | 85 | — | 98 | 0 | `wordpress.wp_commentmeta` 95 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 77 | 77 | 75 | — | 100 | 0 | `wordpress.wp_commentmeta` 85 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 46 | 0 | — | 99 | 0 | `wordpress.wp_commentmeta` 100 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_commentmeta` 0 / 0 | — |

Move history:

1. v1 move 110, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(80\), ahead of DynamoDB \(77\).
2. v2 move 12, engine consolidated away (rule): DocumentDB to DynamoDB. Moved from DocumentDB to DynamoDB \(80 to 77\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `661f1032dec43a60b7c3be412db57a6eefa8251ea50a68c5bca065b6db4724c0`

- Tables: `wordpress.wp_commentmeta`, `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (aggregate over a key-anchored join: every table reached by key from wp\_commentmeta, wp\_comments \(key wp\_commentmeta.meta\_key, wp\_comments.comment\_approved, wp\_comments.comment\_post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_commentmeta` 100 / 45; `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 79 | 79 | 85 | — | 98 | 0 | `wordpress.wp_commentmeta` 95 / 35; `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_commentmeta` 85 / 35; `wordpress.wp_comments` 70 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_commentmeta` 100 / 35; `wordpress.wp_comments` 90 / 35 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_commentmeta` 0 / 0; `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 20, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(78\).

### Query `6627d1bb151b93e93cfc9d5a31248fd13f36bf5b84c9ff0714c9822aa0d4b594`

- Tables: `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (rows of wp\_postmeta addressed by a non-unique key value \(key wp\_postmeta.meta\_key, wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 74, 4 points behind Aurora MySQL \(78\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 100 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 118, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(78\), ahead of DynamoDB \(74\).

### Query `66c96f951dd01698438c1be2887ff2553664cb0b99c1a1b0108b18ca22dcb799`

- Tables: `wordpress.wp_options`
- Engine: DynamoDB, routed score 88
- Access-pattern class: `key_lookup` (one row of wp\_options by its full unique key)
- Why: Ends on DynamoDB \(88\) after 1 routing step. Aurora MySQL was next at 58, 30 points behind DynamoDB \(88\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 96 | 0 | `wordpress.wp_options` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 88 | 88 | 100 | — | 37 | 0 | `wordpress.wp_options` 85 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_options` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 46, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(88\), ahead of DocumentDB \(75\).

### Query `674ead2f50a4d39f0a18fb235ba1ae5acb37da3fb07edbbda1795a933b37de7d`

- Tables: `wordpress.wp_woocommerce_order_items`
- Engine: DynamoDB, routed score 92
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(92\) after 1 routing step. Aurora MySQL was next at 84, 8 points behind DynamoDB \(92\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 84 | 84 | 80 | — | 98 | 0 | `wordpress.wp_woocommerce_order_items` 95 / 70 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 73 | 73 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_woocommerce_order_items` 65 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 92 | 92 | 100 | — | 98 | 0 | `wordpress.wp_woocommerce_order_items` 75 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 48 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_order_items` 90 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_order_items` 0 / 0 | — |

Move history:

1. v1 move 62, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(92\), ahead of Aurora MySQL \(84\).

### Query `67fcc3ec34f56aa6c670d9c5e849827e07696f5ff695db4303f4a28ffd4d35e1`

- Tables: `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (rows of wp\_usermeta addressed by a non-unique key value \(key wp\_usermeta.user\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 73, 5 points behind Aurora MySQL \(78\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 95 | 0 | `wordpress.wp_usermeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_usermeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 153, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DocumentDB at 78; the tie went to the engine compatible with the source database.

### Query `68b75de2bd1bba434ddd42e76804623d41efa87a7a210df795c0459e548d083d`

- Tables: `wordpress.wp_actionscheduler_groups`
- Engine: Aurora MySQL, routed score 80
- Access-pattern class: `key_scoped` (rows of wp\_actionscheduler\_groups addressed by a non-unique key value \(key wp\_actionscheduler\_groups.slug: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(80\) after 2 routing steps. DynamoDB was next at 78, 2 points behind Aurora MySQL \(80\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(84 against 80\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 80 | 80 | 70 | — | 98 | 0 | `wordpress.wp_actionscheduler_groups` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 84 | 84 | 85 | — | 98 | 0 | `wordpress.wp_actionscheduler_groups` 95 / 55 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 78 | 78 | 75 | — | 99 | 0 | `wordpress.wp_actionscheduler_groups` 85 / 55 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 52 | 0 | — | 99 | 0 | `wordpress.wp_actionscheduler_groups` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_actionscheduler_groups` 100 / 65 | — |

Move history:

1. v1 move 126, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(84\), ahead of Aurora MySQL \(80\).
2. v2 move 14, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(84 to 80\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `6980a25f43b91abe03027ba84e6f12fdd67c8d30e0cf5b7a7170b6dd4a155663`

- Tables: `wordpress.wp_options`
- Engine: DynamoDB, routed score 94
- Access-pattern class: `key_lookup` (one row of wp\_options by its full unique key)
- Why: Ends on DynamoDB \(94\) after 1 routing step. Aurora MySQL was next at 58 \(group mean\), 34.4 points behind DynamoDB \(92.4\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_options` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 94 | 94 | 100 | — | 100 | 0 | `wordpress.wp_options` 85 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_options` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 26, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(92.4\).

### Query `6c018e097b5700f4e3f7f51310b48b024e4c2792143d51fa48b3bfc4564c65ce`

- Tables: `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 81
- Access-pattern class: `aggregation` (groups rows and combines their values \(GROUP BY\))
- Why: Ends on Aurora MySQL \(81\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 81 | 81 | 85 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 73 | 73 | 75 | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_comments` 70 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_comments` 90 / 35 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 140, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(81\), ahead of DocumentDB \(73\).

### Query `71b98418d633c56095dc58d00755195b719d6e5fd513a24c2216c1f92fded7d6`

- Tables: `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (rows of wp\_postmeta addressed by a non-unique key value \(key wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 73, 5 points behind Aurora MySQL \(78\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 89 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 58, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(78\), ahead of DynamoDB \(73\).

### Query `72da3cb4f3c62e94f7de1c8210fbcf51de33edae08ff72757575835a5df6b4a9`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 87
- Access-pattern class: `key_lookup` (one row of wp\_posts by its full unique key)
- Why: Ends on DynamoDB \(87\) after 1 routing step. Aurora MySQL was next at 77 \(group mean\), 10 points behind DynamoDB \(87\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 87 | 87 | 100 | — | 99 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 36, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(87\).

### Query `7346ea7e6380af233fc40e0fa6427d3f17efe5fe63447f048542e8ff95f6a406`

- Tables: `wordpress.wp_comments`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (one row of wp\_comments by its full unique key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 79, 11 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 99 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_comments` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 115, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(90\), ahead of Aurora MySQL \(79\).

### Query `76a0890e96395f05b7755961d85296d7b26ad77483857c0fdb43749ca0b97f98`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 75, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

### Query `77cd1ad742e2533743bbe7069a7a0a6a58076e5c1a9f9d057191504007e39d1d`

- Tables: `wordpress.wp_wc_reserved_stock`
- Engine: DynamoDB, routed score 79
- Access-pattern class: `key_scoped` (rows of wp\_wc\_reserved\_stock addressed by a non-unique key value)
- Why: Ends on DynamoDB \(79\) after 1 routing step. Aurora MySQL was next at 49, 30 points behind DynamoDB \(79\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 49 | 69 | 70 | — | 98 | 20 (`no-relational-need`, `single-access-pattern-table`) | `wordpress.wp_wc_reserved_stock` 90 / 25 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_wc_reserved_stock` 90 / 25 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 79 | 79 | 75 | — | 99 | 0 | `wordpress.wp_wc_reserved_stock` 95 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_wc_reserved_stock` 100 / 15 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_wc_reserved_stock` 0 / 0 | — |

Move history:

1. v1 move 138, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(79\), ahead of DocumentDB \(78\).

### Query `7a3e82dd4c58ee11a8d2b894875cacd4a8828a3e299efb4271b80730fc6a27b4`

- Tables: `wordpress.wp_users`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_users addressed by a non-unique key value \(key wp\_users.user\_nicename: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB was next at 74, 1 point behind Aurora MySQL \(75\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 100 | 0 | `wordpress.wp_users` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_users` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 119, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 13, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `7b62184001103ac9e6f0c4677064c9cbde2fd4c70e17246b09808d5d98b2dc06`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_name, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 41, 32 points behind Aurora MySQL \(73\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 41 | 71 | 75 | — | 99 | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 106, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `7bbaebf82fb7e67b8b3ffecae89c6bdfa7d64878141d173815fc371e94ffa39c`

- Tables: `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_comments addressed by a non-unique key value \(key wp\_comments.comment\_approved, wp\_comments.comment\_author\_email: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB was next at 74, 1 point behind Aurora MySQL \(75\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 100 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_comments` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 145, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 19, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

Key candidates:

- `wp_comments.comment_author`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `7ead756f0ea0ffe5cb6550cacd3b5efa6f65539d8a3cfb37dc66346a3ff2ad3f`

- Tables: `wordpress.wp_actionscheduler_actions`
- Engine: DynamoDB, routed score 92
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(92\) after 1 routing step. Aurora MySQL was next at 87, 5 points behind DynamoDB \(92\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 87 | 87 | 80 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 80 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 81 | 81 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 90 / 60 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 92 | 92 | 100 | — | 99 | 0 | `wordpress.wp_actionscheduler_actions` 75 / 60 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 52 | 0 | — | 99 | 0 | `wordpress.wp_actionscheduler_actions` 95 / 70 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_actionscheduler_actions` 100 / 70 | — |

Move history:

1. v1 move 65, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(92\), ahead of Aurora MySQL \(87\).

### Query `7ebf84ab111bbc0d6f83fde78d7e195c120dd7686f89241e6478fefdd11d61ef`

- Tables: `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 80, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 80 | 80 | — | — | — | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_comments` 85 / 35 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_comments` 70 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_comments` 90 / 35 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 81, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(80\).
2. v1 move 168, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `8086e2e9a1cc4ad21461c417dee6c48acc1222dc57975f9d1d1c29f3cc00fd50`

- Tables: `wordpress.wp_users`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_users addressed by a non-unique key value \(key wp\_users.user\_email: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB was next at 74, 1 point behind Aurora MySQL \(75\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 100 | 0 | `wordpress.wp_users` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_users` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 130, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 15, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `80eefa4eceb1b34854e7a8d96e97b6dc8303d43231e1791c0b08629fd5d50bc2`

- Tables: `wordpress.wp_users`
- Engine: Aurora MySQL, routed score 81
- Access-pattern class: `aggregation` (aggregate over wp\_users with no anchoring key)
- Why: Ends on Aurora MySQL \(81\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 81 | 81 | 85 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 73 | 73 | 75 | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`, `frequent-full-scan`) | `wordpress.wp_users` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_users` 80 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 109, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(81\), ahead of DocumentDB \(73\).

### Query `8485f0647490030c77563b65c57028d87eaf1845ab2aa7dbc11051f64057673d`

- Tables: `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 79
- Access-pattern class: `key_scoped` (rows of wp\_woocommerce\_order\_itemmeta addressed by a non-unique key value \(key wp\_woocommerce\_order\_itemmeta.order\_item\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(79\) after 1 routing step. DynamoDB was next at 74, 5 points behind Aurora MySQL \(79\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 70 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 85 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 88 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 45 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 61, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(79\), ahead of DocumentDB \(74\).

### Query `8bc823cb67ed85abd3c5f224b718c22304f8adf7970d5a2d652c0c8c7f3cb6f7`

- Tables: `wordpress.wp_posts`, `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_postmeta, wp\_posts \(key wp\_postmeta.meta\_key, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50; `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_postmeta` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_postmeta` 80 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50; `wordpress.wp_postmeta` 0 / 0 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 8, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_postmeta.meta_value`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `8c66eaee9125d49703cd068cdba72c305ac38bcbb8e1dab7f399e224cb40a7d6`

- Tables: `wordpress.wp_comments`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (aggregate over the rows one key value of wp\_comments addresses \(key wp\_comments.comment\_approved, wp\_comments.comment\_post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB was next at 74, 1 point behind Aurora MySQL \(75\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 99 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_comments` 90 / 35 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 162, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 11, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `91603b5bf10532c65d3876110eb2d65dcfa43b79f682739496d60ed82a9071ad`

- Tables: `wordpress.wp_actionscheduler_logs`
- Engine: Aurora MySQL, routed score 64, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 64 | 64 | — | — | — | 0 | `wordpress.wp_actionscheduler_logs` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_actionscheduler_logs` 90 / 35 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_actionscheduler_logs` 95 / 45 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_actionscheduler_logs` 100 / 25 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_actionscheduler_logs` 0 / 0 | — |

Move history:

1. v1 move 89, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(64\).
2. v1 move 172, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `9438ed54a7afc46837cd821ba15c7ed80b577191d387f314e3dc5c87a236011a`

- Tables: `wordpress.wp_actionscheduler_actions`
- Engine: Aurora MySQL, routed score 83
- Access-pattern class: `key_scoped` (rows of wp\_actionscheduler\_actions addressed by a non-unique key value \(key wp\_actionscheduler\_actions.args, wp\_actionscheduler\_actions.hook, wp\_actionscheduler\_actions.status: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(83\) after 1 routing step. DynamoDB was next at 76, 7 points behind Aurora MySQL \(83\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | 70 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 80 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 83 | 83 | 85 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 90 / 60 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 76 | 76 | 75 | — | 100 | 0 | `wordpress.wp_actionscheduler_actions` 75 / 60 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 52 | 0 | — | 99 | 0 | `wordpress.wp_actionscheduler_actions` 95 / 70 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_actionscheduler_actions` 100 / 70 | — |

Move history:

1. v1 move 157, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DocumentDB at 83; the tie went to the engine compatible with the source database.

### Query `966f5a331e5bea92b89330f26d7b09ef9a538cf47edf3fcec3070693566a405c`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_taxonomy, wp\_terms \(key wp\_term\_taxonomy.taxonomy, wp\_terms.name: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB tied with Aurora MySQL at 73; the tie went to the engine compatible with the source database.
- Settled tie: the runner-up scored the same, and a routing rule decided

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 98 | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 155, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DynamoDB at 73; the tie went to the engine compatible with the source database.

### Query `96ca58298ceb7de7aed37904ff9f915e55ee59c61b1e7aeb1057a4c41f77f084`

- Tables: `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 79
- Access-pattern class: `key_scoped` (rows of wp\_woocommerce\_order\_itemmeta addressed by a non-unique key value \(key wp\_woocommerce\_order\_itemmeta.order\_item\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(79\) after 1 routing step. DynamoDB was next at 74, 5 points behind Aurora MySQL \(79\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 70 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 85 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 93 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 45 | 0 | — | 99 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 69, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(79\), ahead of DocumentDB \(74\).

### Query `97834e68ad8550b0db33ca13d5b4d2f5ee6d56b1acbcd3374a1fefad234ca8ca`

- Tables: `wordpress.wp_posts`, `wordpress.wp_term_relationships`, `wordpress.wp_term_taxonomy`, `wordpress.wp_terms`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_posts, wp\_terms \(key wp\_posts.post\_type, wp\_terms.slug: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_term_relationships` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50; `wordpress.wp_terms` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_posts` 50 / 50; `wordpress.wp_term_relationships` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40; `wordpress.wp_terms` 60 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_term_relationships` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40; `wordpress.wp_terms` 70 / 40 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50; `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40; `wordpress.wp_terms` 85 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_term_relationships` 85 / 40; `wordpress.wp_term_taxonomy` 95 / 40; `wordpress.wp_terms` 100 / 40 | — |

Move history:

1. v1 move 5, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_posts.post_password`: accepted: a key the redesign may assume for an equality filter
- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_posts.post_title`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `9e4d9a2633de302260ad6c30e33eadfb1190fbc869eeff4be1a117cd0cf9d191`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 74, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

### Query `a04f91e1851d03a61c0c0c1b05bf4177e76b841a7bae74c3258324c17dc633e3`

- Tables: `wordpress.wp_posts`, `wordpress.wp_wc_product_meta_lookup`
- Engine: Aurora MySQL, routed score 76
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_posts \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(76\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_wc_product_meta_lookup` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50; `wordpress.wp_wc_product_meta_lookup` 80 / 45 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50; `wordpress.wp_wc_product_meta_lookup` 65 / 45 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_wc_product_meta_lookup` 85 / 55 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50; `wordpress.wp_wc_product_meta_lookup` 0 / 0 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 92, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(76\), ahead of DocumentDB \(74\).

### Query `a082a58ecd0421ec8b916e2e412f8355795f965151174b7e6ab9f49e85abb29f`

- Tables: `wordpress.wp_posts`, `wordpress.wp_wc_product_meta_lookup`
- Engine: Aurora MySQL, routed score 76
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_posts \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(76\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_wc_product_meta_lookup` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50; `wordpress.wp_wc_product_meta_lookup` 80 / 45 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50; `wordpress.wp_wc_product_meta_lookup` 65 / 45 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_wc_product_meta_lookup` 85 / 55 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50; `wordpress.wp_wc_product_meta_lookup` 0 / 0 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 97, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(76\), ahead of DocumentDB \(74\).

### Query `a0b2ec34c29b2c00dab429d577d33da63a619325a396e80103e08ac2b5b35c0f`

- Tables: `wordpress.wp_options`
- Engine: Aurora MySQL, routed score 75, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | — | — | — | 0 | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_options` 80 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_options` 85 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_options` 90 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 54, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(75\).
2. v1 move 164, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `a0b655ea2f80c5bc688a142e3e03956031de6a491787f4e8a847ae67c65fbef0`

- Tables: `wordpress.wp_posts`, `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 81
- Access-pattern class: `aggregation` (aggregates rows no visible key anchors \(read from a digest the collector cut short, up to its last complete predicate; later predicates are not seen\))
- Why: Ends on Aurora MySQL \(81\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 81 | 81 | 85 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 75 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_posts` 50 / 50; `wordpress.wp_postmeta` 55 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`, `frequent-full-scan`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_postmeta` 65 / 50 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_postmeta` 80 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 1, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `a0eaf5312a583fe93b56c8c694d81007ae5a0e79e2b713b1f7651d2bda0b73b5`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 81, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 81 | 81 | — | — | — | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_posts` 50 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_posts` 90 / 50 | — |

Move history:

1. v1 move 76, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(81\).
2. v1 move 166, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `a13f5749057b0212d61aea04e432898093305463ae027b79826082006cda7715`

- Tables: `wordpress.wp_options`
- Engine: DynamoDB, routed score 93
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(93\) after 1 routing step. Aurora MySQL was next at 58 \(group mean\), 34.4 points behind DynamoDB \(92.4\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 95 | 0 | `wordpress.wp_options` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 93 | 93 | 100 | — | 89 | 0 | `wordpress.wp_options` 85 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_options` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 23, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(92.4\).

### Query `a16f38a075908667a1aab1d7f82f64e9ab794bdda479af5cbf9e362947b8df2d`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 87
- Access-pattern class: `key_lookup` (one row of wp\_posts by its full unique key)
- Why: Ends on DynamoDB \(87\) after 1 routing step. Aurora MySQL was next at 77, 10 points behind DynamoDB \(87\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 87 | 87 | 100 | — | 98 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 90, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(87\), ahead of Aurora MySQL \(77\).

### Query `a35498ec1aa88e4a99d9f05d0d9bbd508d654e1cc0618decbee3abc5bfe91f09`

- Tables: `wordpress.wp_termmeta`
- Engine: Aurora MySQL, routed score 84, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 84 | 84 | — | — | — | 0 | `wordpress.wp_termmeta` 100 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_termmeta` 60 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_termmeta` 80 / 40 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_termmeta` 85 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_termmeta` 0 / 0 | — |

Move history:

1. v1 move 98, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(84\).
2. v1 move 175, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `a355b7403b1d39d90f3ff59ece2a00e0225bbbc7c3a9d3d755d3f0e8d001e077`

- Tables: `wordpress.wp_posts`, `wordpress.wp_woocommerce_order_items`, `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 83
- Access-pattern class: `aggregation` (groups rows and combines their values \(GROUP BY\))
- Why: Ends on Aurora MySQL \(83\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | 85 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_woocommerce_order_items` 95 / 70; `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 50 / 50; `wordpress.wp_woocommerce_order_items` 65 / 50; `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_woocommerce_order_items` 75 / 50; `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_woocommerce_order_items` 90 / 60; `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | 90 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_woocommerce_order_items` 0 / 0; `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 11, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_woocommerce_order_items.order_item_type`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `a3eb3282c1f00966e30dec79d4d260b16aa3c4ddef449e64a31f9c8e360c35b2`

- Tables: `wordpress.wp_users`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (one row of wp\_users by its full unique key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 79 \(group mean\), 11 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 99 | 0 | `wordpress.wp_users` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_users` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 39, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(90\).

### Query `a423c74c9d7b52cc5f3b11852aea3eaea9bf55c83493d5d7f82434dd80c24f0d`

- Tables: `wordpress.wp_users`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (rows of wp\_users addressed by a non-unique key value \(key wp\_users.user\_login: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 2 routing steps. DynamoDB was next at 74, 1 point behind Aurora MySQL \(75\).
- Close call: the runner-up is less than 5 points behind
- Scored higher: DocumentDB scored higher \(78 against 75\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 74 | 74 | 75 | — | 100 | 0 | `wordpress.wp_users` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_users` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 133, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(75\).
2. v2 move 16, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 75\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `a72b965922848d2b5f697f9c499411910581b77921bbc4deaa2dc2e9473e937f`

- Tables: none
- Engine: Aurora MySQL, routed score 52, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 52 | 52 | — | — | — | 0 | — | — |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 40 (`wildcard-search`) | — | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 40 (`wildcard-search`) | — | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |

Move history:

1. v1 move 112, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(52\).
2. v1 move 179, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `a783694619352b153b690ccc07f9dae79c9caa43ecefcceae3d486fe49c7c1c8`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 87
- Access-pattern class: `key_lookup` (one row of wp\_posts by its full unique key)
- Why: Ends on DynamoDB \(87\) after 1 routing step. Aurora MySQL was next at 77 \(group mean\), 10 points behind DynamoDB \(87\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 87 | 87 | 100 | — | 98 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 33, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(87\).

### Query `aa03c2037717e28d98980196814b2660db8c01aea7e0bd1d22848257c316403e`

- Tables: none
- Engine: Aurora MySQL, routed score 52
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL \(52\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 52 | 52 | — | — | — | 0 | — | — |
| DocumentDB | 43 | 43 | — | — | — | 0 | — | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | — | — |
| OpenSearch | 0 | 0 | — | — | — | 0 | — | — |

Move history:

1. v1 move 111, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(52\), ahead of DocumentDB \(43\).

### Query `ac34da34fb23498bd1392f02403e9dbdd0d28d3cfef236e6d3c4c6ffe6e82ad2`

- Tables: `wordpress.wp_options`
- Engine: DynamoDB, routed score 92
- Access-pattern class: `key_lookup` (one row of wp\_options by its full unique key)
- Why: Ends on DynamoDB \(92\) after 1 routing step. Aurora MySQL was next at 58 \(group mean\), 34.4 points behind DynamoDB \(92.4\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 74 | 74 | 80 (parity anchor) | — | 91 | 0 | `wordpress.wp_options` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 92 | 92 | 100 | — | 79 | 0 | `wordpress.wp_options` 85 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_options` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 24, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(92.4\).

### Query `b05af520688a1a5f54ba51896e5a079d05fde97ea81aa1f8618c9eed2e8e6212`

- Tables: `wordpress.wp_actionscheduler_logs`
- Engine: DynamoDB, routed score 96
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(96\) after 1 routing step. Aurora MySQL was next at 55, 41 points behind DynamoDB \(96\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 55 | 75 | 80 | — | 98 | 20 (`no-relational-need`, `single-access-pattern-table`) | `wordpress.wp_actionscheduler_logs` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 77 | 77 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_actionscheduler_logs` 90 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 96 | 96 | 100 | — | 99 | 0 | `wordpress.wp_actionscheduler_logs` 95 / 45 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_actionscheduler_logs` 100 / 25 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_actionscheduler_logs` 0 / 0 | — |

Move history:

1. v1 move 70, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(96\), ahead of DocumentDB \(77\).

### Query `b065d0f32c1e6491039cf7a3ed2b48bed98783293749e636139aa1883fe6eb11`

- Tables: `wordpress.wp_woocommerce_order_items`
- Engine: Aurora MySQL, routed score 86, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 86 | 86 | — | — | — | 0 | `wordpress.wp_woocommerce_order_items` 95 / 70 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_items` 65 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_items` 75 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_items` 90 / 60 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_order_items` 0 / 0 | — |

Move history:

1. v1 move 93, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(86\).
2. v1 move 173, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `b08cef7a9c763dc4b4b224221efdd3884f1e9edfc4e16317b357437a227b5a0d`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 72, 1 point behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 72 | 72 | 75 | — | 100 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 146, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DynamoDB \(72\).

Key candidates:

- `wp_posts.post_content`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_posts.post_title`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `b45d06557cf109a214531250ebb4aec8f146207aeb66395287c2623118f65858`

- Tables: `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 82, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 82 | 82 | — | — | — | 0 | `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_usermeta` 75 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_usermeta` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_usermeta` 80 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 100, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(82\).
2. v1 move 177, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `bdb34acbf7457475074e149471fdc6bc72e5b6a072bfb25d9b1bf564db9bacc9`

- Tables: `wordpress.wp_posts`, `wordpress.wp_woocommerce_order_items`, `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 77
- Access-pattern class: `key_scoped` (aggregate over a key-anchored join: every table reached by key from wp\_posts, wp\_woocommerce\_order\_itemmeta \(key wp\_posts.post\_type, wp\_woocommerce\_order\_itemmeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(77\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_woocommerce_order_items` 95 / 70; `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 0 | `wordpress.wp_posts` 50 / 50; `wordpress.wp_woocommerce_order_items` 65 / 50; `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_woocommerce_order_items` 75 / 50; `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_woocommerce_order_items` 90 / 60; `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_woocommerce_order_items` 0 / 0; `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 12, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_woocommerce_order_items.order_item_type`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `be0d2e4c39889ce69ce1a879dac37cd4b33624200e3dea3599b72e1a3e82d3cf`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 72, 1 point behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 72 | 72 | 75 | — | 100 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 117, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DynamoDB \(72\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `c186dff756b764e27eee24482997ec9f6bbcae891097580079dacad7b9c3ac30`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_name, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 41, 32 points behind Aurora MySQL \(73\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 41 | 71 | 75 | — | 99 | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 108, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `c4c96b8d1b37a96003b1e899b0a8e69800ff41831a187d075c0b43f0e29a635e`

- Tables: `wordpress.wp_comments`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (one row of wp\_comments by its full unique key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 79 \(group mean\), 11 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 100 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_comments` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 22, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(90\).

### Query `c674aa12b3665c30c5aefb1c6f96f35b8d71ffe95f6a4d2769632d53db421347`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_name, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 42, 31 points behind Aurora MySQL \(73\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 42 | 72 | 75 | — | 100 | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 132, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for a branch of an OR of equalities: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `c81fa21d6b210e6a0a6e03fc3f5188d08c78938ac79a164758911b0ba05113fd`

- Tables: `wordpress.wp_woocommerce_downloadable_product_permissions`
- Engine: Aurora MySQL, routed score 59, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 59 | 59 | — | — | — | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 80 / 25 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 80 / 25 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 80 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 90 / 15 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_woocommerce_downloadable_product_permissions` 0 / 0 | — |

Move history:

1. v1 move 88, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(59\).
2. v1 move 171, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `cb3300c6fc11f0dd851bbee427ed58a930926ea9b925a271e1699f5bc09814ee`

- Tables: `wordpress.wp_posts`, `wordpress.wp_postmeta`
- Engine: Aurora MySQL, routed score 83
- Access-pattern class: `unanchored_join` (joins tables with no visible key path \(read from a digest the collector cut short, up to its last complete predicate; later predicates are not seen\))
- Why: Ends on Aurora MySQL \(83\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | 90 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 0 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_posts` 50 / 50; `wordpress.wp_postmeta` 55 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 20 (`frequent-full-scan`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_postmeta` 65 / 50 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_postmeta` 80 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 4, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `cb8ba3105ebeca9d3b9920e0bc1df2321af3e83ec91a8057f561a4a3a31aaebe`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 116, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

### Query `d1671227c280b76415519d9cd822726dceea9ec18daa5ef501d9a51b7a82e588`

- Tables: `wordpress.wp_wc_reserved_stock`
- Engine: Aurora MySQL, routed score 63, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 63 | 63 | — | — | — | 0 | `wordpress.wp_wc_reserved_stock` 90 / 25 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_reserved_stock` 90 / 25 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_reserved_stock` 95 / 35 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_reserved_stock` 100 / 15 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_reserved_stock` 0 / 0 | — |

Move history:

1. v1 move 96, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(63\).
2. v1 move 174, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `d4bf16d6ce4eb63d541be4f9536e2550869dcdb758b0b7a847c5dc63f832ed3c`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_parent, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 95, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `d5ae7abb4fb5271f15a4193c025bb6c2bd745ff7e0806d140f89069876cd7ee7`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`, `wordpress.wp_term_relationships`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_relationships, wp\_term\_taxonomy)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50; `wordpress.wp_term_relationships` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40; `wordpress.wp_term_relationships` 60 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40; `wordpress.wp_term_relationships` 70 / 40 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |

Move history:

1. v1 move 13, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `d72966f83d952df8a90f3fe081c626f33c8722f24535a4522b54f2528d12918d`

- Tables: `wordpress.wp_wc_product_meta_lookup`
- Engine: DynamoDB, routed score 89
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(89\) after 1 routing step. Aurora MySQL was next at 84, 5 points behind DynamoDB \(89\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 84 | 84 | 80 | — | 98 | 0 | `wordpress.wp_wc_product_meta_lookup` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 76 | 76 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_wc_product_meta_lookup` 80 / 45 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 89 | 89 | 100 | — | 97 | 0 | `wordpress.wp_wc_product_meta_lookup` 65 / 45 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 46 | 0 | — | 99 | 0 | `wordpress.wp_wc_product_meta_lookup` 85 / 55 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_wc_product_meta_lookup` 0 / 0 | — |

Move history:

1. v1 move 56, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(89\), ahead of Aurora MySQL \(84\).

### Query `d8ba7aa10cff6283c53efd73611a20ce4602f7d95d3aeda0c024df5fdd792223`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_parent, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 72, 1 point behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 72 | 72 | 75 | — | 100 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 122, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DynamoDB \(72\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `d987e55e2b6bf139b5e92619d338bee5c3b7a8b6712e447850586147660f7796`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 104, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

### Query `d99618ea3724cae0b2ef0dda96a021dda2c50c6b3ba3847b9ccf307ad044ec67`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 79
- Access-pattern class: `aggregation` (groups rows and combines their values \(GROUP BY\))
- Why: Ends on Aurora MySQL \(79\) after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.
- Scored higher: OpenSearch scored higher \(82 against 79\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 85 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 66 | 66 | 75 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 82 | 82 | 90 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 64, highest score (rule): OpenSearch. OpenSearch scored highest for this query \(82\), ahead of Aurora MySQL \(79\).
2. v2 move 7, engine consolidated away (rule): OpenSearch to Aurora MySQL. Moved from OpenSearch to Aurora MySQL \(82 to 79\): the reality check removed OpenSearch, which adds too little over the engines kept to justify running another engine.

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `daf3cf855699fb96d3c4974d9c89277010387a94f495cb2de7d6bcddf5c9a05b`

- Tables: `wordpress.wp_users`, `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 76
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_usermeta \(key wp\_usermeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(76\) after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.
- Scored higher: DocumentDB scored higher \(78 against 76\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_users` 85 / 60; `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_users` 75 / 50; `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 65 / 50; `wordpress.wp_usermeta` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 80 / 50; `wordpress.wp_usermeta` 80 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50; `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 52, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(76\).
2. v2 move 3, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 76\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `de9a7ba3598eaa8b41839c2fce3889985e5636fc7489653be3b59378bf4779da`

- Tables: `wordpress.wp_comments`
- Engine: DynamoDB, routed score 90
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(90\) after 1 routing step. Aurora MySQL was next at 79 \(group mean\), 11 points behind DynamoDB \(90\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_comments` 95 / 45 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_comments` 85 / 35 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 90 | 90 | 100 | — | 98 | 0 | `wordpress.wp_comments` 70 / 35 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_comments` 90 / 35 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_comments` 0 / 0 | — |

Move history:

1. v1 move 21, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(90\).

### Query `e223aefb06f2d48303ad26d2ee9f8aa957286f08174a6e92a6e583544f8099f0`

- Tables: `wordpress.wp_options`
- Engine: DynamoDB, routed score 92
- Access-pattern class: `key_lookup` (one row of wp\_options by its full unique key)
- Why: Ends on DynamoDB \(92\) after 1 routing step. Aurora MySQL was next at 58, 34 points behind DynamoDB \(92\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 58 | 78 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_options` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_options` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 92 | 92 | 100 | — | 80 | 0 | `wordpress.wp_options` 85 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_options` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_options` 0 / 0 | — |

Move history:

1. v1 move 59, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(92\), ahead of DocumentDB \(75\).

### Query `ea7778dba09d12bdf18da33ac8afa62a59569bdad219b4bc65fa1a767c01de40`

- Tables: `wordpress.wp_postmeta`
- Engine: DynamoDB, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_postmeta addressed by a non-unique key value \(key wp\_postmeta.meta\_key, wp\_postmeta.post\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(73\) after 1 routing step. Aurora MySQL was next at 81.4 \(group mean\), 2.7 points behind DynamoDB \(84.1\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 97 | 0 | `wordpress.wp_postmeta` 55 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 95 | 0 | `wordpress.wp_postmeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_postmeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_postmeta` 0 / 0 | — |

Move history:

1. v1 move 28, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(84.1\).

### Query `eb232c6c81b36bf82cfe700754d27d27af81fb8240242c4c173b77a7c850eb3f`

- Tables: `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 78
- Access-pattern class: `key_scoped` (rows of wp\_usermeta addressed by a non-unique key value \(key wp\_usermeta.meta\_key, wp\_usermeta.user\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(78\) after 1 routing step. DynamoDB was next at 73, 5 points behind Aurora MySQL \(78\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 78 | 78 | 70 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 73 | 73 | 75 | — | 97 | 0 | `wordpress.wp_usermeta` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_usermeta` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 152, tie settled by source compatibility (rule): Aurora MySQL. Aurora MySQL tied with DocumentDB at 78; the tie went to the engine compatible with the source database.

### Query `ec7cf9bbb12fedeb1d9f45392a80b97f6a2837465d7deb3aefaac9e392557671`

- Tables: `wordpress.wp_term_taxonomy`
- Engine: DynamoDB, routed score 89
- Access-pattern class: `key_lookup` (one row of wp\_term\_taxonomy by its full unique key)
- Why: Ends on DynamoDB \(89\) after 1 routing step. Aurora MySQL was next at 77, 12 points behind DynamoDB \(89\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_term_taxonomy` 85 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 68 | 68 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_term_taxonomy` 55 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 89 | 89 | 100 | — | 99 | 0 | `wordpress.wp_term_taxonomy` 65 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 41 | 0 | — | 99 | 0 | `wordpress.wp_term_taxonomy` 80 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_term_taxonomy` 95 / 40 | — |

Move history:

1. v1 move 141, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(89\), ahead of Aurora MySQL \(77\).

### Query `ed65b0b663c28fba275ae368d7b00dbd7f0ef1282a6a66d53f46f230aac30ceb`

- Tables: `wordpress.wp_users`
- Engine: DynamoDB, routed score 89
- Access-pattern class: `key_lookup` (one row of wp\_users by its full unique key)
- Why: Ends on DynamoDB \(89\) after 1 routing step. Aurora MySQL was next at 79, 10 points behind DynamoDB \(89\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 79 | 79 | 80 | — | 98 | 0 | `wordpress.wp_users` 85 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_users` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 89 | 89 | 100 | — | 97 | 0 | `wordpress.wp_users` 65 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_users` 80 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50 | — |

Move history:

1. v1 move 82, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(89\), ahead of Aurora MySQL \(79\).

### Query `ee386e4a29973ed202a8880875d2a5f8f7656dfd04f8b9dd4e05c824021a0034`

- Tables: `wordpress.wp_termmeta`
- Engine: DynamoDB, routed score 76
- Access-pattern class: `key_scoped` (rows of wp\_termmeta addressed by a non-unique key value \(key wp\_termmeta.meta\_key, wp\_termmeta.term\_id: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on DynamoDB \(76\) after 1 routing step. Aurora MySQL was next at 57, 19 points behind DynamoDB \(76\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 57 | 77 | 70 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_termmeta` 100 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 72 | 72 | 85 | — | 98 | 0 | `wordpress.wp_termmeta` 60 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 76 | 76 | 75 | — | 99 | 0 | `wordpress.wp_termmeta` 80 / 40 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 43 | 0 | — | 99 | 0 | `wordpress.wp_termmeta` 85 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_termmeta` 0 / 0 | — |

Move history:

1. v1 move 105, highest score (rule): DynamoDB. DynamoDB scored highest for this query \(76\), ahead of DocumentDB \(72\).

### Query `ee8b8e2169a3ca339065e40d5a1841622a886351d25561f4ece1807ed3cdcbe2`

- Tables: `wordpress.wp_wc_customer_lookup`
- Engine: DynamoDB, routed score 93
- Access-pattern class: `key_lookup` (inserts rows by key)
- Why: Ends on DynamoDB \(93\) after 1 routing step. Aurora MySQL was next at 56 \(group mean\), 37 points behind DynamoDB \(93\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 56 | 76 | 80 | — | 98 | 20 (`no-relational-need`) | `wordpress.wp_wc_customer_lookup` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 75 | 75 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_wc_customer_lookup` 80 / 40 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 93 | 93 | 100 | — | 100 | 0 | `wordpress.wp_wc_customer_lookup` 80 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 44 | 0 | — | 99 | 0 | `wordpress.wp_wc_customer_lookup` 90 / 40 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 0 | `wordpress.wp_wc_customer_lookup` 0 / 0 | — |

Move history:

1. v1 move 42, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(93\).

### Query `f1f4d1593d283ae809a910d7038e58c205f565385c79b9741d7c9f3ad3587cb7`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 142, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

### Query `f2a4e87e8f0ff10c09fe3286e6f8e830af809b48c7d5e57d4a4061299d0d022d`

- Tables: `wordpress.wp_posts`
- Engine: DynamoDB, routed score 87
- Access-pattern class: `key_lookup` (one row of wp\_posts by its full unique key)
- Why: Ends on DynamoDB \(87\) after 1 routing step. Aurora MySQL was next at 77 \(group mean\), 10 points behind DynamoDB \(87\).

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 80 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 69 | 69 | 80 (parity anchor) | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 87 | 87 | 100 | — | 98 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | gated: cannot own a query that writes data (not used as a system of record in this plan) | 0 | 0 | — | 98 | 40 (`acid-transactions`) | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 34, write group: one source of truth (rule): DynamoDB. Placed on DynamoDB with its write group: all of a table's writes land on one engine, its source of truth, and DynamoDB has the best mean score across the group's queries \(87\).

### Query `f31a66f5fccd8126563191858969b6e77b580511e5ad989f745db08f5301dc86`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_parent, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 71, 2 points behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 71 | 71 | 75 | — | 96 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 66, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_status`: refused for a branch of an OR of equalities: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `f33fba2bc06e09310598d8ec1c8e79805064b1b47ae2d3d52d54634cdac4a019`

- Tables: `wordpress.wp_wc_product_meta_lookup`
- Engine: Aurora MySQL, routed score 90, pinned (utility)
- Access-pattern class: `utility` (reads or writes no table data)
- Why: Ends on Aurora MySQL, pinned \(utility\), after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 90 | 90 | — | — | — | 0 | `wordpress.wp_wc_product_meta_lookup` 100 / 65 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_product_meta_lookup` 80 / 45 | — |
| DynamoDB | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_product_meta_lookup` 65 / 45 | — |
| ElastiCache | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_product_meta_lookup` 85 / 55 | — |
| OpenSearch | gated: missing a capability the query needs | — | — | — | — | 0 | `wordpress.wp_wc_product_meta_lookup` 0 / 0 | — |

Move history:

1. v1 move 87, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(90\).
2. v1 move 170, administration statement (rule): Aurora MySQL to Aurora MySQL. Pinned to Aurora MySQL: administration and metadata statements stay on the source-compatible relational engine.

### Query `f37cfe518f83669067b5e9c57f68ced43ba9175a37b7b64f1122a20a46d6bf2e`

- Tables: `wordpress.wp_terms`, `wordpress.wp_term_taxonomy`, `wordpress.wp_term_relationships`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_term\_relationships, wp\_term\_taxonomy)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_terms` 90 / 50; `wordpress.wp_term_taxonomy` 85 / 50; `wordpress.wp_term_relationships` 90 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 0 | `wordpress.wp_terms` 60 / 40; `wordpress.wp_term_taxonomy` 55 / 40; `wordpress.wp_term_relationships` 60 / 40 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_terms` 70 / 40; `wordpress.wp_term_taxonomy` 65 / 40; `wordpress.wp_term_relationships` 70 / 40 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_terms` 85 / 40; `wordpress.wp_term_taxonomy` 80 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_terms` 100 / 40; `wordpress.wp_term_taxonomy` 95 / 40; `wordpress.wp_term_relationships` 85 / 40 | — |

Move history:

1. v1 move 15, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `f4fcc7f6ef237eb98ceebe18f53efbc90ce9cc76e15fc20c0010447b449a1987`

- Tables: `wordpress.wp_users`, `wordpress.wp_usermeta`
- Engine: Aurora MySQL, routed score 76
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_usermeta \(key wp\_usermeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(76\) after 2 routing steps. DynamoDB could not take the query: missing a capability the query needs.
- Scored higher: DocumentDB scored higher \(78 against 76\), but the query left it in version 2 \(engine consolidated away\), and it is not part of the final plan.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 76 | 76 | 70 | — | 98 | 0 | `wordpress.wp_users` 85 / 60; `wordpress.wp_usermeta` 95 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 78 | 78 | 85 | — | 98 | 0 | `wordpress.wp_users` 75 / 50; `wordpress.wp_usermeta` 75 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 65 / 50; `wordpress.wp_usermeta` 65 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_users` 80 / 50; `wordpress.wp_usermeta` 80 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_users` 95 / 50; `wordpress.wp_usermeta` 95 / 50 | — |

Move history:

1. v1 move 50, highest score (rule): DocumentDB. DocumentDB scored highest for this query \(78\), ahead of Aurora MySQL \(76\).
2. v2 move 2, engine consolidated away (rule): DocumentDB to Aurora MySQL. Moved from DocumentDB to Aurora MySQL \(78 to 76\): the reality check removed DocumentDB, which adds too little over the engines kept to justify running another engine.

### Query `f6438457738a613affbd19c1fd9f0978267a39f263d529f02293f6a669e3789d`

- Tables: `wordpress.wp_wc_admin_notes`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `aggregation` (aggregate over wp\_wc\_admin\_notes with no anchoring key)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 85 | — | 98 | 0 | `wordpress.wp_wc_admin_notes` 90 / 15 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 75 | — | 98 | 0 | `wordpress.wp_wc_admin_notes` 90 / 15 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_wc_admin_notes` 90 / 15 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_wc_admin_notes` 100 / 15 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_wc_admin_notes` 0 / 0 | — |

Move history:

1. v1 move 127, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_wc_admin_notes.is_deleted`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_wc_admin_notes.status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_wc_admin_notes.type`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `f7de9a8110453cdec99eca2a5338e3bb03d437b409b8b22d7d02da54d9614915`

- Tables: `wordpress.wp_postmeta`, `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 75
- Access-pattern class: `key_scoped` (aggregate over a key-anchored join: every table reached by key from wp\_postmeta, wp\_posts \(key wp\_postmeta.meta\_key, wp\_posts.post\_parent, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(75\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 75 | 75 | 70 | — | 98 | 0 | `wordpress.wp_postmeta` 95 / 60; `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_postmeta` 55 / 50; `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_postmeta` 65 / 50; `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_postmeta` 80 / 50; `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_postmeta` 0 / 0; `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 10, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

### Query `f86b4be6598d18fabc947fb1c716f6221a3620a687940154774728dbbc8ae730`

- Tables: `wordpress.wp_posts`, `wordpress.wp_postmeta`, `wordpress.wp_woocommerce_order_items`, `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 77
- Access-pattern class: `key_scoped` (key-anchored join: every table reached by key from wp\_postmeta, wp\_woocommerce\_order\_itemmeta \(key wp\_postmeta.meta\_key, wp\_woocommerce\_order\_itemmeta.meta\_key: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(77\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 77 | 77 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_postmeta` 95 / 60; `wordpress.wp_woocommerce_order_items` 95 / 70; `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 85 | — | — | 20 (`heavy-cross-collection-joins`) | `wordpress.wp_posts` 50 / 50; `wordpress.wp_postmeta` 55 / 50; `wordpress.wp_woocommerce_order_items` 65 / 50; `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50; `wordpress.wp_postmeta` 65 / 50; `wordpress.wp_woocommerce_order_items` 75 / 50; `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_postmeta` 80 / 50; `wordpress.wp_woocommerce_order_items` 90 / 60; `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | 0 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_postmeta` 0 / 0; `wordpress.wp_woocommerce_order_items` 0 / 0; `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 3, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_postmeta.meta_value`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `fa687400c5fe6eda2b09e4d0c6dda70534ef7dd1b4471c5e7b0c09497a583cce`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 103, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

### Query `faa3737798fa780d112a14bb8327583e935a95ec81454f89a9ee9c2c95783f4e`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\); its pattern match only filters the keyed rows)
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | gated: missing a capability the query needs | — | 75 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 55 / 50 | — |
| ElastiCache | gated: missing a capability the query needs | — | 0 | — | — | 40 (`wildcard-search`) | `wordpress.wp_posts` 75 / 50 | — |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 139, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

Key candidates:

- `wp_posts.post_password`: accepted: a key the redesign may assume for an equality filter
- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `fc99562bfa4be32418b08a3ab1ce8b7763f2bd698ff428782e9428a8fd6e3a98`

- Tables: `wordpress.wp_posts`, `wordpress.wp_woocommerce_order_items`, `wordpress.wp_woocommerce_order_itemmeta`
- Engine: Aurora MySQL, routed score 83
- Access-pattern class: `aggregation` (groups rows and combines their values \(GROUP BY\))
- Why: Ends on Aurora MySQL \(83\) after 1 routing step. DynamoDB could not take the query: missing a capability the query needs.

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 83 | 83 | 85 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60; `wordpress.wp_woocommerce_order_items` 95 / 70; `wordpress.wp_woocommerce_order_itemmeta` 100 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | gated: missing a capability the query needs | — | 75 | — | — | 0 | `wordpress.wp_posts` 50 / 50; `wordpress.wp_woocommerce_order_items` 65 / 50; `wordpress.wp_woocommerce_order_itemmeta` 60 / 50 | — |
| DynamoDB | gated: missing a capability the query needs | — | 0 | — | — | 30 (`complex-aggregation`) | `wordpress.wp_posts` 55 / 50; `wordpress.wp_woocommerce_order_items` 75 / 50; `wordpress.wp_woocommerce_order_itemmeta` 70 / 50 | — |
| ElastiCache | gated: ruled out for this kind of query | — | 0 | — | — | 0 | `wordpress.wp_posts` 75 / 50; `wordpress.wp_woocommerce_order_items` 90 / 60; `wordpress.wp_woocommerce_order_itemmeta` 85 / 50 | — |
| OpenSearch | gated: missing a capability the query needs | — | 90 | — | — | 30 (`multi-index-joins`) | `wordpress.wp_posts` 90 / 50; `wordpress.wp_woocommerce_order_items` 0 / 0; `wordpress.wp_woocommerce_order_itemmeta` 0 / 0 | — |

Move history:

1. v1 move 2, co-dependency group (rule): Aurora MySQL. Placed on Aurora MySQL with its co-dependency group: Aurora MySQL has the best mean score across the group's queries \(75.3\).

Key candidates:

- `wp_posts.post_status`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality
- `wp_woocommerce_order_items.order_item_type`: refused for an equality filter: a date, time, true/false, enum or category column, or one the statistics show low-cardinality

### Query `fcfd82fa1ebbc5b4b8183186286a098a42227e04d4445edf00f0a8a0120bf675`

- Tables: `wordpress.wp_posts`
- Engine: Aurora MySQL, routed score 73
- Access-pattern class: `key_scoped` (rows of wp\_posts addressed by a non-unique key value \(key wp\_posts.post\_name, wp\_posts.post\_type: an index's leading column, with no cardinality statistics to confirm it\))
- Why: Ends on Aurora MySQL \(73\) after 1 routing step. DynamoDB was next at 71, 2 points behind Aurora MySQL \(73\).
- Close call: the runner-up is less than 5 points behind

| Engine | Routed score | Base | Pattern | After redesign | Cost | Penalty | Complexity / performance by table | Weights (pattern / complexity / performance / cost) |
|---|---|---|---|---|---|---|---|---|
| Aurora MySQL | 73 | 73 | 70 | — | 98 | 0 | `wordpress.wp_posts` 80 / 60 | 0.4 / 0.3 / 0.2 / 0.1 |
| DocumentDB | 71 | 71 | 85 | — | 98 | 0 | `wordpress.wp_posts` 50 / 50 | 0.48 / 0.26 / 0.16 / 0.1 |
| DynamoDB | 71 | 71 | 75 | — | 94 | 0 | `wordpress.wp_posts` 55 / 50 | 0.64 / 0.21 / 0.05 / 0.1 |
| ElastiCache | gated: cannot own a query that writes data (not used as a system of record in this plan) | 42 | 0 | — | 99 | 0 | `wordpress.wp_posts` 75 / 50 | 0.4 / 0.3 / 0.2 / 0.1 |
| OpenSearch | 0 | 0 | 0 | — | 98 | 0 | `wordpress.wp_posts` 90 / 50 | 0.45 / 0.25 / 0.2 / 0.1 |

Move history:

1. v1 move 68, highest score (rule): Aurora MySQL. Aurora MySQL scored highest for this query \(73\), ahead of DocumentDB \(71\).

## Write groups (8)

A table has one writer: every statement that writes it is placed with the others as one unit, with any co-dependency group it touches. 11 more tables have a single write statement and no group to place.

### Write group `wordpress.wp_comments`

- Members: 2 statements, on DynamoDB
- Placed by v1 move 22, write group: one source of truth, as one unit of 2 statements (placement `0c9f8429f079`)
- Group score: DynamoDB 90, Aurora MySQL 79, DocumentDB 75
- Margin: DynamoDB by 11 over Aurora MySQL
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `de9a7ba3598eaa8b41839c2fce3889985e5636fc7489653be3b59378bf4779da` | DynamoDB | 90 | no | — | — |
| `c4c96b8d1b37a96003b1e899b0a8e69800ff41831a187d075c0b43f0e29a635e` | DynamoDB | 90 | no | — | — |

### Write group `wordpress.wp_options`

- Members: 4 statements, on DynamoDB
- Placed by v1 move 26, write group: one source of truth, as one unit of 4 statements (placement `fdd4896127b6`)
- Group score: DynamoDB 92.4, DocumentDB 74.4, Aurora MySQL 58
- Margin: DynamoDB by 18 over DocumentDB
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `a13f5749057b0212d61aea04e432898093305463ae027b79826082006cda7715` | DynamoDB | 93 | no | — | — |
| `ac34da34fb23498bd1392f02403e9dbdd0d28d3cfef236e6d3c4c6ffe6e82ad2` | DynamoDB | 92 | no | — | — |
| `216d92b3f4e7091a2aa00b97ff8d389edbc5c148efcbed8cd6a1c3e408206051` | DynamoDB | 93 | no | — | — |
| `6980a25f43b91abe03027ba84e6f12fdd67c8d30e0cf5b7a7170b6dd4a155663` | DynamoDB | 94 | no | — | — |

### Write group `wordpress.wp_postmeta`

- Members: 5 statements, on DynamoDB
- Placed by v1 move 31, write group: one source of truth, as one unit of 5 statements (placement `1581d785a527`)
- Group score: DynamoDB 84.1, Aurora MySQL 81.4, DocumentDB 69.5
- Margin: DynamoDB by 2.7 over Aurora MySQL
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `126679dc6aaed0c3c05926ea8c60b79f6b00a518389064878c17fe74a60bef8e` | DynamoDB | 86 | no | — | — |
| `ea7778dba09d12bdf18da33ac8afa62a59569bdad219b4bc65fa1a767c01de40` | DynamoDB | 73 | no | — | — |
| `2c0093ed0c4d5d818ba11723dd9b3f1b7f82cccf1a6f099e191073c0fd7af2dd` | DynamoDB | 74 | no | — | — |
| `33dfdb12166d9ed52a1196e6675d56c3462693b24a7dbb80463d3ce7d501152b` | DynamoDB | 74 | no | — | — |
| `596b8fed2f640add448367fbe3da04f04438e083ea9eaed3acf935d2d643f64f` | DynamoDB | 90 | no | — | — |

### Write group `wordpress.wp_posts`

- Members: 5 statements, on DynamoDB
- Placed by v1 move 36, write group: one source of truth, as one unit of 5 statements (placement `034353df8099`)
- Group score: DynamoDB 87, Aurora MySQL 77, DocumentDB 69
- Margin: DynamoDB by 10 over Aurora MySQL
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `214edb87c83db8545897614b3831eeab765103dccd023b451a3dd971dee4036a` | DynamoDB | 87 | no | — | — |
| `a783694619352b153b690ccc07f9dae79c9caa43ecefcceae3d486fe49c7c1c8` | DynamoDB | 87 | no | — | — |
| `f2a4e87e8f0ff10c09fe3286e6f8e830af809b48c7d5e57d4a4061299d0d022d` | DynamoDB | 87 | no | — | — |
| `445ec39b67db991f5f7d8f3a00a4873af0d9ae5186f32ced941f9a683399799e` | DynamoDB | 87 | no | — | — |
| `72da3cb4f3c62e94f7de1c8210fbcf51de33edae08ff72757575835a5df6b4a9` | DynamoDB | 87 | no | — | — |

### Write group `wordpress.wp_usermeta`

- Members: 2 statements, on DynamoDB
- Placed by v1 move 38, write group: one source of truth, as one unit of 2 statements (placement `ff9de028069a`)
- Group score: DynamoDB 86, Aurora MySQL 81.5, DocumentDB 75.4
- Margin: DynamoDB by 4.5 over Aurora MySQL
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `2f81962855292f9c727319dddc53290b71dea6fb0340cf84c1a36a8e1cca2b8b` | DynamoDB | 88 | no | — | — |
| `41b2f2d13bca108b52d8bd32b1c7758a9899a7be53f8a3454e95da3749ae3429` | DynamoDB | 73 | no | — | — |

### Write group `wordpress.wp_users`

- Members: 2 statements, on DynamoDB
- Placed by v1 move 40, write group: one source of truth, as one unit of 2 statements (placement `1a8b8d87ed1f`)
- Group score: DynamoDB 90, Aurora MySQL 79, DocumentDB 75
- Margin: DynamoDB by 11 over Aurora MySQL
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `a3eb3282c1f00966e30dec79d4d260b16aa3c4ddef449e64a31f9c8e360c35b2` | DynamoDB | 90 | no | — | — |
| `5da98ce7cdba2cdf5aef46ad7a56bb7c9b1b8a1c1cdd1a3165f207e4d7978300` | DynamoDB | 90 | no | — | — |

### Write group `wordpress.wp_wc_customer_lookup`

- Members: 2 statements, on DynamoDB
- Placed by v1 move 42, write group: one source of truth, as one unit of 2 statements (placement `540a2836bd26`)
- Group score: DynamoDB 93, DocumentDB 75, Aurora MySQL 56
- Margin: DynamoDB by 18 over DocumentDB
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `611079ff89c7fcbd01ed195b38f92d5b5961b531565b82b5e61f3d2730c78fa2` | DynamoDB | 93 | no | — | — |
| `ee8b8e2169a3ca339065e40d5a1841622a886351d25561f4ece1807ed3cdcbe2` | DynamoDB | 93 | no | — | — |

### Write group `wordpress.wp_woocommerce_order_itemmeta`

- Members: 2 statements, on DynamoDB
- Placed by v1 move 44, write group: one source of truth, as one unit of 2 statements (placement `b2aa2634ce88`)
- Group score: DynamoDB 87.7, Aurora MySQL 82.6, DocumentDB 71.3
- Margin: DynamoDB by 5.1 over Aurora MySQL
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `2caa2be1b7b5d3ef7d5dc9a6aba0f82df0e9b01383258d373dc93ee23147ba8a` | DynamoDB | 89 | no | — | — |
| `4b856e296129b8dcca701ba2561310f1d1f1768eb5986cc43d1edde63f937226` | DynamoDB | 75 | no | — | — |

## Co-dependency groups (2)

Queries that must stay on one engine together, placed on the group's mean score.

### Co-dependency group 1

- Members: 18 statements, on Aurora MySQL
- Placed by v1 move 18, co-dependency group, as one unit of 18 statements (placement `41f9e1deeeb7`)
- Group score: Aurora MySQL 75.3
- Margin: no other engine could take the whole group
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `a0b655ea2f80c5bc688a142e3e03956031de6a491787f4e8a847ae67c65fbef0` | Aurora MySQL | 81 | no | — | — |
| `fc99562bfa4be32418b08a3ab1ce8b7763f2bd698ff428782e9428a8fd6e3a98` | Aurora MySQL | 83 | no | — | — |
| `f86b4be6598d18fabc947fb1c716f6221a3620a687940154774728dbbc8ae730` | Aurora MySQL | 77 | no | — | — |
| `cb3300c6fc11f0dd851bbee427ed58a930926ea9b925a271e1699f5bc09814ee` | Aurora MySQL | 83 | no | — | — |
| `97834e68ad8550b0db33ca13d5b4d2f5ee6d56b1acbcd3374a1fefad234ca8ca` | Aurora MySQL | 73 | no | — | — |
| `3f9f6bab31e30e6cab0f93d7153b166e0e1a509e72b8099434729aae955182c8` | Aurora MySQL | 73 | no | — | — |
| `4b79d7a8be865f8758729140de11cba4dff2b0262c6b258523f6dac6e496720a` | Aurora MySQL | 73 | no | — | — |
| `8bc823cb67ed85abd3c5f224b718c22304f8adf7970d5a2d652c0c8c7f3cb6f7` | Aurora MySQL | 75 | no | — | — |
| `119b7fbf3a2efd757e864dc02fa2b5a1b682049fe3a552f8f95d320c20b4de1e` | Aurora MySQL | 83 | no | — | — |
| `f7de9a8110453cdec99eca2a5338e3bb03d437b409b8b22d7d02da54d9614915` | Aurora MySQL | 75 | no | — | — |
| `a355b7403b1d39d90f3ff59ece2a00e0225bbbc7c3a9d3d755d3f0e8d001e077` | Aurora MySQL | 83 | no | — | — |
| `bdb34acbf7457475074e149471fdc6bc72e5b6a072bfb25d9b1bf564db9bacc9` | Aurora MySQL | 77 | no | — | — |
| `d5ae7abb4fb5271f15a4193c025bb6c2bd745ff7e0806d140f89069876cd7ee7` | Aurora MySQL | 73 | no | — | — |
| `4481cc0ca988374076baa83caa074ab5f9197db98fae7072c2cc068e0bdba8ba` | Aurora MySQL | 54 | no | — | — |
| `f37cfe518f83669067b5e9c57f68ced43ba9175a37b7b64f1122a20a46d6bf2e` | Aurora MySQL | 73 | no | — | — |
| `62118b26279d4f5aeadd94f2acdddc1627c7c99c632650020db012ea5c4016a7` | Aurora MySQL | 73 | no | — | — |
| `25e3c7550c3775ca1f60248bfbaefc90e027c17f4c54084860dccd6776fb8a16` | Aurora MySQL | 73 | no | — | — |
| `2a4b1b61361bc6b0f94452f62a10c9930991e0944a4f1b87498d061ed9052263` | Aurora MySQL | 73 | no | — | — |

### Co-dependency group 2

- Members: 2 statements, on Aurora MySQL
- Placed by v1 move 20, co-dependency group, as one unit of 2 statements (placement `cfdef7a55d78`)
- Group score: Aurora MySQL 78, DocumentDB 76.5, OpenSearch 0
- Margin: Aurora MySQL by 1.5 over DocumentDB
- Fits poorly: 0 members

| Query | Engine | Own score | Fits poorly | Intent | Target-native approach |
|---|---|---|---|---|---|
| `09513d199d428000ba329640fab04778f130a00bbe2dbf1558806c0d68c54199` | Aurora MySQL | 81 | no | — | — |
| `661f1032dec43a60b7c3be412db57a6eefa8251ea50a68c5bca065b6db4724c0` | Aurora MySQL | 75 | no | — | — |

Built from code commit 8f99214b1709.
