-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
828 lines (503 loc) · 27 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/images/tab-icon/blog.png">
<link rel="icon" href="/images/tab-icon/blog.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="theme-color" content="#2f4154">
<meta name="author" content="JenkinWang">
<meta name="keywords" content="Jenkin Wang,jenkinwang,慵懒的程序猿">
<meta name="description" content="一只慵懒的程序猿">
<meta property="og:type" content="website">
<meta property="og:title" content="JenkinWang's Blog">
<meta property="og:url" content="https://jenkinwang.github.io/index.html">
<meta property="og:site_name" content="JenkinWang's Blog">
<meta property="og:description" content="一只慵懒的程序猿">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="JenkinWang">
<meta property="article:tag" content="Jenkin Wang,jenkinwang,慵懒的程序猿">
<meta name="twitter:card" content="summary_large_image">
<title>JenkinWang's Blog</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
<link rel="stylesheet" href="/css/main.css" />
<!-- 自定义样式保持在最底部 -->
<script id="fluid-configs">
var Fluid = window.Fluid || {};
var CONFIG = {"hostname":"jenkinwang.github.io","root":"/","version":"1.8.14","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"right","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"copy_btn":true,"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"baidu":"7ed5592b09af70dfe085339cb29b1318","google":"UA-127759237-1","gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":"XXMm2rtWBI6cupjbXDo12wMe-gzGzoHsz","app_key":"eUc4Yy11oCnWhPfvgCsIso4g","server_url":"https://xxmm2rtw.lc-cn-n1-shared.com","path":"window.location.pathname","ignore_local":true}},"search_path":"/local-search.xml"};
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 6.1.0"></head>
<body>
<header style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand" href="/">
<strong>一只慵懒的程序猿</strong>
</a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
首页
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
归档
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">
<i class="iconfont icon-category-fill"></i>
分类
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
标签
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
关于
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
<i class="iconfont icon-search"></i>
</a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle"> <i
class="iconfont icon-dark" id="color-toggle-icon"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div class="banner" id="banner" parallax=true
style="background: url('/images/banner/wallhaven-k7v9yq.png') no-repeat center center;
background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="page-header text-center fade-in-up">
<span class="h2" id="subtitle" title="Talk Is Cheap. Show Me The Code.">
</span>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div class="py-5" id="board"
style=margin-top:0>
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2022/04/11/RDS-MySQL%E6%95%B0%E6%8D%AE%E6%81%A2%E5%A4%8D/" target="_self">
RDS MySQL数据恢复
</a>
</h1>
<p class="index-excerpt">
<a href="/2022/04/11/RDS-MySQL%E6%95%B0%E6%8D%AE%E6%81%A2%E5%A4%8D/" target="_self">
确保已安装 MySQL 版本与 RDS MySQL 版本相同。 环境准备安装 Percona XtraBackup: 对于MySQL 5.7、5.6或5.5实例,安装 Percona XtraBackup 2.4 在线安装: 12345678910yum install https://repo.percona.com/yum/percona-release-latest.noarch.rp
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2022-04-11 17:53" pubdate>
2022-04-11
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/">数据库</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/MySQL/">MySQL</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2020/09/06/ES%E4%B8%AD%E7%9A%84%E7%B4%A2%E5%BC%95%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E7%AE%A1%E7%90%86/" target="_self">
ES中的索引生命周期管理
</a>
</h1>
<p class="index-excerpt">
<a href="/2020/09/06/ES%E4%B8%AD%E7%9A%84%E7%B4%A2%E5%BC%95%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E7%AE%A1%E7%90%86/" target="_self">
ILMILM :索引生命周期管理,即 Manage the index lifecycle 。 使用ILM应确保集群中的所有节点运行的是同一个版本,不然无法保证他们会按预期工作。 索引生命周期索引的生命周期有四个阶段: Hot:索引更新和查询很活跃。 Warm:索引不再更新,但仍然有查询 Cold:索引不再更新,只有很少的查询,而且查询速度也很慢 Delete:索引不需要了,可以安全的删除
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2020-09-06 17:26" pubdate>
2020-09-06
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Elasticsearch/">Elasticsearch</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2020/08/16/Elasticsearch%E8%87%AA%E5%AE%9A%E4%B9%89%E6%96%87%E6%A1%A3%E5%BE%97%E5%88%86%E5%B9%B6%E6%8E%92%E5%BA%8F/" target="_self">
Elasticsearch自定义文档得分并排序
</a>
</h1>
<p class="index-excerpt">
<a href="/2020/08/16/Elasticsearch%E8%87%AA%E5%AE%9A%E4%B9%89%E6%96%87%E6%A1%A3%E5%BE%97%E5%88%86%E5%B9%B6%E6%8E%92%E5%BA%8F/" target="_self">
大多数情况下,我们需要对查询结果排序,比方说按最新时间降序、按金额降序等。我们只需要对相应的字段 sort 即可。但有时候也会出现一些复杂的情况,比方说有A、B、C、D、E类数据,他想让你给这类数据重新定义优先级,按照B、E、D、A、C的顺序展示,并且每类数据内部按时间降序。然而最近我们也提出了一个类似这样的需求,查阅相关文档后,发现Elasticsearch里的function_socre函数可
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2020-08-16 19:21" pubdate>
2020-08-16
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Elasticsearch/">Elasticsearch</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2020/08/05/Elasticsearch%E4%B8%ADScript%E8%84%9A%E6%9C%AC%E6%89%A7%E8%A1%8C%E9%99%A4%E6%B3%95%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98/" target="_self">
Elasticsearch中Script脚本执行除法遇到的问题
</a>
</h1>
<p class="index-excerpt">
<a href="/2020/08/05/Elasticsearch%E4%B8%ADScript%E8%84%9A%E6%9C%AC%E6%89%A7%E8%A1%8C%E9%99%A4%E6%B3%95%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98/" target="_self">
最近有一个需求,需要修改ES文档中的金额,以前是以 元 为单位,现在要换算成以 万元 为单位,但并不是所有数据都需要做处理,有一个Excel存储着不需要处理的数据。我第一时间想到的就是用 Python 写一个脚本处理ES文档,噼里啪啦一顿操作之后,基本就实现了该功能。但是处理的结果并不是预期的那样。下面我简单的举一个例子来复现一下我所遇到的问题。 首先,创建一个索引 test , 12# 创建te
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2020-08-05 23:56" pubdate>
2020-08-05
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Elasticsearch/">Elasticsearch</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2019/01/01/%E4%BD%BF%E7%94%A8Python%E8%8E%B7%E5%8F%96%E5%BE%AE%E4%BF%A1%E5%A5%BD%E5%8F%8B%E5%B9%B6%E8%BF%9B%E8%A1%8C%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90/" target="_self">
使用Python获取微信好友并进行数据分析
</a>
</h1>
<p class="index-excerpt">
<a href="/2019/01/01/%E4%BD%BF%E7%94%A8Python%E8%8E%B7%E5%8F%96%E5%BE%AE%E4%BF%A1%E5%A5%BD%E5%8F%8B%E5%B9%B6%E8%BF%9B%E8%A1%8C%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90/" target="_self">
最近看到微信公众号推荐了些文章,有关于用Python爬取自己的微信好友,然后做了一些分析。其实之前我也有过这样的想法,一直没去实现。刚好今天元旦,回公司写了这么一个小项目。 其实获取微信好友很简单,有现成的模块直接使用,这是 itchat 的官网https://itchat.readthedocs.io/zh/latest/ 。首先通过 pip3 进行安装 1pip3 install itch
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2019-01-01 22:05" pubdate>
2019-01-01
</time>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">Python</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2018/12/25/%E8%AE%A9SQL%E9%A3%9E%E8%B5%B7%E6%9D%A5/" target="_self">
让SQL飞起来
</a>
</h1>
<p class="index-excerpt">
<a href="/2018/12/25/%E8%AE%A9SQL%E9%A3%9E%E8%B5%B7%E6%9D%A5/" target="_self">
作为一名JAVA开发者,对SQL的使用是必不可少的,当数量级别达到一定量的时候,一个好的SQL可以让程序跑的更顺畅。最近也不是很忙,就将双十一购买的这本《SQL进阶教程》阅读了前面一部分,给我的感受就是有种醍醐灌顶的感觉,也让我对SQL有了进一步的理解,里面的知识点很好的解决了在工作中经常会遇到的问题。下面是部分内容,推荐给大家。 使用高效的查询 参数是子查询时,使用EXISTS代替IN如果连接列
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2018-12-25 14:40" pubdate>
2018-12-25
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/">数据库</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/MySQL/">MySQL</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2018/11/27/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E6%8C%81%E4%B9%85%E5%8C%96/" target="_self">
Redis学习笔记---持久化
</a>
</h1>
<p class="index-excerpt">
<a href="/2018/11/27/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E6%8C%81%E4%B9%85%E5%8C%96/" target="_self">
将数据从内存中以某种形式同步到硬盘中,使得重启后可以根据硬盘中的记录恢复数据,这一过程就是持久化。 Redis支持两种方式的持久化: RDB方式:根据指定规则“定时”将内存中的数据存储在硬盘上; AOF方式:每次执行命令后将命令本身记录下来。 一、RDB方式 RDB方式的持久化是通过快照(snapshotting)完成的,当完成一定条件时Redis会自动将内存中的所有数据生成一份副本并存储在
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2018-11-27 16:47" pubdate>
2018-11-27
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/">数据库</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Redis/">Redis</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2018/11/26/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E8%BF%9B%E9%98%B6%E7%AF%87/" target="_self">
Redis学习笔记---进阶篇
</a>
</h1>
<p class="index-excerpt">
<a href="/2018/11/26/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E8%BF%9B%E9%98%B6%E7%AF%87/" target="_self">
一、事务1.MULTI命令Redis中的事务( transaction )是一组命令的集合。一个事务中的命令要么都执行,要么都不执行。Redis通过 MULTI 开启事务,之后的命令将被存储在等待执行的事务队列中,使用 EXEC 命令将等待执行的事务队列中的所有命令按照发送顺序依次执行。EXEC 命令的返回值就是这些命令的返回值组成的列表。返回值顺序和命令的顺序相同。 123456789101
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2018-11-26 00:42" pubdate>
2018-11-26
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/">数据库</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Redis/">Redis</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2018/10/29/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B/" target="_self">
Redis学习笔记---数据类型
</a>
</h1>
<p class="index-excerpt">
<a href="/2018/10/29/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B/" target="_self">
基础命令Redis 是 REmote DIctionary Server (远程字典服务器)的缩写,它以 字典结构 存储数据。现在我们来学习它的五种键值数据类型。学习之前先来了解几个基础命令。 先开启Redis服务: 1$ redis-server 接着开启Redis客户端: 1$ redis-cli 获取所有键: 1127.0.0.1:6379> KEYS * Redis
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2018-10-29 00:07" pubdate>
2018-10-29
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/">数据库</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Redis/">Redis</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<article class="col-12 col-md-12 mx-auto index-info">
<h1 class="index-header">
<a href="/2018/10/24/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E5%9F%BA%E7%A1%80%E4%B8%80/" target="_self">
Redis学习笔记---基础一
</a>
</h1>
<p class="index-excerpt">
<a href="/2018/10/24/Redis%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0-%E5%9F%BA%E7%A1%80%E4%B8%80/" target="_self">
Redis简介Redis是一个开源的、高性能的、基于键值对的缓存与存储系统,通过提供多种键值数据类型来适应不同场景下的缓存与存储需求。同时Redis的诸多高层级功能使其可以胜任消息队列、任务队列等不同角色。 Redis的特性1.键值数据类型 字符串类型 散列类型 列表类型 集合类型 有序集合类型 2.内存存储于持久化Redis数据库中的所有数据都是存储在内存中。由于内存的读写速度远快于硬盘,因此
</a>
</p>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2018-10-24 00:00" pubdate>
2018-10-24
</time>
</div>
<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>
<a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/">数据库</a>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Redis/">Redis</a>
</div>
</div>
</article>
</div>
<nav aria-label="navigation">
<span class="pagination" id="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/#board">2</a><a class="extend next" rel="next" href="/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>
</div>
</div>
</div>
</div>
</div>
<a id="scroll-top-button" aria-label="TOP" href="#" role="button">
<i class="iconfont icon-arrowup" aria-hidden="true"></i>
</a>
<div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">搜索</h4>
<button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-5">
<input type="text" id="local-search-input" class="form-control validate">
<label data-error="x" data-success="v"
for="local-search-input">关键词</label>
</div>
<div class="list-group" id="local-search-result"></div>
</div>
</div>
</div>
</div>
</main>
<footer class="text-center mt-5 py-3">
<div class="footer-content">
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
</div>
<div class="statistics">
<!-- LeanCloud 统计PV -->
<span id="leancloud-site-pv-container" style="display: none">
总访问量
<span id="leancloud-site-pv"></span>
次
</span>
<!-- LeanCloud 统计UV -->
<span id="leancloud-site-uv-container" style="display: none">
总访客数
<span id="leancloud-site-uv"></span>
人
</span>
</div>
</footer>
<!-- SCRIPTS -->
<script src="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.js" ></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.css" />
<script>
NProgress.configure({"showSpinner":false,"trickleSpeed":100})
NProgress.start()
window.addEventListener('load', function() {
NProgress.done();
})
</script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.min.js" ></script>
<script src="/js/events.js" ></script>
<script src="/js/plugins.js" ></script>
<!-- Plugins -->
<script src="/js/local-search.js" ></script>
<script src="/js/img-lazyload.js" ></script>
<script defer src="/js/leancloud.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2/lib/typed.min.js" ></script>
<script>
(function (window, document) {
var typing = Fluid.plugins.typing;
var title = document.getElementById('subtitle').title;
typing(title);
})(window, document);
</script>
<!-- Baidu Analytics -->
<script defer>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?7ed5592b09af70dfe085339cb29b1318";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!-- Google Analytics -->
<script defer>
window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) };
ga.l = +new Date;
ga('create', 'UA-127759237-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<!-- 主题的启动项 保持在最底部 -->
<script src="/js/boot.js" ></script>
</body>
</html>