tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

Berita Terkini dan Pengumuman
Catatan Rilis
Pengumuman
Pengenalan Produk
Ikhtisar
Keunggulan
Kasus Penggunaan
Mesin Penyimpanan
Product Series
Performa
Pemisahan Baca/Tulis
Deployment Multi-AZ
Wilayah dan AZ
Panduan Pembelian
Ikhtisar Penagihan
Metode Pembelian
Pembayaran Jatuh Tempo
Memulai
Membuat Instans TencentDB for Redis
Menghubungkan ke Instans TencentDB for Redis (melalui Jaringan Pribadi)
Panduan Pengoperasian
Ikhtisar Operasi
Koneksi SDK
Manajemen dan Pemeliharaan Instans
Peningkatan Instans
Manajemen Deployment Multi-AZ
Pencadangan dan Pemulihan
Manajemen akun
Konfigurasi Parameter
Manajemen Akses
Jaringan dan Keamanan
Pemantauan dan Peringatan Alarm
Replikasi Global
Service Agreement
Service Level Agreement
Terms of Service
Glosarium
DokumentasiTencent Cloud Distributed Cache (Redis OSS-Compatible)

Memcached Edition Command Compatibility

Mode fokus
Ukuran font
Terakhir diperbarui: 2026-03-17 18:11:00
Memcached Edition instances are compatible with the Memcached protocol and support the following commands: set, add, replace, append, prepend, cas, get, bget, gets, get_ext, gets_ext, delete, incr, decr.
Command
Compatible Version
Meaning
set
Memcached protocol 1.6
Set a key-value pair. If the key does not exist, it will create the key; if the key already exists, it will overwrite the old value.
add
Add a key-value pair to the cache, but only when the key does not exist. If the key already exists, however, the command does nothing.
replace
Replace a key-value pair in the cache, but only when the key already exists. If the key does not exist, however, the command does nothing.
append
Append data to the end of the existing value of a key. If the key does not exist, however, the command does nothing.
prepend
Prepend data to the beginning of the existing value of a key. If the key does not exist, however, the command does nothing.
cas
Compare and swap. This command first checks whether the current value of the key matches the provided value; if it does, the value is updated to the new one.
get
Retrieve the value of one or more keys from the cache. If no keys are found, an error will be returned.
bget
Batch Get. This is a binary protocol command used to retrieve the values of multiple keys from the cache.
gets
Similar to get, it obtains the value of a key in the cache and returns a version number.
get_ext
Extended binary protocol command that allows the client to specify more options to control the data retrieval process.
gets_ext
Extended command with versioning that allows the client to retrieve the value of a key while also obtaining a version number for subsequent atomic operations.
delete
Delete a key-value pair from the cache. If the key does not exist, however, the command does nothing.
incr
Increment the value of a key by a specified integer. If the key does not exist, an initial value can be specified. If the value of the key is not an integer, the operation will fail.
decr
Decrement the value of the key by the specified integer.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan