Skip to content

PS-10260 [9.x]: Disables expand fast index creation for partitioned t…#5794

Merged
inikep merged 1 commit intopercona:trunkfrom
VarunNagaraju:PS-10260-9.x
Jan 5, 2026
Merged

PS-10260 [9.x]: Disables expand fast index creation for partitioned t…#5794
inikep merged 1 commit intopercona:trunkfrom
VarunNagaraju:PS-10260-9.x

Conversation

@VarunNagaraju
Copy link
Contributor

…ables

https://perconadev.atlassian.net/browse/PS-10260

When expand_fast_index_creation is enabled, ALTER TABLE statement performs some optimisations (removes secondary indexes, copies data and re-creates secondary indexes) on the intermediate table. Some of these operations are done in place and most of the ALTER TABLE statements involving partitioned tables can not be performed inplace and in turn, they fail when attempted.

So, the optimisations of expanded fast index creation are being disabled if the table involved has partitions.

…ables

https://perconadev.atlassian.net/browse/PS-10260

When expand_fast_index_creation is enabled, ALTER TABLE statement
performs some optimisations (removes secondary indexes, copies data
and re-creates secondary indexes) on the intermediate table. Some of
these operations are done in place and most of the ALTER TABLE
statements involving partitioned tables can not be performed inplace and
in turn, they fail when attempted.

So, the optimisations of expanded fast index creation are being disabled
if the table involved has partitions.
Copy link
Collaborator

@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@VarunNagaraju
Copy link
Contributor Author

@inikep inikep merged commit 657b86c into percona:trunk Jan 5, 2026
14 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants