# Meituan-Dianping/MyFlash

flashback mysql data to any point

Repository: https://github.com/Meituan-Dianping/MyFlash
Canonical: https://ross.abutalabs.com/products/myflash
Language: C
License: NOASSERTION
License Family: other
Last push: 2020-11-05T12:34:38+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3212, "days_push": 2127, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1180, forks 315 (observed 2026-08-28T04:03:53.569472+00:00)

## What it is
MyFlash is a command-line tool developed by Meituan-Dianping that parses MySQL v4 binlogs to generate SQL for rolling back DML operations (insert, update, delete) to any point in time. It offers richer filtering options than existing rollback tools and is used in production at Meituan.

## Use cases
- undo a bad update or delete on a mysql table
- flashback mysql data to a previous point in time
- roll back accidental dml changes using binlog
- recover deleted rows in mysql without restoring a backup
- generate reverse sql from mysql binlog

## When to choose
- you need to reverse specific DML operations on MySQL 5.6/5.7 with row-format binlog
- you want fine-grained filtering of which statements to roll back
- you need a fast, production-proven flashback tool

## When to avoid
- your MySQL uses statement-based binlog or binlog_row_image is not full
- you run MySQL 8.0 or newer
- you need to roll back DDL operations

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: database, developer-tools, backup
- domain: databases, developer-tools
- platform: cli
- tags: mysql, binlog, flashback, data-recovery, dml-rollback, linux

## Member repositories
- Meituan-Dianping/MyFlash (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:53.569472+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:25:14.087109+00:00, confidence not recorded.
  - readme: https://github.com/Meituan-Dianping/MyFlash (fetched 2026-08-28T04:03:53.569472+00:00, sha 8da7f317046b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
