Repository navigation
MyDB 1.0.5 — Public Preview
MyDB 1.0.5 — Public Preview
Downloads
| Platform or file | GitHub | 中国下载加速 |
|---|---|---|
| macOS Apple Silicon | Download | 下载 |
| Linux x86_64 (glibc 2.17 baseline) | Download | 下载 |
| Windows x64 | Download | 下载 |
| Build information | Download | 下载 |
| SHA-256 checksums | Download | 下载 |
Verify the archive against SHA256SUMS before extracting it.
Overview
MyDB 1.0.5 adds offline bulk import for property graphs, improves graph and SQL
execution, and brings offline recovery commands into the mydb executable.
This public preview is intended for feature validation, compatibility testing,
and evaluation in controlled environments. The MySQL compatibility baseline
remains 8.0.46. See the 1.0.4 release notes for
features introduced in the previous release.
Upgrading from 1.0.4 requires logical migration to a fresh data directory.
WAL and B-tree formats have changed. See Moving from 1.0.4 to 1.0.5.
Property graphs and GraphRAG
mydb graph-importinitializes a fresh data directory from a JSON manifest
and delimited node and edge files. It builds the graph and its indexes before
publication. The JSON report includes node and edge counts, build and
publication times, and per-index size and estimated sort memory.- Graph storage uses compact node, edge, and label-membership rows, dictionary
IDs for edge labels, and direct node row references in property indexes.
Directional adjacency indexes serve both typed and untyped traversals. - Eligible one-hop queries with a target
INT64index, a range filter, and a
smallLIMITcan walk targets in sort order and check reverse adjacency,
including ties at the limit. An import manifest can also define sparse
numeric edge-range indexes for incoming or outgoing traversal. - GQL adds
value IN [expression, ...]andelement IS [NOT] LABELED label.
Eligible constant endpoint sets can filter traversal before property reads.
ANY SHORTESTcan search from both ends for a single labeled, variable-length
edge pattern when both endpoints are bound. - Eligible one-hop
COUNTqueries can aggregate adjacency counts directly,
avoiding an intermediate result row for every matching edge.
mydb graph-import graph.json --data-dir /srv/mydb/graph-data --workers 8
mydb --data-dir /srv/mydb/graph-dataThe destination must be a new directory under an existing parent. See
offline graph import and manifest examples.
SQL and vector execution
NO_MERGEcan keep selected CTE references on the shared materialization
path. Target references by name or alias and inspect the result with
EXPLAIN FORMAT=TREE. See optimizer hints.- Eligible bounded recursive CTEs use bitmaps for finite candidate sets in
correlated anti-joins. The optimization applies to supported positional text
updates and retains the general recursive path for other shapes. See
optimizer and execution. - Eligible ungrouped
COUNT,SUM,AVG,MIN, andMAXaggregates over
integer or exact DECIMALgenerate_seriesinputs can use arithmetic
progression summaries without generating each row. See generate_series. - Scalar and vectorized execution reduce temporary allocation and conversion
work for supported exact numeric operations and collation-aware comparisons.
On Arm64, NEON kernels improve eligible centroid and quantized vector scoring.
See data types and vector indexes. - On Windows,
time_zone=SYSTEMcan use the host's resolved IANA time zone
for cached transition lookups and persistent index expressions.
Storage and bulk loading
- Bulk B-tree builds reduce intermediate copying and allocation during key
encoding, sorting, and leaf construction. Compact unsigned key parts reduce
the on-disk footprint of eligible indexes. Batched lookups can read selected
key parts directly from index leaves. - Eligible
LOAD DATApaths reduce delimiter parsing work on x86-64. Private
heap generations can use direct I/O on Linux, and the buffer pool groups
adjacent page reads and writes to reduce small I/O operations. - Checkpoint-driven heap full-page images can use lossless Zstd compression
in WAL. See storage and recovery.
Offline backup and recovery
Run mydb backup to inspect, verify, and restore backup repositories without
starting a server. Existing mydb-backup commands still work through a launcher
that runs the mydb executable next to it. Deploy the two executables together
if scripts use the launcher. On Windows, use mydb.exe backup directly when a
supervisor needs the recovery process PID. The Docker entrypoint also accepts
backup as its first argument. See backup tools and privileges.
mydb backup verify --repository /srv/mydb/backup-repositoryMoving from 1.0.4 to 1.0.5
| Physical format | 1.0.4 | 1.0.5 |
|---|---|---|
| Catalog | 75 | 75 |
| WAL | 42 | 43 |
| B-tree index file | 25 | 26 |
| B-tree index page | 16 | 18 |
The data-directory admission fingerprint changes. Use the original compatible
binary to read 1.0.4 data directories and restore 1.0.4 physical backups.
Native physical replication requires matching formats on both peers.
- Preserve the 1.0.4 binary, original data directory, configuration, external
keys, and a verified 1.0.4 backup. - Transfer logical schema and typed data to a fresh 1.0.5 data directory.
Recreate instance objects such as users, grants, routines, events, and
policies as needed. Recreate graphs with supported GQL. If using
mydb graph-import, initialize the destination from the graph input files
before loading other logical data into that directory. - Check row counts, representative SQL and GQL queries, index behavior,
transactions, and privileges before switching writes. - Recreate native replicas from the migrated primary. Plan rollback before
cutover because writes accepted by 1.0.5 are absent from the preserved
1.0.4 instance.
See changing versions and the
storage format registry.
Packages and feedback
Release archives include mydb, mydb-cli, mydb-backup, the Apache-2.0
license, third-party notices, and corresponding MPL source archives. Verify
published archives against their SHA256SUMS. See GitHub Releases.