Skip to content

Documentation to enable Automatic schema changes#4

Open
gabocic wants to merge 7 commits into
mainfrom
feature/automatic-schema-changes-user-guide
Open

Documentation to enable Automatic schema changes#4
gabocic wants to merge 7 commits into
mainfrom
feature/automatic-schema-changes-user-guide

Conversation

@gabocic

@gabocic gabocic commented May 16, 2026

Copy link
Copy Markdown
Collaborator

Documentation to enable Automatic schema changes

@netlify

netlify Bot commented May 16, 2026

Copy link
Copy Markdown

Deploy Preview for releem-documentation ready!

Name Link
🔨 Latest commit 69e36e5
🔍 Latest deploy log https://app.netlify.com/projects/releem-documentation/deploys/6a2c023d4ff4210008207b01
😎 Deploy Preview https://deploy-preview-4--releem-documentation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gabocic gabocic force-pushed the feature/automatic-schema-changes-user-guide branch from ecb7835 to e2874ca Compare May 16, 2026 13:40
@gabocic gabocic force-pushed the feature/automatic-schema-changes-user-guide branch from e2874ca to a59d25f Compare May 16, 2026 13:44
@drupaladmin drupaladmin requested review from drupaladmin and removed request for drupaladmin May 19, 2026 19:50
@drupaladmin

Copy link
Copy Markdown
Collaborator

Looks good, let's add it to the sidebar

@gabocic gabocic force-pushed the feature/automatic-schema-changes-user-guide branch 2 times, most recently from 13de7e5 to 0e603e1 Compare June 11, 2026 12:07
@gabocic gabocic force-pushed the feature/automatic-schema-changes-user-guide branch from 0e603e1 to 4190584 Compare June 11, 2026 12:28

By default the agent **does not** run schema changes from Releem, even when you approve them in the product. For schema changes to be executed on your database server, activate this feature explicitly by setting `enable_exec_ddl` to `true`.

Before running the schema change against the real table, the agent will perform a dry-run of the change against an empty table with the same structure. This is to guarantee that the operation can run successfully with the intenteded strategy.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

typo: intended


Before running the schema change against the real table, the agent will perform a dry-run of the change against an empty table with the same structure. This is to guarantee that the operation can run successfully with the intenteded strategy.

There are some schema changes that the database server can't execute on its own, without blocking the table. An alternative it to use an external tool called [pt-online-schema-change](https://docs.percona.com/percona-toolkit/pt-online-schema-change.html). This tool creates a copy of the table with the intended changes, copies all data to this new table, and swaps it with the existing one, with minimum impact.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

remove on its own

---
## 4. Extend database user permissions

The same **MySQL user** the agent already uses for monitoring must have permission to run the approved ALTER statements. Connect to the target database server and run the he GRANT statements below:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

type: the he

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