原文:MySQL Scale
Out简介MySQL复制中较常见的复制架构有“一主一从”、“一主多从”、“双主”、“多级复制”和“多主环形机构”等,见下图;最常用,也最灵活的就要数“一主多从”复制架构了,其能满足多种需求,如:为不同的角色使用不同的备库(例如添加不同的索引或使用不同的存储引擎);把一台...
分类:
数据库 时间:
2014-05-08 19:29:31
阅读次数:
673
IntroductionRecently I was playing around with
Entity Framework (EF) and evaluating it for some projects. I had a very hard
time figuring out how to a...
分类:
数据库 时间:
2014-05-08 13:05:33
阅读次数:
678
IntroductionThis article is part of the ongoing
series I’ve been writing recently, but can be read as a standalone article. I’m
going to do a better j...
分类:
其他好文 时间:
2014-05-08 13:01:13
阅读次数:
599
最近,在看一个本书《如何阅读一本书》
文中谈到Skim-read,粗读。
审视我一直以来的阅读习惯,觉得基本是反面教材:
顺序阅读,力求每一句都理解,以看完一本书为目标。
略读:
1、书名,是否包含你想了解的方面
2、序言、出版者的话等,看下这本书的目的
3、目录,对此书的基本架构做概括性的理解;
. 旅行之前,地图还是很有必要去看的。
4、索引(一般的英文书都有...
分类:
其他好文 时间:
2014-05-07 21:45:43
阅读次数:
290
iPhone-like Sliding HeadersSimple jQuery Spy
EffectSimple use of Event DelegationAdding Keyboard NavigationSlide out and
drawer effectAutomatic Infini...
分类:
Web程序 时间:
2014-05-07 20:43:22
阅读次数:
378
Chef and The Right Triangles
The Chef is given a list of N triangles. Each triangle is identfied by the coordinates of its three corners in the 2-D cartesian plane. His job is to figure out how m...
分类:
其他好文 时间:
2014-05-07 16:28:35
阅读次数:
314
使用notepad++编辑本地文件 tomcat:
/usr/tomcat/logs/catalina.out {
copytruncate
daily
dateext
nocompress
missingok
}
参考下图部署此文件到linux服务器:...
分类:
系统相关 时间:
2014-05-07 15:43:16
阅读次数:
462
因为/u0022表示的是"所以本质上是:System.out.println("a".length()+"b".length());//本质上是这样的
分类:
其他好文 时间:
2014-05-07 15:31:07
阅读次数:
266
最近有一些客户有这样一个需求,一个ASM磁盘组中分别挂载不同性能的存储或磁盘。希望ASM在读取的时候,优先读取性能好的磁盘,性能差的磁盘更多的是扮演‘standby‘的角色。oracle提供一个参数ASM_PREFERRED_READ_FAILURE_GROUPS,来实现ASM优先读取的功能,但是以FAILURE_GROUP..
分类:
其他好文 时间:
2014-05-07 15:28:30
阅读次数:
330
Problem:Work out the first ten digits of the
sum of the following one-hundred 50-digit
numbers.3710728753390210279879799822083759024651013574025046376...
分类:
其他好文 时间:
2014-05-07 13:34:38
阅读次数:
299