| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Modify settings for a DB Instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
For information about the common parameters that all actions use, see Common Parameters.
The new storage capacity of the RDS instance.
Changing this parameter does not result in an outage and
the change is applied during the next maintenance window
unless the ApplyImmediately parameter is set
to true for this request.
MySQL
Default: Uses existing setting
Valid Values: 5-1024
Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.
Type: Integer
Oracle
Default: Uses existing setting
Valid Values: 10-1024
Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.
SQL Server
Cannot be modified.
If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance will be available for use, but may experience performance degradation. While the migration takes place, nightly backups for the instance will be suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a read replica for the instance, and creating a DB snapshot of the instance.
Type: Integer
Required: No
Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.
Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB Instance's current version.
Type: Boolean
Required: No
Specifies whether or not the modifications in this request and
any pending modifications are asynchronously applied
as soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB Instance.
If this parameter is passed as false, changes to the
DB Instance are applied on the next call to
RebootDBInstance,
the next maintenance reboot, or the next failure reboot,
whichever occurs first. See each parameter to determine when a change is applied.
Default: false
Type: Boolean
Required: No
Indicates that minor version upgrades will be applied automatically
to the DB Instance during the maintenance window.
Changing this parameter does not result in an outage except in the following case
and the change is asynchronously applied as soon as possible.
An outage will result if this parameter is set to true during the maintenance window,
and a newer minor version is available, and RDS has enabled auto patching for that engine version.
Type: Boolean
Required: No
The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.
Changing this parameter can result in an outage if you change from 0 to a non-zero value or from a non-zero value to 0.
These changes are applied during the next maintenance window
unless the ApplyImmediately parameter is set
to true for this request. If you change the parameter from one non-zero value to another
non-zero value, the change is asynchronously applied as soon as possible.
Default: Uses existing setting
Constraints:
Type: Integer
Required: No
The new compute and memory capacity of the DB Instance. To determine the instance classes that are available for a particular DB engine, use the DescribeOrderableDBInstanceOptions action.
Passing a value for this parameter causes an outage during the change and
is applied during the next maintenance window,
unless the ApplyImmediately parameter is specified
as true for this request.
Default: Uses existing setting
Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge
Type: String
Required: No
The DB Instance identifier. This value is stored as a lowercase string.
Constraints:
Type: String
Required: Yes
The name of the DB Parameter Group to apply to this DB Instance.
Changing this parameter does not result in an outage and the change
is applied during the next maintenance window
unless the ApplyImmediately parameter is set
to true for this request.
Default: Uses existing setting
Constraints: The DB Parameter Group must be in the same DB Parameter Group family as this DB Instance.
Type: String
Required: No
A list of DB Security Groups to authorize on this DB Instance. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.
Constraints:
Type: String list
Required: No
The version number of the database engine to upgrade to.
Changing this parameter results in an outage and the change
is applied during the next maintenance window
unless the ApplyImmediately parameter is set
to true for this request.
For major version upgrades, if a nondefault DB Parameter Group is currently in use, a new DB Parameter Group in the DB Parameter Group Family for the new engine version must be specified. The new DB Parameter Group can be the default for that DB Parameter Group Family.
Example: 5.1.42
Type: String
Required: No
The new Provisioned IOPS (I/O operations per second) value for the RDS instance.
Changing this parameter does not result in an outage and
the change is applied during the next maintenance window
unless the ApplyImmediately parameter is set
to true for this request.
Default: Uses existing setting
Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.
Type: Integer
If you choose to migrate your DB instance from using standard storage to using Provisioned IOPS, or from using Provisioned IOPS to using standard storage, the process can take time. The duration of the migration depends on several factors such as database load, storage size, storage type (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and the number of prior scale storage operations. Typical migration times are under 24 hours, but the process can take up to several days in some cases. During the migration, the DB instance will be available for use, but may experience performance degradation. While the migration takes place, nightly backups for the instance will be suspended. No other Amazon RDS operations can take place for the instance, including modifying the instance, rebooting the instance, deleting the instance, creating a read replica for the instance, and creating a DB snapshot of the instance.
Type: Integer
Required: No
The new password for the DB Instance master user. Can be any printable ASCII character except "/", "\", or "@".
Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.
Between the time of the request and the completion of the request,
the MasterUserPassword element exists in the
PendingModifiedValues element of the operation response.
Default: Uses existing setting
Constraints: Must be 8 to 41 alphanumeric characters (MySQL), 8 to 30 alphanumeric characters (Oracle), or 8 to 128 alphanumeric characters (SQL Server).
Note
Amazon RDS API actions never return the password, so this action provides a way to regain access to a master instance user if the password is lost.
Type: String
Required: No
Specifies if the DB Instance is a Multi-AZ deployment.
Changing this parameter does not result in an outage and the change
is applied during the next maintenance window
unless the ApplyImmediately parameter is set
to true for this request.
Constraints: Cannot be specified if the DB Instance is a read replica.
Type: Boolean
Required: No
The new DB Instance identifier for the DB Instance when renaming a DB Instance. This value is stored as a lowercase string.
Constraints:
Type: String
Required: No
Indicates that the DB Instance should be associated with the specified option group.
Changing this parameter does not result in an outage except in the following case and the change
is applied during the next maintenance window
unless the ApplyImmediately parameter is set
to true for this request. If the parameter change results in an option group that
enables OEM, this change can cause a brief (sub-second) period during which new connections
are rejected but existing connections are not interrupted.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance
Type: String
Required: No
The daily time range during which automated backups are created
if automated backups are enabled,
as determined by the BackupRetentionPeriod.
Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.
Constraints:
Type: String
Required: No
The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, then changing this parameter will cause a reboot of the DB Instance. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.
Default: Uses existing setting
Format: ddd:hh24:mi-ddd:hh24:mi
Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
Constraints: Must be at least 30 minutes
Type: String
Required: No
A list of EC2 VPC Security Groups to authorize on this DB Instance. This change is asynchronously applied as soon as possible.
Constraints:
Type: String list
Required: No
The following
elements are
returned in a DBInstance structure.
Specifies the allocated storage size specified in gigabytes.
Type: Integer
Indicates that minor version patches are applied automatically.
Type: Boolean
Specifies the name of the Availability Zone the DB Instance is located in.
Type: String
Specifies the number of days for which automatic DB Snapshots are retained.
Type: Integer
If present, specifies the name of the character set that this instance is associated with.
Type: String
Contains the name of the compute and memory capacity class of the DB Instance.
Type: String
Contains a user-supplied database identifier. This is the unique key that identifies a DB Instance.
Type: String
Specifies the current state of this database.
Type: String
The meaning of this parameter differs according to the database engine you use.
MySQL
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB Instance was created. This same name is returned for the life of the DB Instance.
Type: String
Oracle
Contains the Oracle System ID (SID) of the created DB Instance.
Type: String
Provides the list of DB Parameter Groups applied to this DB Instance.
Type: DBParameterGroupStatus list
Provides List of DB Security Group elements containing only
DBSecurityGroup.Name and DBSecurityGroup.Status subelements.
Type: DBSecurityGroupMembership list
Provides the inforamtion of the subnet group associated with the DB instance, including the name, descrption and subnets in the subnet group.
Type: DBSubnetGroup
Specifies the connection endpoint.
Type: Endpoint
Provides the name of the database engine to be used for this DB Instance.
Type: String
Indicates the database engine version.
Type: String
Provides the date and time the DB Instance was created.
Type: DateTime
Specifies the Provisioned IOPS (I/O operations per second) value.
Type: Integer
Specifies the latest time to which a database can be restored with point-in-time restore.
Type: DateTime
License model information for this DB Instance.
Type: String
Contains the master username for the DB Instance.
Type: String
Specifies if the DB Instance is a Multi-AZ deployment.
Type: Boolean
Provides the list of option group memberships for this DB Instance.
Type: OptionGroupMembership list
Specifies that changes to the DB Instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.
Type: PendingModifiedValues
Specifies the daily time range during which automated backups are
created if automated backups are enabled, as determined
by the BackupRetentionPeriod.
Type: String
Specifies the weekly time range (in UTC) during which system maintenance can occur.
Type: String
Specifies the accessibility options for the DB Instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
Type: Boolean
Contains one or more identifiers of the Read Replicas associated with this DB Instance.
Type: String list
Contains the identifier of the source DB Instance if this DB Instance is a Read Replica.
Type: String
If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.
Type: String
The status of a Read Replica. If the instance is not a for a read replica, this will be blank.
Type: DBInstanceStatusInfo list
Provides List of VPC security group elements that the DB Instance belongs to.
Type: VpcSecurityGroupMembership list
For information about the errors that are common to all actions, see Common Errors.
User already has a DB Instance with the given identifier.
HTTP Status Code: 400
DBInstanceIdentifier does not refer to an existing DB Instance.
HTTP Status Code: 404
DBParameterGroupName does not refer to an existing DB Parameter Group.
HTTP Status Code: 404
DBSecurityGroupName does not refer to an existing DB Security Group.
HTTP Status Code: 404
HTTP Status Code: 400
Specified DB Instance class is not available in the specified Availability Zone.
HTTP Status Code: 400
The specified DB Instance is not in the available state.
HTTP Status Code: 400
The state of the DB Security Group does not allow deletion.
HTTP Status Code: 400
DB Subnet Group does not cover all availability zones after it is created because users' change.
HTTP Status Code: 400
The specified option group could not be found.
HTTP Status Code: 400
Provisioned IOPS not available in the specified Availability Zone.
HTTP Status Code: 400
Request would result in user exceeding the allowed amount of storage available across all DB Instances.
HTTP Status Code: 400
https://rds.amazonaws.com/
?Action=ModifyDBInstance
&DBInstanceIdentifier=simcoprod01
&AllocatedStorage=50
&Version=2013-05-15
&ApplyImmediately=false
&SignatureVersion=2
&SignatureMethod=HmacSHA256
&Timestamp=2011-05-23T08%3A02%3A09.574Z
&AWSAccessKeyId=<AWS Access Key ID>
&Signature=<Signature>
<ModifyDBInstanceResponse xmlns="http://rds.amazonaws.com/doc/2013-05-15/">
<ModifyDBInstanceResult>
<DBInstance>
<ReadReplicaDBInstanceIdentifiers/>
<LatestRestorableTime>2011-05-23T08:00:00Z</LatestRestorableTime>
<Engine>mysql</Engine>
<PendingModifiedValues>
<AllocatedStorage>50</AllocatedStorage>
</PendingModifiedValues>
<BackupRetentionPeriod>1</BackupRetentionPeriod>
<MultiAZ>false</MultiAZ>
<LicenseModel>general-public-license</LicenseModel>
<DBInstanceStatus>available</DBInstanceStatus>
<EngineVersion>5.1.50</EngineVersion>
<Endpoint>
<Port>3306</Port>
<Address>simcoprod01.cu7u2t4uz396.us-east-1.rds.amazonaws.com</Address>
</Endpoint>
<DBInstanceIdentifier>simcoprod01</DBInstanceIdentifier>
<DBParameterGroups>
<DBParameterGroup>
<ParameterApplyStatus>in-sync</ParameterApplyStatus>
<DBParameterGroupName>default.mysql5.1</DBParameterGroupName>
</DBParameterGroup>
</DBParameterGroups>
<DBSecurityGroups>
<DBSecurityGroup>
<Status>active</Status>
<DBSecurityGroupName>default</DBSecurityGroupName>
</DBSecurityGroup>
</DBSecurityGroups>
<PreferredBackupWindow>00:00-00:30</PreferredBackupWindow>
<AutoMinorVersionUpgrade>true</AutoMinorVersionUpgrade>
<PreferredMaintenanceWindow>sat:07:30-sat:08:00</PreferredMaintenanceWindow>
<AvailabilityZone>us-east-1a</AvailabilityZone>
<InstanceCreateTime>2011-05-23T06:06:43.110Z</InstanceCreateTime>
<AllocatedStorage>10</AllocatedStorage>
<DBInstanceClass>db.m1.large</DBInstanceClass>
<MasterUsername>master</MasterUsername>
</DBInstance>
</ModifyDBInstanceResult>
<ResponseMetadata>
<RequestId>f61a020f-8512-11e0-90aa-eb648410240d</RequestId>
</ResponseMetadata>
</ModifyDBInstanceResponse>