当前位置:网站首页>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 复用技术
边栏推荐
- const、volatile和restrict的作用和用法总结
- [Yocto RM]10 - Images
- 小程序直播 + 电商,想做新零售电商就用它吧!
- Daily question brushing record (13)
- Grabbing and sorting out external articles -- status bar [4]
- [Yocto RM]11 - Features
- dotnet-exec 0.6.0 released
- Hand drawn video website
- Summary of the function and usage of const, volatile and restrict
- 那些一门心思研究自动化测试的人,最后都怎样了?
猜你喜欢

Reasons and solutions of redis cache penetration and avalanche

I was beaten by the interviewer because I didn't understand the sorting
![[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40](/img/e4/0bdee782a65028b2bc87db85d48738.png)
[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40

潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)

Complete knapsack problem (template)

Recursive execution mechanism
![[pure tone hearing test] pure tone hearing test system based on MATLAB](/img/1c/62ed6b3eb27a4dff976c4a2700a850.png)
[pure tone hearing test] pure tone hearing test system based on MATLAB

Implementation steps of master detail detail layout mode of SAP ui5 application

Safety learning week4

创新引领方向 华为智慧生活全场景新品齐发
随机推荐
【微处理器】基于FPGA的微处理器VHDL开发
Hill sort of sorting
Distributed base theory
潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)
华为百万聘请数据治理专家!背后的千亿市场值得关注
“薪资倒挂”、“毕业生平替” 这些现象说明测试行业已经...
Basic operations of database and table ----- delete index
Analysis and comparison of leetcode weekly race + acwing weekly race (t4/t3)
【海浪建模1】海浪建模的理论分析和matlab仿真
[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40
FEG founder rox:smartdefi will be the benchmark of the entire decentralized financial market
Poap: the adoption entrance of NFT?
测试部新来了个00后卷王,上了年纪的我真的干不过了,已经...
npm install报错 强制安装
Discrete mathematics: propositional symbolization of predicate logic
Visual explanation of Newton iteration method
小程序直播 + 电商,想做新零售电商就用它吧!
Talking about JVM 4: class loading mechanism
[pure tone hearing test] pure tone hearing test system based on MATLAB
Global and Chinese market of portable CNC cutting machines 2022-2028: Research Report on technology, participants, trends, market size and share