Archery configuration and usage tutorial

premise

Install Archery  https://blog.csdn.net/javanbme/article/details/112480484 

 

Use tutorial

https://archerydms.com/home/ You  can directly refer to the document. The following is my own practice here

1. Add an instance 

Instance types are divided into master database/slave database, supported database types are MySQL/MsSQL/Redis/PostgreSQL/Oracle/MongoDB/Phoenix, function support details can be viewed in the function list
Resource group: Instances need to be associated with resource groups to be associated with resources Group user access
Instance label: Control whether the instance is displayed in SQL on-line/query through labels that support online and query. Instances to use on-line and query need to be associated with tags

 

2. Add resource group

A resource group is a collection of a bunch of resource objects, which are used to isolate resource access rights after being associated with users. Generally, they can be divided according to project groups

 

3. New user

test /suiyun123

 

4. Resource group associated users/instances

Users must associate a resource group to access the instance resources in the resource group-associated object management can associate instances and users in batches-when adding users and instances, you can also associate resource groups in batches

 

5. Set up the approval process for ticket online and query

The project provides simple multi-level approval flow configuration. The approval process is related to resource groups and approval types. Different resource groups and approval types can be configured with different approval processes. The approval process is configured with permission groups, which can avoid the single point of approver problem

Click to change

 

6. System configuration (Inception, SQL online, SQL query, SQL optimization, other configurations)

 

 

7. SQL query

 

8.SQL audit

8.1 Create a database and t_user table

 

8.2 Execution exception prompts that the backup is not started

Solution: https://blog.csdn.net/javanbme/article/details/113058976

 

8.3 Execute immediately

8.4 Download Rollback SQL

 

9. SQL optimization

 

 

Guess you like

Origin blog.csdn.net/javanbme/article/details/113050284