当前位置:网站首页>Redis(1)之Redis简介
Redis(1)之Redis简介
2022-07-05 01:04:00 【W大羊肖恩W】
目录
1.什么时redis
(1)NoSQL是什么
NoSQL,泛指非关系型的数据库。随着互联网web2.0网站的兴起,传统的关系数据库在处理web2.0网站,特别是超大规模和高并发的SNS类型的web2.0纯已经显得力不从心,出现了很多难以克服的问题,而非关系型的数据库则由于其本身的特点得到了非常迅速的发展。NoSQL数据库的产生就是为了解决大规模数据集合多重数据种类带来的挑战,特别是大数据应用难题。
(2)NoSQL概述
NoSQL适用场景:对数据高并发的读写海量数据的读写对数据高可扩展性的1.2.3.NoSQL 不适用场景:需要事务支持基于 sql 的结构化查询存储,处理复杂的关系,需要即席查询。
(3)Redis是什么
Redis(Remote Dictionary Server ),即远程字典服务,是一个开源的使用ANSIC语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。Redis是一种NoSQL;
(4)Redis概述
1.Redis 是一个开源的 key-value 存储系统。
2.和 Memcached 类似,它支持存储的 value 类型相对更多,包括 string(字符串)、 list(链表)、set(集合)、zset(sorted set --有序集合)和 hash(哈希类型)。
2.Redis的作用
(1)配合关系型数据库做高速缓存
(2)多样的数据结构存储持久化数据
3.Redis相关知识介绍
(1)redis在Linux中启动
a.前台登录
在bin目录中输入命令redis-server
同时前台显示告诉我们redis的端口号为6379
b.后台登录
redis在Linux中启动命令为redis-server /路径/redis-config
打开客户端命令为redis-cli(我的redis.conf在etc目录下)
两种启动方式中我们选择后台启动方式
(2)退出redis客户端
退出redis客户端的命令为exit
(3)关闭redis的两种方法
a.直接在客户端输入命令 shutdown
b.利用kill命令杀死redis进程kill -9 PID
(4)Redis中的数据库
(5)Redis中其它操作
(6)Redis的说明
Redis 是单线程+多路 IO 复用技术
边栏推荐
- To sort out messy header files, I use include what you use
- Inventory of more than 17 typical security incidents in January 2022
- [Yocto RM]11 - Features
- dotnet-exec 0.6.0 released
- Maximum number of "balloons"
- Pycharm professional download and installation tutorial
- MySQL uses the explain tool to view the execution plan
- SAP UI5 应用的主-从-从(Master-Detail-Detail)布局模式的实现步骤
- [untitled]
- Compare whether two lists are equal
猜你喜欢

dotnet-exec 0.6.0 released

Expose testing outsourcing companies. You may have heard such a voice about outsourcing

Relationship between classes and objects

“薪资倒挂”、“毕业生平替” 这些现象说明测试行业已经...

Talking about JVM 4: class loading mechanism

实战模拟│JWT 登录认证

小程序直播 + 电商,想做新零售电商就用它吧!

整理混乱的头文件,我用include what you use

Playwright之录制

2022.07.03 (LC 6108 decryption message)
随机推荐
||Interview questions you will encounter
What happened to those who focused on automated testing?
RB technology stack
Basic operations of database and table ----- delete index
[wave modeling 2] three dimensional wave modeling and wave generator modeling matlab simulation
Analysis and comparison of leetcode weekly race + acwing weekly race (t4/t3)
The most complete regular practical guide of the whole network. You're welcome to take it away
[circuit design] optocoupler use and circuit design summary
当产业互联网时代真正发展完善之后,将会在每一个场景见证巨头的诞生
Global and Chinese markets of emergency rescue vessels (errv) 2022-2028: Research Report on technology, participants, trends, market size and share
Paxos 入门
各大主流编程语言性能PK,结果出乎意料
【FPGA教程案例10】基于Verilog的复数乘法器设计与实现
Global and Chinese markets of radiation linear accelerators 2022-2028: Research Report on technology, participants, trends, market size and share
Apifox (postman + swagger + mock + JMeter), an artifact of full stack development and efficiency improvement
程序员SQL数据脚本编码能力弱,BI做不出来怎么办?
User login function: simple but difficult
Oracle case: SMON rollback exception causes instance crash
Discrete mathematics: propositional symbolization of predicate logic
Binary conversion problem