kill -9或者断电等原因异常,es在重启后,会通过translog来进行数据恢复。 默认的恢复速度是较慢的,可以设置indices.recovery.current_streams:10增大恢复的线程数,还可以设置indices.recovery的其他参数加快恢复的速度。 但是某些情况下,如lu ...
分类:
其他好文 时间:
2017-04-10 23:35:37
阅读次数:
550
如果你是一个Slick用户,或者你是一个数据库编程人员正在尝试进入函数式编程模式,那么FunDA可能会帮到你。 目前市面上FRM(Functional Relational Mapper),即函数式的数据库处理工具库的选择并不多,Typesafe公司的Slick可能是最通用的选择了。整体上来说:Sl ...
分类:
其他好文 时间:
2017-04-08 22:40:21
阅读次数:
158
Ogg Vorbis is a completely open, patent-free, professional audio encoding and streaming technologyCopy-on-write (COW), sometimes referred to as implic ...
分类:
其他好文 时间:
2017-04-01 15:00:00
阅读次数:
317
用DX9画三角形,三个顶点的顺序有要求吗下面是全部代码,在 InitVB 函数中被注释掉的数组是我写的,没注释掉的是书上的代码,经过试验我的坐标不能显示出图形,而书上的坐标可以,这是为什么? #include<Windows.h> #include<tchar.h> #include<d3d9.h> ...
分类:
其他好文 时间:
2017-03-27 15:38:16
阅读次数:
214
Java NIO Channel Java NIO Channels are similar to streams with a few differences: You can both read and write to a Channels. Streams are typically one ...
分类:
编程语言 时间:
2017-03-17 19:20:09
阅读次数:
163
LiveMediaStreamer is an open source multimedia framework that allows the manipulation of multiple audio and video streams in real-time in many possibl ...
分类:
其他好文 时间:
2017-02-17 09:59:46
阅读次数:
181
上篇我们讨论了静态数据源(Static Source, snapshot)。这种方式只能在预知数据规模有限的情况下使用,对于超大型的数据库表也可以说是不安全的资源使用方式。Slick3.x已经增加了支持Reactive-Streams功能,可以通过Reactive-Streams API来实现有限内 ...
分类:
其他好文 时间:
2017-02-14 13:18:46
阅读次数:
200
--查看内存相关参数SYS@ test10g> col name for a30SYS@ test10g> col value for a20SYS@ test10g> select name, value from v$parameter where name in('sga_max_size', ...
分类:
数据库 时间:
2017-02-06 20:49:55
阅读次数:
309
在上一节我们介绍了Iteratee。它的功能是消耗从一些数据源推送过来的数据元素,不同的数据消耗方式代表了不同功能的Iteratee。所谓的数据源就是我们这节要讨论的Enumerator。Enumerator是一种数据源:它会根据下游数据消耗方(Iteratee)的具体状态主动向下推送数据元素。我们 ...
分类:
编程语言 时间:
2017-02-02 13:05:33
阅读次数:
196
代码中DEFINE_string(backend,"lmdb","the backend for storing the result") 这句采用的gflags工具,为google开源工具,说白了作用就是将backend 这个string类型的变量的默认值为“lamdb”, 在执行没有这个参数的前 ...
分类:
其他好文 时间:
2017-01-25 22:57:37
阅读次数:
444