启动方式 ./bin/mongod -f mongodb.conf 会看到 about to fork child process, waiting until server is ready for connections.forked process: 2313child process sta ...
分类:
数据库 时间:
2017-12-14 15:46:26
阅读次数:
240
1.rpm包安装方式 rpm包的安装方式非常简单,这里以el6平台下的mysql-5.6.34版本为例,首先,要通过上述搜狐镜像地址下载到如下四个MySQL相关软件安装包。 a.下载安装包 MySQL-client-5.6.34-1.el6.x86_64.rpm MySQL-devel-5.6.34 ...
分类:
数据库 时间:
2017-11-26 14:56:26
阅读次数:
224
1.标签 值得注意的就是这几个属性,autoplay(自动播放)、loop(循环播放)、controls(默认视频操作控件)、poster(封面) 2.js接口 当然还有一些常用事件例如‘canplay’、‘waiting’、'ended'、‘error’。 ps:audio和video的操作是一模 ...
分类:
其他好文 时间:
2017-11-21 22:03:08
阅读次数:
143
最近玩一下sonar, centos上启动报错: can not run elasticsearch as root,log如下: sonar.log 2017.11.20 21:16:48 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsea ...
分类:
其他好文 时间:
2017-11-21 17:09:50
阅读次数:
547
第二轮最后interviewer 直接说you are done for today1st round:-google 1point3acresyou have 2 available operations, /3 and *2, given an integer n, what is the mi ...
分类:
其他好文 时间:
2017-11-19 11:17:15
阅读次数:
161
CyclicBarrier的字面意思是可以循环使用的Barrier,它要做的事情是让一个线程到达一个Barrier的时候被阻塞,直到最后一个线程到达Barrier,屏障才会放开,所有被Barrier拦截的线程才会继续运行。 CyclicBarrier的默认的构造器是CyclicBarrier(int ...
分类:
编程语言 时间:
2017-11-18 12:58:18
阅读次数:
113
通过详细的10046 trace发现,大量的io等待分布在以下数据文件上:Misses in library cache during parse: 0Elapsed times include waiting on following events: Event waited on Times M ...
分类:
数据库 时间:
2017-11-11 11:38:51
阅读次数:
240
生产环境一日常insert在业务量加倍之后非常缓慢,对有问题sql做awr报告和10046trace得出以下结论:In the 10046 trace, the execution of sql elapsed 27.85 secs, the waiting event held 12.41 sec ...
分类:
其他好文 时间:
2017-11-11 11:35:20
阅读次数:
328
$ vi /etc/init.d/redis 1 # chkconfig: 2345 90 10 2 # description: Redis is a persistent key-value database 3 4 PATH=/usr/local/bin:/sbin:/usr/bin:/bin ...
分类:
其他好文 时间:
2017-11-04 13:14:19
阅读次数:
193
多进程 Unix/Linux操作系统提供了一个fork()系统调用,它非常特殊。普通的函数调用,调用一次,返回一次,但是fork()调用一次,返回两次,因为操作系统自动把当前进程(称为父进程)复制了一份(称为子进程),然后,分别在父进程和子进程内返回。 想要在windows平台编写多进程,需要引入m ...
分类:
编程语言 时间:
2017-11-03 20:18:55
阅读次数:
322