云锦诚建站,专注安岳网站制作网站设计与营销型网站建设与优化
QQ :
532337155
电话:
028-86922220
首页
网站建设
网站建设案例
解决方案
网站制作报价
网站建设动态
关于我们
联系我们
安岳网站建设设计
将想法与焦点和您一起共享
Redis批量导入文本数据
# 查看导入的文本文件,里面是具体的redis命令
# cat 20180208.txt
hdel user.user.base 317986
hdel user.user.base 371149
hdel user.user.base 370964
hdel user.user.base 371291
hdel user.user.base 370906
hdel user.user.base 371035
hdel user.user.base 371086
hdel user.user.base 371042
hdel user.user.base 370838
hdel user.user.base 371347
hdel user.user.base 371065
hdel user.user.base 371280
hdel user.user.base 371307
在redis-cli客户端工具中,有管道选项
# redis-cli --help
--pipe Transfer raw Redis protocol from stdin to server.
执行数据导入
# cat 20180208.txt | /usr/bin/redis-cli --pipe
All data transferred. Waiting for the last reply...
Last reply received from server.
errors: 0, replies: 593
分享名称:Redis批量导入文本数据
网页路径:
http://scanyue.cn/article/gocpci.html
其他资讯
html怎么使用失去焦点属性onblur
AirTightCLOUDSERVICES
wireshark软件的安装和使用
android使用XmlPullParser来解析XML文件的示例
PHP介绍和Apache的Module、CGI与FastCGI
QQ咨询
在线咨询
官方微信
联系电话
座机
028-86922220
手机
13518219792
返回顶部