-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Enhancement
we have optimize create table
using fast-create, but there are scenarios that we might create a lot of database, or run many DDLs like add/modify column in the maintenance window.
so we want to optimize execution of general DDL, and in a unified way
- ddl: sync schema version using watch, notify sessions on owner node by job id #53217
- ddl: check table/database existance using infoschema only #53882
- query since min job id to mitigate
select
very slow on an empty table fromdelete from xx
#52905, below 2 PRs are reverted in ddl: revert 'query from min job id' #54180 - move job dependency calculation into memory, to avoid the slower SQL
- ddl: enlarge general ddl worker pool #54041
- ddl: manage job lifecycle in worker #53747
- [low priority] notify the session which is not on DDL owner node when owner finished handling by RPC or other way
- [hold] add index on
type
fortidb_ddl_job
to make some query faster - other refactors
ywqzzy
Metadata
Metadata
Assignees
Labels
type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.