1.必须时间同步主:ntpdate0.centos.pool.ntp.orgiburstcrontab-e023***/usr/sbin/ntpdate0.centos.pool.ntp.org>>/var/log/ntpdate.log从:ntpdate0.centos.pool.ntp.orgiburstcrontab-e023***/usr/sbin/ntpdate0.centos.pool.ntp.org>>/var/log/ntpdate.log2.数..
分类:
数据库 时间:
2015-09-09 14:53:50
阅读次数:
249
今天用rails连接mysql后,rake db:create出现这个错误Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=...
分类:
数据库 时间:
2015-09-09 10:59:13
阅读次数:
221
1、获取手机分辨率
public?static?String?getDisplayMetrix(Context?context)?{
????if?(Constant.Screen.SCREEN_WIDTH?==?0?||?Constant.Screen.SCREEN_HEIGHT?==?0)?{
????????if?(...
分类:
移动开发 时间:
2015-09-07 14:33:05
阅读次数:
221
Buffer Cache存放真正数据的缓冲区,shared Pool里面存放的是sql指令(LC中一次编译,多次运行,加快处理性能,cache hit ratio要高),而buffer cache里面存放真正的查询结果。Buffer Cache:由彼此独立的三个子cache(subcaches,也叫...
分类:
系统相关 时间:
2015-09-07 10:51:20
阅读次数:
196
题目链接 现在做这个题目真是千万只草泥马在心中路过 这个与上面一题差不多 这个题目是求e的第100个分数表达式中分子的各位数之和 What is most surprising is that the important mathematical constant,e = [2; 1,2,1, 1,...
分类:
其他好文 时间:
2015-09-06 19:51:48
阅读次数:
339
官网:http://www.tildeslash.com/libzdb/A small, easy to use Open Source Database Connection Pool Library with the following features:Thread safe Database...
分类:
数据库 时间:
2015-09-06 17:44:27
阅读次数:
290
对Java创建String是否放入String pool作代码性的试验。参考的优秀文章JAVA面试题解惑系列(二)——到底创建了几个String对象?public String(String original) APIpublic String intern() API版本说明JDK 1.7.0_7...
分类:
编程语言 时间:
2015-09-06 14:43:53
阅读次数:
153
innodb_buffer_pool_size 缓冲区的大小,一般为内存的70%-80%之间, 用来缓存表及索引数据,锁等级数据的最主要缓存空间。通过查看 show status like 'innodb_buffer_pool_%';innodb_log_file_size 日志文件大小,越大越好...
分类:
数据库 时间:
2015-09-05 15:01:05
阅读次数:
192
__NSAutoreleaseNoPool(): ... utoreleased with no pool in place - just leaking我的平台 mac os 10.6Xcode3.2.6编译时出的问题 2013-12-02 21:52:33.177 UniworkC[16...
分类:
其他好文 时间:
2015-09-04 14:15:51
阅读次数:
173
1) innodb_buffer_pool_size如果用Innodb,那么这是一个重要变量。相对于MyISAM来说,Innodb对于buffer size更敏感。MySIAM可能对于大数据量使用默认的key_buffer_size也还好,但Innodb在大数据量时用默认值就感觉在爬了。 Innod...
分类:
数据库 时间:
2015-09-02 15:57:22
阅读次数:
558