Functions

GaussDB(DWS) enables you to use this service through various methods, such as the GaussDB(DWS) management console, GaussDB(DWS) client, and REST APIs. This section describes the main functions of GaussDB(DWS).

Cluster Management

A data warehouse cluster contains nodes with the same flavor in the same subnet. These nodes jointly provide services. GaussDB(DWS) provides a professional, efficient, and centralized management console, allowing you to quickly apply for clusters, easily manage data warehouses, and focus on data and services.

Main functions of cluster management are described as follows:

  • Creating Clusters

    You can specify the node flavor and node quantity based on service requirements to quickly create a cluster You can also purchase a discount package to create a cluster.

  • Managing Snapshots

    A snapshot is a complete backup that records point-in-time configuration data and service data of a data warehouse cluster. A snapshot can be used to restore a cluster at a certain time. You can manually create snapshots for a cluster or enable automatic snapshot creation (periodic). Automatic snapshots have a limited retention period. You can copy automatic snapshots to generate manual snapshots for long-term retention.

    When you restore a cluster from a snapshot, the system creates a new cluster with the same flavor and node quantity as the original one, and imports the snapshot data.

    You can delete snapshots that are no longer needed to release the storage space.

  • Scaling Out Clusters

    As the service volume increases, the current scale of a cluster may not meet service requirements. In this case, you can scale out the cluster by adding compute nodes to it. Services are not interrupted during the scale-out.

  • Restarting Clusters

    Restarting a cluster may cause data loss in running services. If you have to restart a cluster, ensure that there is no running service and all data has been saved.

  • Deleting Clusters

    You can delete a cluster when you do not need it. Deleting a cluster is risky and may cause data loss. Therefore, exercise caution when performing this operation.

GaussDB(DWS) allows you to manage clusters and snapshots in the following ways:

  • Management console

    Use the management console to access data warehouse clusters. After you have registered a cloud account, log in to the management console and choose Data Warehouse Service.

    For more information about cluster management, see Managing Clusters.

  • REST APIs

    Use REST APIs provided by GaussDB(DWS) to manage clusters. In addition, if you need to integrate GaussDB(DWS) into a third-party system for secondary development, use APIs to access the service.

    For details, see the Data Warehouse Service API Reference.

Enterprise-Class Data Warehouses and Compatibility with Standard SQL

After a data warehouse cluster is created, you can use the SQL client to connect to the cluster and perform operations such as creating a database, managing the database, importing and exporting data, and querying data.

GaussDB(DWS) provides petabyte-level (PB-level) high-performance databases with the following features:

  • MPP computing framework, hybrid row-column storage, and vectorized execution, enabling response to billion-level data correlation analysis within seconds
  • Optimized in-memory computing based on Hash Join of Bloom Filter, improving the performance by 2 to 10 times
  • Optimized communication between large-scale clusters based on telecommunication technologies, improving data transmission efficiency between compute nodes
  • Cost-based intelligent optimizers, helping generate the optimal plan based on the cluster scale and data volume to improve execution efficiency

GaussDB(DWS) has comprehensive SQL capabilities:

  • Supports SQL 92 and SQL 2003 standards, stored procedures, GBK and UTF-8 character sets, and SQL standard functions and OLAP analysis functions.
  • Compatible with the PostgreSQL ecosystem and supports interconnection with mainstream database ETL and BI tools provided by third-party vendors.

For details about the SQL syntax and database operation guidance, see the Data Warehouse Service Database Developer Guide.

Diverse Data Import Modes

GaussDB(DWS) supports efficient data import from multiple data sources. The following lists typical data import modes. For detailed introduction, see Import Modes in Data Warehouse Service Developer Guide.

  • Concurrently Importing Data from OBS
  • Using GDS to Import Data from a Remote Server
  • Running the INSERT Statement to Insert Data
  • Running the COPY FROM STDIN Statement to Import Data
  • Using a gsql Meta-Command to Import Data
  • Importing Data from MRS to a Data Warehouse Cluster
  • Importing Stream Data from DIS to GaussDB(DWS)
  • Using CDM to Migrate Data to GaussDB(DWS)
  • Using Database Schema Convertor (DSC) to Migrate SQL Scripts

In addition, GaussDB(DWS)supports data import using mainstream third-party ETL tools.

Application Programming Interfaces

You can call standard interfaces, such as Java Database Connectivity (JDBC) and Open Database Connectivity (ODBC) to access databases in clusters.

For details, see Using a JDBC Driver to Connect to a Database and Using an ODBC Driver to Connect to a Database.

High Reliability

  • Supports instance and data redundancy, ensuring zero single points of failure (SPOF) in the entire system.
  • Supports multiple data backups, and all data can be manually backed up to OBS.
  • Automatically isolates the faulty node, uses the backup to restore data, and replaces the faulty node when necessary.
  • Combines automatic snapshot creation and OBS storage, implementing cross-AZ disaster recovery (DR).

Security Management

  • Isolates tenants and controls access permissions to protect the privacy and data security of systems and users based on the network isolation and security group rules, as well as security hardening measures.
  • Supports SSL network connections, user permission management, and password management, ensuring data security at the network, management, application, and system layers.

    For details, see Configuring SSL Connection and Separating Rights of Roles.

Monitoring and Auditing

  • Monitoring Clusters

    GaussDB(DWS) integrates with Cloud Eye, allowing you to monitor compute nodes and databases in the cluster in real time. For details, see Monitoring Clusters.

  • Notifying Events

    GaussDB(DWS) interconnects with Simple Message Notification (SMN) so that you can subscribe to events and view events that are triggered. For details, see Notifying Events.

  • Audit Logs

Multiple Database Tools

GaussDB(DWS) provides the following self-developed tools. You can download the tool packages on the GaussDB(DWS) management console. For details about tools, see Data Warehouse Service Tool Guide.

  • gsql tool

    gsql is a command line SQL client tool running on the Linux operating system. It helps connect to, operate, and maintain the database in a data warehouse cluster.

  • Data Studio tool

    Data Studio is a Graphical User Interface (GUI) SQL client tool running on the Windows operating system. It is used to connect to the database in a data warehouse cluster, manage the database and database objects, edit, run, and debug SQL scripts, and view the execution plans.

  • GDS tool

    GDS is a data service tool provided by GaussDB(DWS). It works with the foreign table mechanism to implement high-speed data import and export.

    The GDS tool package needs to be installed on the server where the data source file is located. This server is called the data server or the GDS server.

  • DSC SQL syntax migration tool

    The DSC is a command-line tool running on the Linux or Windows OS. It is dedicated to providing customers with simple, fast, reliable application SQL script migration services. It parses SQL scripts of source database applications by using the built-in syntax migration logic, and migrates them to be applicable to GaussDB(DWS) databases.

    The DSC can migrate SQL scripts of Teradata, Oracle, Netezza, MySQL, and DB2 databases.