Clear RDS instance logs

Last Updated: Dec 06, 2017


For MySQL instances, all related Binlog logs are cleared. For SQL Server instances, a temporary backup is produced. When the temporary backup is finished, 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 more information, see Public parameters.


  • Request example

    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.