Parameter groups
A parameter group is a named set of engine settings. Attach one parameter group to a database cluster at a time.
Concepts
- Parameter schema group — allowed parameters for an engine and version
- Parameter group — your values for that schema
- Database parameter group — the assignment of a group to a cluster
Default assignment
When you create a cluster, myStack attaches a default parameter group for the engine if one is configured.
To create a parameter group
- Choose Databases, Parameter Groups, then create a group.
- Enter a name.
- Choose a parameter schema group (for example, MySQL 5.7).
- Set parameter values.
- Choose Save.
To attach a parameter group to a cluster
- Open the cluster detail page.
- In Parameter Group, choose a group (or No parameter group to detach).
- Choose Save.
- If attaching a group, choose whether to restart the engine when static parameters change.
Note
Dynamic parameters apply without a restart. Static parameters require a restart to take effect.
Changing parameter values
Editing a parameter value in a parameter group that is already attached to one or more clusters does not automatically apply those changes to the existing clusters. This is intentional: it prevents accidental configuration changes from impacting production systems.
To apply updated parameters to a cluster
- Open the parameter group and choose Copy.
- Enter a name for the copy, then save.
- In the copied group, change the parameter values you need.
- Open the target cluster and assign the copied parameter group.
- If static parameters changed, choose whether to restart the engine.
Important
Clusters keep the parameter snapshot from when the group was attached. Only attaching (or re-attaching) a parameter group applies its current values to that cluster.