Clear RDS instance logs

Last Updated: Sep 14, 2017

Description

For MySQL instances, all related Binlog logs will be cleared. For SQL Server instances, a temporary backup is produced. After temporary backup, the RDS disk space is reduced.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: PurgeDBInstanceLog.
DBInstanceId String Yes Instance with disk space to be reduced.

Return parameters

Name Type Description
<Public Return Parameters> - For details, see Public parameters.

Example

  • Request example

    1. https://rds.aliyuncs.com/?Action=PurgeDBInstanceLog
    2. &DBInstanceId=rdsaiiabnaiiabn
    3. &<Public Request Parameters>
  • Return example

    XML format:

    1. <PurgeDBInstanceLogResponse>
    2. <RequestId>65BDA532-28AF-4122-AA39-B382721EEE64</RequestId>
    3. </PurgeDBInstanceLogResponse>

    JSON format:

    1. {
    2. "RequestId": " 65BDA532-28AF-4122-AA39-B382721EEE64"
    3. }
Thank you! We've received your feedback.