Skip to content

Extend inno binlog with --correlate <tablespace> — annotate events with page numbers #179

@ringo380

Description

@ringo380

Summary

Extend inno binlog with --correlate flag that annotates row events with the tablespace page numbers they affected.

CLI Design

inno binlog -f <binlog> --correlate /path/to/table.ibd
inno binlog -f <binlog> --correlate /path/to/table.ibd --json

Scope

  • Add page_number and page_lsn columns to row event output
  • Requires tablespace for B+Tree PK lookup
  • Events that can't be correlated (missing PK, different table) shown without page info

Depends on

#178 (binlog-page correlation library)

Part of

Epic #166 (Binlog-Tablespace Correlation)

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions