1、新建一个表,插入1010000数据:
create table test(id int identity(1,1) ,name varchar(600)) 
go
insert into test
values(replicate('a',600));
go 1010000
create index idx_test_id on test(id)
2、新开一个会话(A),运...
                            
                            
                                分类:
数据库   时间:
2014-07-31 17:10:27   
                                阅读次数:
359
                             
                    
                        
                            
                            
                                一.准备工作首先是文件准备,咳咳,由于那啥没有搭配ftp环境去存储工具类文件,就使用Xftp复制粘贴下MySQL的通用二进制格式文件,无论是移动存储挂载还是其他的,目的就是把这玩意放到linux服务器中。这里使用的版本文件为“mysql-5.5.33-linux2.6-x86_64.tar.gz”,文件大家可..
                            
                            
                                分类:
其他好文   时间:
2014-07-29 15:35:09   
                                阅读次数:
318
                             
                    
                        
                            
                            
                                IntroductionIn labs 6 and 7, you will replicate the lock service using the replicated state machine approach. SeeSchneider's RSM paperfor a good, but ...
                            
                            
                                分类:
其他好文   时间:
2014-07-13 11:44:52   
                                阅读次数:
248
                             
                    
                        
                            
                            
                                1、Replicator执行代码详细分析
上篇问中介绍了启动Replicator的具体过程,下面具体讲解Replicator的执行代码的具体实现:
    def replicate(self, override_devices=None, override_partitions=None):
        """Run a replication pass"""
        sel...
                            
                            
                                分类:
其他好文   时间:
2014-05-15 00:15:16   
                                阅读次数:
458