Skip to content

The max QPS of table creation by Lightning is slow & information_schema.tables getting slower causes lightning dispatch schema jobs slower in millions tables scenario #58141

@lilinghai

Description

@lilinghai

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

500k schemas, 1 million tables
lighting import
Image

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

[2024/12/10 02:20:07.001 +00:00] [INFO] [info.go:53] ["Welcome to TiDB-Lightning"] [release-version=v8.5.0-alpha-306-gd6b313f268] [git-hash=d6b313f2680f96f775730c555e7ba1d9881d68d5] [git-branch=HEAD] [go-version=go1.23.4] [utc-build-time="2024-12-09 17:11:32"] [race-enabled=false]

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-8.5This bug affects the 8.5.x(LTS) versions.component/lightningThis issue is related to Lightning of TiDB.severity/moderatetype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions