导出数据mysqldump --opt -hlocalhost -uusername -ppassword --skip-lock-tables databasename>database.sql 导入数据mysql> source 路径\**.sql创建中文名称数据库mysql> set n...
分类:
数据库 时间:
2014-07-22 22:53:56
阅读次数:
274
锁应该说是由关系型数据库ACID(Atomicity,Consistency,Isolation,Durability)特性而引出的。以下将测试在创建及更新表过程中SQL Server锁资源分配情况获取当前会话的事务隔离级别:DBCC USEROPTIONS测试环境:SQL SERVER 2008 ...
分类:
数据库 时间:
2014-07-18 20:07:52
阅读次数:
359
我们直接import项目的时候,因为有的git项目是没有.project和.classpath文件的,所以直接import已有项目肯定不行。
以下是解决方案:
1. new Android Project里面换一个选项create project from existing code
(new->project->Android / Android Project from Exis...
分类:
移动开发 时间:
2014-07-18 17:00:16
阅读次数:
222
步骤 1 : 假设窗体名为 Form1 ,将 Form1.design.cs , Form1.cs , Form1.resx 三个文件copy 到目标文件夹 2 : 先add existing ,将 Form1.design.cs添加进去 , 然后记得改 project namespace 3 .....
一 croncrond位于/etc/rc.d/init.d/crond 或 /etc/init.d 或 /etc/rc.d /rc5.d/S90crond,最总引用/var/lock/subsys/crond。cron是一个linux下的定时执行工具(相当于windows下的scheduled ta...
分类:
系统相关 时间:
2014-07-16 18:56:27
阅读次数:
297
1.封装Mutex1.1 封装前先总结一下常用的mutex操作有:pthread_mutex_init(&mutex, NULL ); //初始化一个互斥锁pthread_mutex_destroy(&mutex); //销毁一个互斥锁pthread_mutex_lock(&mutex); //上锁...
分类:
编程语言 时间:
2014-07-16 17:41:55
阅读次数:
242
1.Create a VM01 on esx01,Create a VM02 on esx02 2.Create the RDM on your VM01 (using the virtual, not physical)3.Add new disk to VM02 (select existing...
分类:
其他好文 时间:
2014-07-16 16:46:24
阅读次数:
203
protected void WriteLog(string message) { lock (lockObject) { var file = System.IO.File.AppendText...
分类:
编程语言 时间:
2014-07-16 13:51:46
阅读次数:
213
2013-5-3 Yongwu Shen
Future AI system would be the one that is able to grow from the rootby itself, rather than being created brick by brick like existing ones.
Building an AI system in the future w...
分类:
其他好文 时间:
2014-07-16 08:51:57
阅读次数:
347
先简单的理解,以后补充:为了解决hadoop分布式系统的一致性问题 ,有很多人提出很多protocol,其中就有有名的Paxos算法(Latex作者提出,算法需要学习),但是Chubby并不是一个算法或者protocol,它是一项service,是一个lock service,这个service的实...
分类:
其他好文 时间:
2014-07-14 20:52:46
阅读次数:
250