GaussDB OLTP cloud database supporting tool DAS

Table of contents

I. Introduction

2. Definition of DAS

1. Definition of DAS

2. Features of DAS

3. DAS Application Scenarios

1. Standard Edition

2. Enterprise Edition

4. Operation example (standard version)

1. Log in to the Huawei console and enter the account password

2. Add database instance link

3. Create a new object

4. SQL operation

5. Import and export

V. Summary

I. Introduction

Traditional database management software not only needs to be downloaded and installed, but also has relatively simple functions, and has lagged behind the development model of cloud services. Huawei GaussDB cloud database provides a supporting ecological tool data management service DAS. DAS provides a one-stop cloud database management platform for database development, operation and maintenance, and intelligent diagnosis through close integration with the database kernel, making it convenient for users to use and operate Huawei Cloud databases.

2. Definition of DAS

1. Definition of DAS

Data Admin Service (DAS for short) is a tool that provides visualized database operations, including basic SQL operations, advanced database management, intelligent operation and maintenance, etc. It aims to help users manage databases in an easy-to-use, safe, and intelligent way (connect to the network and open a browser, and you can use DAS anytime, anywhere, conveniently and quickly), greatly improving work efficiency, and making data management simple and safe.

2. Features of DAS

  • Easy management: realize the visual interface on the cloud to connect and manage databases
  • Easy to operate: easy and convenient to access data, and supports editing data in an Excel-like manner, SQL zero foundation can also perform table data editing and statistical analysis operations without barriers; supports saving commonly used SQL, and provides SQL templates, which can be referenced and executed at any time, easy to use.
  • High efficiency: realize cloud R&D testing, rapid deployment, quick access to database, and improve R&D efficiency.
  • Security protection: Data is managed through a dedicated cloud channel, and HUAWEI CLOUD strictly controls database access.
  • Operation security guarantee: Built-in security protection measures can effectively guarantee the stable operation of the database and make users feel more at ease in operation; for example, when a user executes a slow SQL, DAS will automatically set up a timeout mechanism to prevent database performance jitter caused by slow SQL execution taking too long.
  • Visual object management: navigate the tree structure, clearly display each object and realize the visual structure management function.

3. DAS Application Scenarios

1. Standard Edition

The best database client for developers , no need to install a local client, WYSIWYG visual experience, providing data and table structure synchronization, online editing, SQL input intelligent prompts and other rich database development functions.

  • Metadata management: library, table list, table size index size, stored procedure, function.
  • SQL optimization: SQL statement optimization and rewriting; index optimization suggestion; execution plan display.
  • SQL query window : intelligent SQL input prompts; online editing of query results; quick reuse of historical query records;
  • Synchronization (import and export): SQL attachment import of 10G size; data export of the whole database, specified table, query SQL and other methods; comparison and synchronization of table structure consistency between databases across instances
  • Data operation: quickly and automatically fill the test data of the table; based on binlog analysis, retrieve the data deleted by mistake
  • Object structure manipulation: online editing of visible and available table structures

2. Enterprise Edition

Data is the core asset of an enterprise. How to control access to sensitive data, realize database change security, perform retrospective auditing of operations, and reduce DBA labor costs are important demands of enterprises when the number of database instances reaches a certain scale.

The enterprise DevOPS platform provides database DevOPS platforms such as data protection, change review, self-promotion audit R&D self-service based on the minimum authority control and approval process mechanism, and helps enterprises realize standardized, high-efficiency, and ultra-safe management methods under large-scale databases.

  • Data access security: Employees do not have access to database login names and passwords, and they need to apply for permission first to query the database. It supports multi-dimensional query control such as the total number of queries per day, the total number of data rows, and the maximum number of rows returned by each query.
  • Sensitive data protection : Sensitive fields are automatically identified and marked; when employees perform queries and exports, sensitive data will be desensitized and displayed.
  • Change security : All operations on the library are recorded in audit logs, and the database operation behavior can be traced.
  • Operational audit : risk identification of changing SQL; business audit control; automatic detection of database water level during change execution; data cleaning of large data tables.
  • Improve efficiency and reduce costs : flexible customization of security risks and approval processes; empowerment of business owners and DBA roles on the database, delegating low-risk database change operation processes to business managers, reducing enterprise DBA labor costs.

4. Operation example (standard version)

This section mainly introduces the basic operation and use of DAS as a developer.

1. Log in to the Huawei console and enter the account password

2. Add database instance link

Step 1 : Select " Database > Data Management Service DAS "

The following figure shows two modules, one is development tools (for developers), and the other is DBA intelligent operation and maintenance (for DBA & operation and maintenance personnel). Select "Enter Developer Tools"

Step 2: Click "Add database instance login"

Step 3: Select the database engine, database source (instance), user name and password corresponding to the instance (remember the password), and click OK.

Step 4: Click "Login"

Step 5: Successfully log in to the DAS management interface

3. Create a new object

In the DAS management interface, we can create and manage database objects, etc.

Step 1: Click "New Database", fill in the database name and confirm.

Step 2: Create objects (tables, views, stored procedures, triggers, sequences) through "Library Management"

Or "SQL operation" interface to create objects (tables, views, stored procedures, triggers, sequences).

4. SQL operation

Open the "SQL Operation" interface, there will be SQL input prompts to assist in completing SQL writing.

Step 1: Click the "SQL Operation" button to open the SQL operation interface;

Step 2: In the editing area of ​​the SQL interface, we can perform SQL editing operations, such as queries, etc.

Step 3: Write SQL, DAS provides SQL prompt function;

Step 4: Press F8 on the keyboard, or click "Execute SQL (F8)" in the editing area to run, and the execution result can be obtained.

5. Import and export

In the import and export interface, we can import existing SQL statements into the database for execution, and export and save database files or SQL result sets.

1 ) import

Step 1: Create a new import task, which can import SQL files or CSV files;

Step 2: Select the file source, which can be imported locally or obtained from OBS;

Step 3: Select the database, and the imported file will be executed in the corresponding library.

2 ) Export:

Method 1: Export the database

Method 2: Export SQL result set

V. Summary

DAS tools are very powerful and comprehensive. Through the core capabilities and differentiated capabilities of DAS, it provides users with a comprehensive database management and operation and maintenance solution, making it easier for users to use and manage the Huawei Cloud GaussDB database, while improving the reliability and efficiency of the database.

--Finish.

Guess you like

Origin blog.csdn.net/GaussDB/article/details/131759700