一、SCN基础
1、什么是scn?
在oracle数据库中保证数据一致性的方法就是事务。事务是一个逻辑的、原子性的作业单元,通常由一个或多个sql组成,一个事务中的所有sql操作,要么失败全部回滚,要么成功全部提交。数据库的事务最主要的作用就是保证了数据的一致性,每次事务的提交都是将数据库从一种一致性状态带进另外一种一致性状态。
scn在数据库中是一个单一的不断的随着数据库一致性状态的改变而...
                            
                            
                                分类:
其他好文   时间:
2014-06-19 10:23:09   
                                阅读次数:
285
                             
                    
                        
                            
                            
                                1 
socket函数为了执行网络I/O,一个进程必须做的一件事情就是调用socket函数,指定期望的通信协议类型(使用Ipv4的TCP,使用Ipv6的UDP,Unix域字节流协议等)。# 
includeint socket(int family,int type,int protocol);返回:若...
                            
                            
                                分类:
其他好文   时间:
2014-06-16 00:54:15   
                                阅读次数:
238
                             
                    
                        
                            
                            
                                Today we will learn how to get depth data from a kinect and what the format of the data is
kinect code
kinect Initialization
To get the depth data from the kinect, simply change the arg...
                            
                            
                                分类:
编程语言   时间:
2014-06-15 08:04:16   
                                阅读次数:
640
                             
                    
                        
                            
                            
                                Linux系统文件有三个主要的时间属性,分别是ctime(change time, 而不是create time), atime(access time), mtime(modify time)。后来为了解决atime的性能问题,还引入了一个relatime的属性,下面一一解释。ctime, 很多朋...
                            
                            
                                分类:
其他好文   时间:
2014-06-14 20:33:31   
                                阅读次数:
191
                             
                    
                        
                            
                            
                                To make a Scheduled Task run in the background, change the User running
 the task to "SYSTEM",
 and nothing will appear on your screen....
                            
                            
                                分类:
移动开发   时间:
2014-06-14 09:33:39   
                                阅读次数:
395
                             
                    
                        
                            
                            
                                我使用了centOS,但是发现网速实在是卡得几乎不能上网,连百度都打不开,但是win却飞快。
后来想到偶然记得有一次看过一段话,说到关闭ipv6,测试来一下,果然有效,关闭来ipv6打开网速飞快。
关闭方法,在/etc/modprobe.d/dist.conf结尾添加
alias net-pf-10 off
alias ipv6 off
然后保存,重启centOS 即可(b...
                            
                            
                                分类:
其他好文   时间:
2014-06-14 09:17:10   
                                阅读次数:
510
                             
                    
                        
                            
                            
                                (转)最近要用到FileSystemWatcher来监控某个目录中的文件是否发生改变,如果改变就执行相应的操作(具体操作如:打开文档,添加一行,保存)。但在开发过程中,发现FileSystemWatcher在文件创建或修改后,会触发多个Created或Changed事件,具体原因就是处理文件的过程中...
                            
                            
                                分类:
其他好文   时间:
2014-06-13 19:33:19   
                                阅读次数:
511
                             
                    
                        
                            
                            
                                2 8 5 3 11.从后往前,找到第一个逆序的数 
pivot2.从后往前,找到第一个比pivot大的数 change3.交换 pivot 和 change的值4.把pivot这个位置后面的数 
reverse,就是 8 5 2 1变成 1 2 5 8最终为3 1 2 5 8#include #inc...
                            
                            
                                分类:
其他好文   时间:
2014-06-13 17:38:19   
                                阅读次数:
378
                             
                    
                        
                            
                            
                                #include #include char *change(int val, int base, 
char *retbuf){ static const char *str = "0123456789ABCDEF"; char *p; char 
buf[15]; p = b...
                            
                            
                                分类:
编程语言   时间:
2014-06-12 10:09:57   
                                阅读次数:
356