1. Database Objects:The database itself IndexesThe transaction log CLR assembliesTables ReportsFilegroups Full-text catalogsDiagrams User-defined data...
分类:
数据库 时间:
2014-08-29 22:37:38
阅读次数:
186
首先登录你的的mysql mysql -uroot -p登陆成功后出现以下信息Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 8Server version: 5.1.73-lo....
分类:
数据库 时间:
2014-08-29 19:46:48
阅读次数:
245
转载地址:http://blog.csdn.net/xbl1986/article/details/7216668Xcode是Version 4.2 Build 4D151a根据Objective-c 2.0程序设计上的旧版本的代码会发生NSAutoreleasePool' is unavailab...
分类:
其他好文 时间:
2014-08-28 21:07:26
阅读次数:
164
1?问题 一般来说,在实际运行中,ceph?monitor的个数是2n+1(n>=0)个,在线上至少3个,只要正常的节点数>=n+1,ceph的paxos算法能保证系统的正常运行。所以,对于3个节点,同时只能挂掉一个。一般来说,同时挂掉...
分类:
其他好文 时间:
2014-08-28 13:27:39
阅读次数:
357
InnoDB与MyISAM的最大不同有两点:一是支持事务(TRANSACTION);二是采用了行级锁。行级锁与表级锁本来就有许多不同之处,另外,事务的引入也带来了一些新问题。下面我们先介绍一点背景知识,然后详细讨论InnoDB的锁问题。 背景知识1.事务(Transaction)及其ACID属性 事...
分类:
数据库 时间:
2014-08-28 12:58:09
阅读次数:
372
PIL是python理想的图片处理module,但是想要良好的支持各种图片,还需要检查一下几步,否则会提示:IOError: decoder jpeg not available之类的。我的环境:Linux mint 11 amd64 / Python2.7第一步:安装zlib pngfreetyp...
分类:
其他好文 时间:
2014-08-27 23:18:28
阅读次数:
310
$transaction=\Yii::$app->db->beginTransaction();$model=Customer::findOne(1);$model->name='洋';$model->save(false);$model->update(['age'=>5]);$model->sa...
分类:
其他好文 时间:
2014-08-27 18:08:38
阅读次数:
759
来源于:http://www.cnblogs.com/zhuifengnianshao/archive/2010/11/24/1886939.html事务(Transaction)是并发控制的单位,是用户定义的一个操作序列。这些操作要么都做,要么都不做,是一个不可分割的工作单位。通过事务,SQL S...
分类:
数据库 时间:
2014-08-27 14:41:27
阅读次数:
216
在正常安装龙芯2f的debian系统时出现如下错误:requires the bzcat command which is not available
说明,原有的安装镜像中没有将bzip2这个包打入到系统中,所以需要自己手动将其安装.先将其下载到根目录 / .wget http://ftp.us.debian.org/debian/pool/main/b/bzip2/[libbz2-1.0_1....
分类:
其他好文 时间:
2014-08-27 11:00:17
阅读次数:
251
No live SolrServers available to handle this request ,no servers hosting shard当某一片索引对应的结点全部宕了以后,会报这个异常。"error": { "msg": "no servers hosting shard:...
分类:
其他好文 时间:
2014-08-26 19:03:26
阅读次数:
336