Help Center > > User Guide> Distributed GaussDB(for MySQL) DB Instance Management (Development Tool)> Database Management

Database Management

Updated at: Jun 09, 2021 GMT+08:00

Function Overview

You can go to the Database Management page in either of the following ways:

  • In the database list of the Home page, locate the target database and click Manage in the Operation column.
  • Choose Database Management on the top menu bar.
Figure 1 Database Management
Table 1 Functions

No.

Description

1

Displays the name of the database opened on the current page. You can change the database to a non-system database in the current DB instance.

2

Displays the IP address, port number, and character set of the current DB instance.

3

Allows you to open the SQL window of the current database.

4

Periodically collects metadata such as databases, tables, and fields of the DB instance and stores the data to the databases of DAS.

Advantages:

  • Reduces queries on user databases and the impact on the performance of user databases.
  • Improves the search performance for DB instances that contain a large number of tables and supports pagination queries.

Only structural metadata is collected, which means that user's table data is not included.

5

Provides two functional modules: objects and metadata collection.

6

Allows you to perform operations.

Object List

If there are too many tables, the system will not collect the metadata and display the table list to mitigate the impact on database performance.

You can manage distributed GaussDB(for MySQL) DB instances and perform operations including creating, querying, and modifying objects.

For details on how to manage tables, see Table Management.

Metadata Collection

DAS periodically collects the metadata of DB instance databases, tables, and fields and stores the collected data in the DAS database. In addition, it collects only structural metadata, but not data in user tables, which ensures data security. Metadata collection delivers the following advantages:

  • Reduces queries on user databases and the impact on the performance of user databases.
  • Improves the search performance for DB instances that contain a large number of tables and supports pagination queries.

Procedure

  1. On the Database Management page, enable Auto Metadata Collection in the upper right corner and click the Metadata Collection tab.
  2. On the displayed page, click Collect Now to start the collection. You can also stop the collection or view collection details.

    • Clear Collected Data: Clears the collected data such as metadata, database structure, and table structure.
    • Delete Logs: Deletes logs. Deleted logs cannot be restored. Exercise caution when performing this operation.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel