Skip to content

【功能请求】支持共享数据库连接池 #775

Description

@WangJincheng4869

Is your feature request related to a problem? Please describe.
在多租户场景下,连接同一个数据库实例,多个库时。每个库目前都是一个连接池,当租户过多的时候会撑爆数据库的连接数。

Describe the solution you'd like
希望在这种场景下可以共用一个连接池,防止出现连接数无限扩张。

Describe alternatives you've considered
目前线上处理方案是,每个连接池限制最多 2 个连接。但是 150 个租户,连接数也会到 300

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