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

Disk Caching

Updated on 2024-12-18 GMT+08:00

The following parameters are supported only by clusters of version 9.1.0 or later.

enable_disk_cache

Parameter description: Specifies whether to enable file caching. Setting this parameter to on only takes effect when enable_aio_scheduler is set to on and obs_worker_pool_size is greater than or equal to 4.

Type: USERSET

Value range: Boolean

Default value: off

enable_disk_cache_recovery

Parameter description: Specifies whether file caching can be restored when the cluster is restarted.

Type: USERSET

Value range: Boolean

Default value: off

disk_cache_block_size

Parameter description: Specifies the size of a single block cached in the file system, in KB.

Type: POSTMASTER

Value range: an integer ranging from 8 to 8 x 1024 x 1024 x 1024

Default value: 1MB

disk_cache_max_size

Parameter description: Specifies the total caching size of the file system, in KB.

Type: SIGHUP

Value range: an integer ranging from 1 GB to 1 PB

Default value: 1/3 of the EVS disk capacity

NOTE:

The EVS capacity is divided into two parts: 1/3 x 2 replicas are used to store local persistent data (such as column-store indexes, row-store tables, and local column-store tables), and the other 1/3 is reserved for cache.

disk_cache_max_open_fd

Parameter description: Specifies the maximum number of files that can be concurrently opened in the cache of the file system.

Type: POSTMASTER

Value range: an integer ranging from 0 to INT_MAX

Default value: 1000

disk_cache_a1out_min_ratio

Parameter description: Specifies the length ratio of the a1_out queue at its minimum in the LRU2Q algorithm cached in the file system (the actual minimum length of the queue is disk_cache_a1out_min_ratio x disk_cache_max_size).

Type: POSTMASTER

Value range: a double-precision floating-point number ranging from 0 to DOUBLE_MAX

Default value: 0.5

disk_cache_a1out_max_ratio

Parameter description: Specifies the length ratio of the a1_out queue at its maximum on the LRU2Q algorithm cached in the file system (the actual maximum length of the queue is disk_cache_a1out_max_ratio x disk_cache_max_size).

Type: POSTMASTER

Value range: a floating point number ranging from 0 to DOUBLE_MAX

Default value: 8

disk_cache_a1in_ratio

Parameter description: Specifies the length ratio of the a1_in queue of the LRU2Q algorithm cached in the file system.

Type: POSTMASTER

Value range: a floating point number ranging from 0 to 1

Default value: 0.25

disk_cache_base_paths

Parameter description: Specifies the path for storing cache files in file caching.

Type: POSTMASTER

Value range: a string

Default value: disk_cache

install_as_standby

Parameter description: Specifies whether the node is the standby one during startup.

Type: POSTMASTER

Value range: Boolean

on indicates setting the node as the standby one.

off indicates setting the node as the primary one.

Default value: off

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