Skip to content

Conversation

alina-derkach-oaza
Copy link
Collaborator

modified: docs/limitations.md

Copy link
Collaborator

@patrickbirch patrickbirch left a comment

Choose a reason for hiding this comment

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

Great.

@it-percona it-percona temporarily deployed to PS-10085 - percona-server-docs-8.0 PR #557 September 16, 2025 16:26 — with Render Destroyed
| [`rocksdb_enable_instant_ddl_for_drop_index_changes=ON`](variables.md#rocksdb_enable_instant_ddl_for_drop_index_changes) | `ALTER TABLE ... DROP INDEX` | `INSTANT` |
| [`rocksdb_enable_instant_ddl_for_table_comment_changes=ON`](variables.md#rocksdb_enable_instant_ddl_for_table_comment_changes) | `ALTER TABLE ... COMMENT` | `INSTANT` |

**Note:** MyRocks does **not support `ALGORITHM=INSTANT`** in SQL syntax. These operations behave like Instant DDL **internally**, but only if the respective configuration variables are enabled.
Copy link
Collaborator

@inikep inikep Oct 3, 2025

Choose a reason for hiding this comment

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

This is not true anymore. ALGORITHM=INSTANT is required for to use INSTANT DDLs e.g.:

1. rocksdb_enable_instant_ddl_for_table_comment_changes=ON
2. ALTER TABLE … COMMENT …, ALGORITHM=INSTANT;

Without ALGORITHM=INSTANT, ALTER TABLE will use default ALGORITHM even if rocksdb_enable_instant_ddl_for_table_comment_changes = ON.
With rocksdb_enable_instant_ddl_for_table_comment_changes=OFF, using ALGORITHM=INSTANT will cause error.

Copy link
Collaborator

Choose a reason for hiding this comment

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

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.

4 participants