这既是一份pdf格式免费版Redis入门指南,也是一份最新整理版的Redis实战手册,如果你正好在寻求这样一封资料的话,那就赶紧点击本文下方的下载地址进行下载查阅吧!
温馨提示:
本文档为PDF格式文档,因此需确保在阅读之前你已经安装了PDF阅读器,如果尚未安装阅读器,建议下载福昕PDF阅读器或其他PDF阅读器进行安装后阅读。
Redis实战手册(redis入门指南)内容简介
第一章 Redis快速入门 7
1.1 Key-Value 存储系统简介 ................................................................................................ 7
1.1.1 Voldemort ....................................................................................................... 8
1.1.2 Dynamo .................................................................................................................... 8
1.1.3 memcachedb ............................................................................................................ 9
1.1.4 Cassandra ................................................................................................................. 9
1.1.5 memcached ............................................................................................................ 10
1.1.6 Hypertable .............................................................................................................. 10
1.2 为什么选择 Key-Value Store ....................................................................................... 11
1.2.1 大规模的互联网应用 ........................................................................................... 11
1.2.2 云存储 ..........................................................................................................11
1.2.3 Redis实际应用案例 .............................................................................................. 12
1.3 初识Redis ...............................................................................................................14
1.3.1 数据类型 ............................................................................................................... 14
1.3.2 持久化 ...........................................................................................................14
1.3.3 主从同步 ............................................................................................................... 14
1.3.4 性能 ............................................................................................................. 15
1.3.5 提供API 的语言 .................................................................................................... 15
1.3.6 适用场合 ............................................................................................................... 15
1.4 快速入门 ................................................................................................................ 17
1.4.1 安装Redis ............................................................................................................. 17
1.4.2 配置Redis ............................................................................................................. 18
1.4.3 操作数据库 ........................................................................................................... 21
第二章 Redis数据类型及操作 ............................................................................................. 22
2.1 前言 ................................................................................................................ 22
2.2 strings 类型及操作 .................................................................................................. 23
2.2.1 set ........................................................................................................................... 23
2.2.2 setnx ....................................................................................................................... 23
2.2.3 setex ....................................................................................................................... 24
2.2.4 setrange .................................................................................................................. 24
2.5.5 lrem......................................................................................................................... 34
2.4.6 ltrim ........................................................................................................................ 35
2.4.7 lpop ......................................................................................................................... 36
2.4.8 rpop ........................................................................................................................ 36
2.4.9 rpoplpush ................................................................................................................ 36
2.4.10 lindex .................................................................................................................... 37
2.4.11 llen ........................................................................................................................ 37
2.5 sets 类型及操作 ...................................................................................................... 37
2.5.1 sadd ........................................................................................................................ 37
2.5.2 srem ........................................................................................................................ 38
2.5.3 spop ........................................................................................................................ 38
2.5.4 sdiff ......................................................................................................................... 39
2.5.5 sdiffstore ................................................................................................................. 39
2.5.6 sinter ....................................................................................................................... 40
2.5.7 sinterstore .............................................................................................................. 40
2.5.8 sunion ..................................................................................................................... 40
2.5.9 sunionstore ............................................................................................................. 41
2.5.10 smove ................................................................................................................... 41
2.5.11 scard ..................................................................................................................... 42
2.5.12 sismember ............................................................................................................ 42
2.5.13 srandmember ....................................................................................................... 42
2.6 sorted sets 类型及操作 ........................................................................................... 42
2.6.1 zadd ........................................................................................................................ 43
2.6.2 zrem ........................................................................................................................ 43
2.6.3 zincrby .................................................................................................................... 44
2.6.4 zrank ....................................................................................................................... 44
……
Redis实战手册(redis入门指南)相关内容小编就为大家介绍到这里了,更多pdf格式文档资料下载,敬请关注东坡下载站!
- PC官方版
- 安卓官方手机版
- IOS官方手机版