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
Situation Awareness
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
Help Center/ GeminiDB/ GeminiDB Redis API/ Working with GeminiDB Redis API/ Parameter Management/ Modifying Parameters of GeminiDB Redis Instances

Modifying Parameters of GeminiDB Redis Instances

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

To ensure optimal GeminiDB Redis performance, you can modify instance parameters based on service requirements.

Precautions

  • You can directly modify parameters on the parameter modification page of an instance.
  • Note that parameter values in default parameter templates cannot be changed.
  • Though parameter values in a default template cannot be changed, you can view details about a default parameter template.
  • If a custom parameter template is set incorrectly, the database startup may fail. You can re-configure the custom parameter template according to the configurations of the default parameter template.
CAUTION:

Exercise caution when modifying parameter values to prevent exceptions.

Modifying Parameters of an Instance

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. In the navigation pane on the left, choose Instances. On the displayed page, locate the instance whose parameters you want to modify and click its name.
  4. In the navigation pane, choose Parameters. On the displayed page, modify parameters listed in Table 1.

    Figure 1 Parameters
    • To save the modifications, click Save.
    • To cancel the modifications, click Cancel.
    • To preview the modifications, click Preview.
      Table 1 GeminiDB Redis instance parameters

      Parameter

      Effective upon Restart

      Default Value

      Value Range

      Description

      Exception

      AuthFailLockTime

      No

      5

      0–10,000

      Authentication failure lock time, in seconds. This parameter specifies the duration during which a suspicious IP address is locked. After the duration expires, the IP address is automatically unlocked.

      GeminiDB Redis instances in Redis Cluster do not support this parameter.

      BigkeysQuantityLimitation

      No

      100

      1–10,000

      Maximum number of big keys of the STRING, HASH, LIST, ZSET, SET, EXHASH, and STREAM data types that can be queried.

      GeminiDB Redis instances in Redis Cluster do not support this parameter.

      CompatibleMode

      No

      3

      0, 1, 2, 3

      Adaptation switch for the StackExchange.Redis client. If StackExchange.Redis reports error "Multiple databases are not supported on this server", change the parameter value to 0.

      GeminiDB Redis instances in Redis Cluster do not support this parameter.

      EnableAclDbDirect

      No

      no

      yes, no

      Whether to enable direct database access The default value is no.

      GeminiDB Redis instances in Redis Cluster do not support this parameter.

      MaxAuthFailTimes

      No

      5

      0–10,000

      Maximum number of authentication attempts permitted per connection. When the number of incorrect password attempts reaches the threshold, the instance will forbid access from a suspicious IP address for a short period of time. 0 indicates this function is disabled.

      GeminiDB Redis instances in Redis Cluster do not support this parameter.

      ProxyTimeout

      No

      0

      0–100,000

      Timeout (in seconds) when a proxy receives no response from a client. When the timeout reaches the threshold, the proxy proactively closes the connection. If the value is 0, the proxy will not proactively disconnect the connection.

      GeminiDB Redis instances in Redis Cluster do not support this parameter.

      enable-acl-direct

      No

      no

      yes, no

      Whether to enable direct database access The default value is no.

      Primary/Standby GeminiDB Redis instances and GeminiDB Redis instances in Redis Cluster do not support this parameter..

      bigkeys-composite-threshold

      No

      1024

      1–2,147,483,647

      If the number of elements in a HASH, LIST, ZSET, SET, or STREAM key is greater than the value of this parameter, the key is identified as a big key. The default value is 1024.

      -

      bigkeys-string-threshold

      No

      102400

      1–2,147,483,647

      If the size of a STRING key is greater than the value of this parameter, the key is determined as a big key. The unit is byte. The default value is 102400.

      -

      databases

      No

      1000

      1–1,000

      Maximum number of supported databases

      -

      key-scan-batch

      No

      5000

      1–2,147,483,647

      Number of keys scanned each time

      -

      maxmemory-policy

      Yes

      noeviction

      noeviction

      Key discarding policy after storage space is used up. GeminiDB Redis instance storage can be scaled up in seconds. After storage space is used up, the instance becomes read-only and its service data is retained. Autoscaling will be available later.

      -

      notify-keyspace-events

      No

      -

      Combination of A, K, E, g, $, l, s, h, z, x, e, and t

      Type of an event to be listened on. The default value is empty, indicating that the parameter does not take effect. Combination of A, K, E, g, $, l, s, h, z, x, e, and t

      -

      slowlog-threshold

      No

      300000

      80,000–100,000,000

      Time threshold (in us) used to define when slow queries are logged on the console. A small value may affect instance performance. You are advised to retain the default value.

      -

  5. After parameters are modified, click Change History to view parameter modification details.

    For details about how to view parameter modification details, see Viewing Parameter Change History.
    NOTICE:

    After you modify instance parameters, the modifications immediately take effect for the instance.

    Check the value in the Effective upon Restart column.
    • If the value is Yes and the instance status on the Instances page is Parameter change. Pending reboot, you must reboot the instance for the modifications to take effect.
    • If the value is No, the modifications take effect immediately.

Modifying a Custom Parameter Template and Applying It to an Instance

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. In the navigation pane on the left, choose Parameter Templates.
  4. Click the Custom Templates tab, locate the parameter template you want to modify, and click its name.
  5. Change parameter values as required.

    Figure 2 Editing a parameter template

    • To save the modifications, click Save.
    • To cancel the modifications, click Cancel.
    • To preview the modifications, click Preview.
      Figure 3 Preview Change

  6. After parameters are modified, click Change History to view parameter modification details.

    For details about how to view parameter modification details, see Viewing Parameter Change History.
    NOTICE:
    • The modifications take effect only after you apply the parameter template to your instance. For details, see Applying a Parameter Template.
    • The change history page displays only the modifications of the last seven days.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback