Skip to content

InnoDB: Cache dict_index_t objects while parsing redo log #62

Description

@mfrankmysql

Summary:
Improve redo log parsing performance by caching parsed dict_index_t objects.

Problem:
mlog_parse_index() is a redo parsing bottleneck because it repeatedly allocates and initializes temporary dict_index_t and dict_table_t objects.

Proposed approach:
• Avoid allocating unused small strings for column names.
• Initialize mem_heap_t with a larger first memory block.
• Cache parsed index metadata instead of discarding it.

Expected benefits:
• Faster redo log parsing
• Reduced memory allocation overhead
• Better recovery performance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Performance & ObesrvabilityItems for improving speed, scalability, monitoring, diagnostics, and operational insightenhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions