Help Center/ Data Admin Service/ Getting Started/ Developing or Maintaining Databases
Updated on 2024-11-27 GMT+08:00

Developing or Maintaining Databases

DAS provides Development Tool and intelligent O&M to help you perform routine DB instance O&M and management.

Development Tool works an easy-to-use database client for developers. It provides diverse database development functions, including data and table structure synchronization, online editing, and intelligent prompts for SQL input.

Intelligent O&M is mainly designed for database administrators (DBAs) and provides the following database O&M functions: host and instance performance analysis, slow SQL and full SQL data analysis, real-time database performance analysis and diagnosis, and database history running data analysis, and more.

This section describes how to use DAS for RDS for MySQL instances.

Managing Databases

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Choose RDS and MySQL from the drop-down lists in the upper right corner.
  6. Locate the MySQL DB instance you want to log in to and click Log In in the Operation column.

    Figure 1 Logging in to a database

  7. On the top menu bar, click Database Management and click Change to select a database you want to operate.

    Figure 2 Database management

  8. Click the Objects tab to view objects such as tables, views, stored procedures, events, triggers, and functions.

    Figure 3 Objects

    For more operations, see Managing MySQL Databases.

Database O&M

Intelligent O&M is available for paid and free instances. Paid instances can enjoy more value-added functions. For details about how to set an instance as paid, see Setting an Instance as Paid.

The following describes how to use Intelligent O&M to view performance trend of an RDS for MySQL instance. For details, see Intelligent O&M

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane, choose Intelligent O&M > Instance List.

    Alternatively, on the Overview page, click Go to Intelligent O&M.

  5. In the upper right corner of the Instance List page, search for instances by engine type, instance name, or instance IP.

    Figure 4 Searching for instances

  6. Locate the box containing your target instance and click Details.
  7. On the Performance tab page, perform the following operations:

    • Enable monitoring by seconds.
      To improve the instantaneous accuracy of monitoring metrics, you can click Enable Monitoring by Seconds. In the displayed dialog box, toggle on Monitoring by Seconds, specify the interval, and click OK.
      Figure 5 Enabling monitoring by seconds
    • View the trends in metrics in the same time range on different days.

      You can select Select Date for Comparison, and specify the target comparison date and metrics to view trends in the metrics at the same time on different days.

      You can place the pointer over a time point in the trend chart to view the metric at the time point on different days.
      Figure 6 Performance comparison
    • View real-time performance of the instance.

      You can deselect Select Date for Comparison, set a time range or select 1h, 3h, or 12h to view real-time metrics of the instance.

      You can place the pointer over a time point in the trend chart to view the metric at this time point.
      Figure 7 Viewing performance metrics
    • Customize the time range you wish to view.
      After clicking , you can drag the mouse on the chart to select a period of time. Then, you can click Analyze to go to the Slow SQL Logs page and analyze slow query logs in the time period.
      Figure 8 Locating and analysis