当前位置:网站首页>memcached基础14

memcached基础14

2022-06-27 01:35:00 franket

add

添加不存在的KEY

add abc 0 0 8

qwertyui

STORED

get abc

VALUE abc 0 8

qwertyui

END

add abc 0 0 8

iuytrewq

NOT_STORED

get abc

VALUE abc 0 8

qwertyui

END

replace

替换已存在的KEY

get abc

VALUE abc 0 8

qwertyui

END

replace abc 0 0 9

asdfghjkl

STORED

get abc

VALUE abc 0 9

asdfghjkl

END

replace ui 0 0 8

asdfghjkl

CLIENT_ERROR bad data chunk

ERROR

gets

查看修改tag

get abc

VALUE abc 0 9

asdfghjkl

END

gets abc

VALUE abc 0 9 8

asdfghjkl

END

set abc 0 0 8

zxcvbnml

STORED

get abc

VALUE abc 0 8

zxcvbnml

END

gets abc

VALUE abc 0 8 9

zxcvbnml

END

原网站

版权声明
本文为[franket]所创,转载请带上原文链接,感谢
https://cloud.tencent.com/developer/article/2030760