Creating a Service Ticket

Scenarios

There are five types of service tickets that are used to request permissions on databases and sensitive columns, as well as request SQL modification, big data import modification, and data export.

  • If you are a common user, request permissions on databases first.
  • To modify SQL statements, you must have the permissions to execute SQL statements such as DML and DDL.

Procedure

  1. On the top menu bar, click Tickets.
  2. In the upper right corner of the page, click Create Ticket. The following uses Request SQL Modification as an example to describe how to create a ticket. The operations for other tickets are similar.
  3. In the displayed Create Ticket dialog box, choose Request SQL Modification and click OK to go to the permission application details page.
  4. On the displayed page, click Add Database. In the displayed database list, filter databases by permission type, environment type, and DB engine. Select your required database and click Add.
  5. On the details page, choose SQL text and enter SQL statements in the text box, or click to Upload file to upload a .sql file. After the file is successfully uploaded, the SQL file will be automatically added to the text box.
  6. In Estimated Affected Rows text box, enter the number of rows that may be affected in this data modification. Check the previous settings if there is a big difference between the estimated value and the actual value.
  7. In Reason for Modification text box, enter the reason for the SQL modification. Please enter the reason in detail to facilitate the approval.
  8. In Task Control Items, there are three Execution Modes.

    • Manually execution after approval: After SQL modification is approved, you need to manually perform the operation.
    • Automatically execution after approval: After SQL modification is approved, the system automatically performs the operation.
    • Execute at a specified time point: After SQL modification is approved, you can customize the execution time.

  9. Click Submit. The system automatically performs prechecks, with the check result and error types displayed in the lower part of the pre-check operation page.
  10. After checking and confirming the request information again, the system automatically performs approval operation, and processes transaction according to the preset approval process.
  • To modify SQL statements, you must have at least one of the following permissions: 1) data modification permission; 2) structure modification permission; 3) high-risk operation permission; and 4) O&M permission.
  • You can select a maximum of 10 databases.
  • In a single SQL modification task, you can modify the SQL statements of only the databases using the same DB engine.