当前位置:网站首页>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 复用技术
边栏推荐
- Poap: the adoption entrance of NFT?
- 如果消费互联网比喻成「湖泊」的话,产业互联网则是广阔的「海洋」
- 当产业互联网时代真正发展完善之后,将会在每一个场景见证巨头的诞生
- 有哪些收益稳定的理财产品,这两个都不错
- [wave modeling 1] theoretical analysis and MATLAB simulation of wave modeling
- 程序员SQL数据脚本编码能力弱,BI做不出来怎么办?
- Several simplified forms of lambda expression
- Global and Chinese markets of emergency rescue vessels (errv) 2022-2028: Research Report on technology, participants, trends, market size and share
- What if the programmer's SQL data script coding ability is weak and Bi can't do it?
- 潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)
猜你喜欢

26.2 billion! These universities in Guangdong Province have received heavy support

Senior Test / development programmers write no bugs? Qualifications (shackles) don't be afraid of mistakes
![[wave modeling 2] three dimensional wave modeling and wave generator modeling matlab simulation](/img/50/b6cecc95e46fe1e445eb00ca415669.png)
[wave modeling 2] three dimensional wave modeling and wave generator modeling matlab simulation

7. Scala process control

SAP UI5 应用开发教程之一百零六 - 如何提高 SAP UI5 应用路由 url 的可读性试读版

Innovation leads the direction. Huawei Smart Life launches new products in the whole scene

Visual explanation of Newton iteration method

Several simplified forms of lambda expression

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

SAP UI5 应用的主-从-从(Master-Detail-Detail)布局模式的实现步骤
随机推荐
Introduction to the gtid mode of MySQL master-slave replication
创新引领方向 华为智慧生活全场景新品齐发
Expose testing outsourcing companies. You may have heard such a voice about outsourcing
Call Huawei order service to verify the purchase token interface and return connection reset
大专学历,33岁宝妈又怎样?我照样销售转测试,月入13k+
26.2 billion! These universities in Guangdong Province have received heavy support
“薪资倒挂”、“毕业生平替” 这些现象说明测试行业已经...
BGP comprehensive experiment
“薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
Take you ten days to easily complete the go micro service series (IX. link tracking)
Daily question brushing record (13)
【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
Paxos 入门
4. Scala writes HelloWorld in idea, in-depth analysis of accompanying objects, and association of source packages
Maximum number of "balloons"
视频网站手绘
Basic operations of database and table ----- create index
Analysis and comparison of leetcode weekly race + acwing weekly race (t4/t3)
Senior Test / development programmers write no bugs? Qualifications (shackles) don't be afraid of mistakes
Digital DP template