Skip to content

leaf_alloc的biz_tag为主键,频繁页分裂问题 #206

@hsfxuebao

Description

@hsfxuebao

号段模式下的数据表leaf_alloc,biz_tag为业务区分使用,为varchar(128),但是它也是主键,如果频繁插入可能会出现页分裂情况,建议可以维护一个映射,biz_tag和主键id的映射,查询的时候都以自增id进行查询,性能更高效率更快

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions