Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

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

Hot Patch Update

Updated on 2025-02-17 GMT+08:00

Scenarios

You can install a hot patch for your GaussDB instance to rectify product issues. A hot patch can be loaded without interrupting services and can be used to resolve some emergent database kernel problems online without affecting services. Hot patch update supports manual rollback.

Precautions

  • During the update, hot patch packages will be downloaded and decompressed, which occupies certain disk space. It is recommended that the disk usage on the DN be less than or equal to the disk usage threshold minus 10%.
    NOTE:

    To check the current DN disk usage, go to the metric monitoring page on the management console.

    To obtain the disk usage threshold, contact technical support.

  • Version upgrade is unavailable if instance nodes are in an abnormal state.
  • If a hot patch conflicts with the backup, the differential backup and full backup of the instance will be stopped during hot patch installation.
  • During an upgrade or rollback, the following operations cannot be performed: scaling up storage, changing specifications, backing up data, resetting passwords, rebooting instances, and deleting instances.
  • You are advised to perform an upgrade during off-peak hours because there are more idle CPU, disk, and memory resources.
  • Hot patch update is available only when there is a hot patch for installation. If no hot patch is available, hot patch update is not displayed.
  • Hot patch update and rollback can be performed in batches for different patch versions of a single instance. During the update, hot patches are installed in ascending order of version numbers. During the rollback, hot patches are rolled back in descending order of version numbers.
  • If the upgrade fails, the system automatically rolls back the instance to the source version. You can contact Huawei Cloud technical support, and Huawei Cloud engineers will help you upgrade the instance if necessary.
  • After the upgrade is complete, you can manually roll back the upgrade.
  • A maximum of 30 instances can be selected at a time for batch upgrade.
  • GaussDB can also automatically install hot patches for an instance after the instance is created or after a cold patch is installed for it. You can submit a service ticket to request this function at Service Tickets > Create Service Ticket in the upper right corner of the management console. Note that automatic hot patch update is not supported for new instances created using backups of existing instances.

Procedure

Rollback Operations

If a rollback is required after the upgrade, perform the following operations to roll back an instance to the source version.

NOTE:

After the upgrade is rolled back, you can perform the upgrade again. If the problem persists, contact Huawei Cloud technical support, and Huawei Cloud engineers will help you upgrade the instance if necessary.

  1. In the Upgrade Instance dialog box, select Hot patch for Upgrade Method.
  2. Select Rollback for Action.
  3. Select the target version, enter YES, and click OK.
  4. On the Instances page, check the rollback status. After the rollback is complete, the instance status changes to Available.
  5. On the Instances page, click the name of the target instance. On the Basic Information page that is displayed, check that the target versions are not displayed in the Upgraded Hot Patch Version and Upgraded Kernel Hot Patch Version fields in the Configuration area.
  6. Check that the instance is properly connected and you can add, delete, update, and query data in the instance.

    1. Log in to the database. For details, see Connecting to an Instance Through DAS.
    2. Go to the SQL Query page.
      Figure 7 SQL query
    3. Create a database.

      CREATE DATABASE database_name;

      In this example, run the following command to create a database named db_tpcds:

      CREATE DATABASE db_tpcds;

      Switch to the newly created database in the upper left corner.

      Figure 8 Switching to the new database
    4. Create a table and add, delete, update, and query data in the table.
      1. Create a schema.

        CREATE SCHEMA myschema;

      2. Create a table named mytable that has only one column. The column name is firstcol and the column type is integer.

        CREATE TABLE myschema.mytable (firstcol int);

      3. Insert data into the table.

        INSERT INTO myschema.mytable values (100);

      4. View the data in the table.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   100    |
      5. Update data in the table.

        UPDATE myschema.mytable SET firstcol = 200;

      6. View the data in the table again.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   200    |
      7. Drop the table.

        DROP TABLE myschema.mytable;

  1. On the Instances page, select the target instances and click Batch Upgrade.
  2. In the Batch Upgrade dialog box, select Hot patch for Upgrade Method and Rollback for Action, select a target version, enter YES, and click OK.

  3. On the Instances page, check the rollback status. After the rollback is complete, the instance status changes to Available.
  4. On the Instances page, click the name of the target instance. On the Basic Information page that is displayed, check that the target versions are not displayed in the Upgraded Hot Patch Version and Upgraded Kernel Hot Patch Version fields in the Configuration area.
  5. Check that the instance is properly connected and you can add, delete, update, and query data in the instance.

    1. Log in to the database. For details, see Connecting to an Instance Through DAS.
    2. Go to the SQL Query page.
      Figure 9 SQL query
    3. Create a database.

      CREATE DATABASE database_name;

      In this example, run the following command to create a database named db_tpcds:

      CREATE DATABASE db_tpcds;

      Switch to the newly created database in the upper left corner.

      Figure 10 Switching to the new database
    4. Create a table and add, delete, update, and query data in the table.
      1. Create a schema.

        CREATE SCHEMA myschema;

      2. Create a table named mytable that has only one column. The column name is firstcol and the column type is integer.

        CREATE TABLE myschema.mytable (firstcol int);

      3. Insert data into the table.

        INSERT INTO myschema.mytable VALUES (100);

      4. View the data in the table.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   100    |
      5. Update data in the table.

        UPDATE myschema.mytable SET firstcol = 200;

      6. View the data in the table again.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   200    |
      7. Drop the table.

        DROP TABLE myschema.mytable;

  1. In the Upgrade Instance dialog box, select Hot patch for Upgrade Method.
  2. Select Rollback for Action.
  3. Select the target version, enter YES, and click OK.
  4. On the Instances page, check the rollback status. After the rollback is complete, the instance status changes to Available.
  5. On the Instances page, click the name of the target instance. On the Basic Information page that is displayed, check that the target versions are not displayed in the Upgraded Hot Patch Version and Upgraded Kernel Hot Patch Version fields in the Configuration area.
  6. Check that the instance is properly connected and you can add, delete, update, and query data in the instance.

    1. Log in to the database. For details, see Connecting to an Instance Through DAS.
    2. Go to the SQL Query page.
      Figure 7 SQL query
    3. Create a database.

      CREATE DATABASE database_name;

      In this example, run the following command to create a database named db_tpcds:

      CREATE DATABASE db_tpcds;

      Switch to the newly created database in the upper left corner.

      Figure 8 Switching to the new database
    4. Create a table and add, delete, update, and query data in the table.
      1. Create a schema.

        CREATE SCHEMA myschema;

      2. Create a table named mytable that has only one column. The column name is firstcol and the column type is integer.

        CREATE TABLE myschema.mytable (firstcol int);

      3. Insert data into the table.

        INSERT INTO myschema.mytable values (100);

      4. View the data in the table.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   100    |
      5. Update data in the table.

        UPDATE myschema.mytable SET firstcol = 200;

      6. View the data in the table again.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   200    |
      7. Drop the table.

        DROP TABLE myschema.mytable;

  1. On the Instances page, select the target instances and click Batch Upgrade.
  2. In the Batch Upgrade dialog box, select Hot patch for Upgrade Method and Rollback for Action, select a target version, enter YES, and click OK.

  3. On the Instances page, check the rollback status. After the rollback is complete, the instance status changes to Available.
  4. On the Instances page, click the name of the target instance. On the Basic Information page that is displayed, check that the target versions are not displayed in the Upgraded Hot Patch Version and Upgraded Kernel Hot Patch Version fields in the Configuration area.
  5. Check that the instance is properly connected and you can add, delete, update, and query data in the instance.

    1. Log in to the database. For details, see Connecting to an Instance Through DAS.
    2. Go to the SQL Query page.
      Figure 9 SQL query
    3. Create a database.

      CREATE DATABASE database_name;

      In this example, run the following command to create a database named db_tpcds:

      CREATE DATABASE db_tpcds;

      Switch to the newly created database in the upper left corner.

      Figure 10 Switching to the new database
    4. Create a table and add, delete, update, and query data in the table.
      1. Create a schema.

        CREATE SCHEMA myschema;

      2. Create a table named mytable that has only one column. The column name is firstcol and the column type is integer.

        CREATE TABLE myschema.mytable (firstcol int);

      3. Insert data into the table.

        INSERT INTO myschema.mytable VALUES (100);

      4. View the data in the table.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   100    |
      5. Update data in the table.

        UPDATE myschema.mytable SET firstcol = 200;

      6. View the data in the table again.

        SELECT * FROM myschema.mytable;

           | firstcol | 
        ---+----------+
        1  |   200    |
      7. Drop the table.

        DROP TABLE myschema.mytable;

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback