数据库
funkeke
这个作者很懒,什么都没留下…
展开
-
ES修改索引字段类型之后,reIndex数据如何提速
【代码】ES修改索引字段类型之后,reIndex数据如何提速。原创 2023-02-06 14:00:50 · 204 阅读 · 0 评论 -
redis使用lua脚本批量删除key
示例准备一些测试数据 如下:127.0.0.1:6379> keys *1) "test_03"2) "test_02"3) "test_04"4) "test_01"执行脚本/结果fangkeke@KK-MBP.local:~/Work/script $ redis-cli --eval /Users/fangkeke/Work/script/clear_cache.lua "test*"1) 1) "test_03" 2) (integer) 12) 1) "t原创 2021-07-22 14:26:10 · 1898 阅读 · 0 评论