Database Autonomy Service (DAS) provides the inspection and scoring feature. You can use the feature to inspect and score all database instances on a daily basis. DAS allows you to specify database instances and inspection periods and manually initiate inspection and scoring. This helps you understand the status of database instances.

Prerequisites

  • One of the following database instances is available for inspection and scoring:
    • RDS MySQL
    • Self-managed MySQL database
    • PolarDB MySQL
    • ApsaraDB for Redis instance
  • The database instance is connected to DAS and is in the Accessed state. For more information, see Connect an Alibaba Cloud database instance to DAS.

Configure inspection and scoring

  1. Log on to the DAS console.
  2. In the left-side navigation pane, click Inspection and Scoring.
  3. On the Instance Inspection and Scoring page, configure inspection and scoring for your database instances.
    • Enable automatic inspection and scoring
      1. In the upper-right corner of the page, click Settings.
      2. In the Enable Inspection and Scoring dialog box, select the engine that the database instance runs and click Confirm. ss
        Note After you enable this feature, the system scores each connected instance once a day.
    • Manually initiate inspection and scoring
      1. Click Start Inspection.
      2. In the Select Instances section of the Instance Inspection dialog box, select one or more instances in the Available Instances section and click the Rightwards arrow icon to add the selected instances to the Selected Instances section.
      3. In the Inspection Time section, specify a time range.
        Note The start time of an inspection cannot be later than the current time. The minimum interval between the start time and the end time is 1 hour, and the maximum interval is 24 hours.
      4. Click Confirm. Manual inspections

View the results of inspection and scoring

After you enable the inspection and scoring feature, you can search for an instance by name or alias to view the inspection and scoring results within a specific period of time.
Note The inspection and scoring feature scores the health status of your instances based on an initial instance health score of 100. Points are deducted from the instance health score if specific conditions are met. For more information, see Scoring rules.
  • You can click Delete in the Actions column corresponding to the required instance to delete the results.
  • You can click Deduction Details in the Actions column corresponding to the required instance to view the deduction details in the Deduction Details dialog box.
  • You can click Report in the Actions column corresponding to the required instance to view the scoring report details in the Scoring Report dialog box.
  • You can click the ID of the required instance to view the performance trend of the instance on the Performance Trends tab. For more information, see Performance trends.
  • You can click the Export icon icon to download the inspection and scoring results to your computer.

Related API operations

GetInstanceInspections