Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Customizing Data Studio

Updated on 2025-01-09 GMT+08:00

In the navigation pane on the left, choose Settings > Preferences. You can customize Data Studio based on preferences.

Table 1 Functions of preferences

Preferences

Options

Description

General

Shortcut Keys

Modify or cancel the shortcut key. You cannot add shortcut keys.

For details about the default shortcut keys, see Customizing Data Studio.

Editor

Syntax Coloring

You can modify the highlight colors of comments, default values, non-reserved keywords, reserved keywords, data types, symbols, constants, and character strings.

SQL History

You can set the number of SQL history records and the number of SQL query characters.

  • Number of SQL history records

    Sets the number of queries that can be saved in historical records. After this parameter is modified, the modification takes effect for new queries.

    The value ranges from 1 to 1000. The default value is 50.

  • Number of SQL query characters

    Sets the number of characters of the queries saved in the SQL historical records. After this parameter is modified, the modification takes effect for new queries.

    The value ranges from 1 to 1000. The default value is 1000. If the characters are not limited, set the parameter to 0.

Template

Create, edit, or delete the abbreviation template. For details about how to use the template, see Using Templates.

Format

Sets the tab width and whether to convert tabs to spaces while performing indenting and un-indenting operation.

Transaction

Whether the automatic commit function is enabled.

  • Enable: Transactions are automatically submitted.
  • Disable: You need to manually submit or roll back the transaction.

Folding

Whether the SQL folding function is enabled.

Modification only takes effect in a newly opened editor. The editor which is already opened will remain with previous settings until restart.

  • Enable: SQL statements can be folded or unfolded.
  • Disable: SQL statements cannot be folded or unfolded.

Font

Setting the font.

The value ranges from 1 to 50. The default value is 10.

Auto Suggest

Set the recommended minimum number of characters.

This field indicates the minimum number of characters required to trigger automatic advice when a user enters an SQL statement.

The value ranges from 2 to 10. The default value is 2.

Security

Password

  • Whether the Permanently option is displayed in the Save Password drop-down list.
    • Yes: The Permanently option is displayed in the Save Password drop-down list in the connection window.
    • No: The Permanently option is displayed in the Save Password drop-down list in the connection window, and the saved password will be deleted.
  • Whether login is allowed after the password expires.
    • Yes: After the password expires, the user can still log in to Data Studio.
    • No: After the password expires, the user cannot log in to Data Studio.

Security Disclaimer

Whether the security disclaimer is enabled.

  • Enable: The security disclaimer is displayed each time you try to establish an insecure connection or perform a file operation.
  • Disable: You need to agree to the security implications that may arise due to insecure connection.

Environment

Session Setting

  • Setting the Data Studio and file encoding. The default encoding type is UTF-8
  • Whether the SQL assistant is enabled. The SQL assistant can provide suggestions or references for the content entered in the SQL terminal and stored procedure/function terminal.
  • Setting the interval for automatically saving the data in the SQL terminal and stored procedure/function terminal. The interval ranges from 2 to 60. The default value is 5.
  • Setting whether automatically save the result by encrypting the saved data
  • Setting the display of imported table data and restrictions on imported file data

Result Management

Query Results

  • Setting the number of results to be obtained: Obtain all results or a specified number of records
  • Setting the width of a column
    • Content Length: setting the width of a column based on the content length of the column
    • Custom Length: setting the minimum width of a column based on the value length in network mode. The unit is pixel.
  • Setting advanced copy result: copying the selected content and column title or row number.
  • Whether the query result contains the result data code. If the result data code is contained, the result data code option is available when you edit and view the table, and query the results.
  • Setting whether the query result contains the result data text mode. If the result data text mode is contained, the result data text mode is available when you query results (up to 30,000,000 characters are supported).
  • Setting whether the query result window overwrites the result set.
    • Overwrite Resultset: After an opened result set window is closed, a new result set window will be opened.
    • Retain Current: Opens a new result set window while the already opened result set window is retained.

Edit Table Data

Setting the table data saving mode.

  • Saving valid data. Invalid data is not saved and is highlighted for correction.
  • No data is saved when error occurs. Invalid data is highlighted for correction.

Import/Export

Export

  • Whether tablespace information is contained when DDL data is exported.
  • Whether the data export function is enabled.
  • Setting the export timeout period. The default value is 86400 seconds.
Table 2 Default shortcut keys of Data Studio

Function

Shortcut Key

Sorting the result sets of view tables, editing tables, and queries in ascending, descending, or server receiving order

Alt+Click

Opening the Help menu

Alt+H

Saving the SQL script

Ctrl+S

Opening the Edit menu

Alt+E

Compiling/Executing the SQL terminal statements

Ctrl+Enter

Find and Replace

Ctrl+F

Finding the previous one

Shift+F3

Finding the next one

F3

Redoing

Ctrl+Y

Copying the information of Execution Time and Status in the Edit Table Data tab

Ctrl+Shift+K

Copying the database object from the automatic recommendation list

Alt+U

Opening the Callstack, Breakpoints, or Variables pane

Alt+V

Opening the SQL script

Ctrl+O

Skipping a single step

F8

Stepping into

F7

Stepping out

Shift+F7

Commenting out or canceling the comment line

Ctrl+/

Locating the first element in Object Browser

Alt+Page Up or Alt+Home

Locating the last element in Object Browser

Alt+Page Down or Alt+End

Locating to row

Ctrl+G

Disconnecting the connection

Ctrl+Shift+D

Formatting (SQL and PL/SQL)

Ctrl+Shift+F

Changing to uppercase

Ctrl+Shift+U

Changing to lowercase

Ctrl+Shift+L

Updating the cells or columns in the Edit Table Data, Properties, or Results pane Click the cell or column header to enable this option.

F2

Closing the PL/SQL Viewer, View Table Data, Execute Query, or Properties tab

Shift+F4

Continuing the PL/SQL debugging

F9

Cutting content

Ctrl+X

Copying the name of the object modified in Object Browser or in the terminal. You can copy the selected data from the Terminal, Result, View Table Data, or Edit Table Data tab.

Ctrl+C

Copying the data in the Result, View Table Data, or Edit Table Data tab. The data contains/does not contain the column title and row number

Ctrl+Shift+C

Copying queries in the Edit Table Data tab

Ctrl+Alt+C

Copying content of the Variables tab

Alt+K

Copying the content of the Callstack tab

Alt+J

Copying the content of the Breakpoints tab

Alt+Y

Visualized interpretation plan

Alt+Ctrl+X

Displaying online help (user manual)

F1

Template

Alt+Ctrl+Space

Switching to the first SQL Terminal tab

Alt+S

Selecting All

Ctrl+A

Opening the Setting menu

Alt+G

Refreshing the Object Browser pane

F5

Searching for objects

Ctrl+Shift+S

Opening the Debugging menu

Alt+D

Debugging a template

F10

Debugging a database object

Ctrl+D

Highlighting Object Browser

Alt+X

Opening the File menu

Alt+F

Creating a connection

Ctrl+N

Opening the Run menu

Alt+R

Switching between the SQL Terminal tabs

Ctrl+Page Up or Ctrl+Page Down

Expanding or collapsing all objects

Ctrl+M

Pasting content

Ctrl+V

Collapsing objects to browse the navigation tree

Alt+Q

Performing execution

Ctrl+E

Displaying the execution plan and expense

Ctrl+Shift+X

Stopping a running query

Shift+Esc

Commenting/Canceling the comment line or the entire segment

Ctrl+Shift+/

Opening the list of automatically recommended database objects

Ctrl+Space

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback