08 2016 档案
摘要:最开始有些概念需要弄明白: 1. 什么是RPO? Wiki: https://en.wikipedia.org/wiki/Recovery_point_objective A recovery point objective, or “RPO”, is defined by business con
阅读全文
摘要:源地址:http://www.cnblogs.com/SuperXJ/p/3480929.html 数据复制技术很多,初步比较如下。 后面重点讨论银行最常用的存储复制和数据库复制。。当然,我最推荐的还是应用方式。。只有应用做好了才能做到真正的多活应用!!!银行需要加大研发力度, 摆脱厂商的束缚,长远
阅读全文
摘要:貌似发现了个bug: Eclipse IDE for C/C++ DevelopersVersion: Mars.1 Release (4.5.1)Build id: 20150924-1200 Mac下,如果选择导入file system,直接选Browse,无法导入子文件夹,因为压根没显示出来,
阅读全文
摘要:操作系统部分: 79. 操作系统的最小调度单位:线程。 线程thread,进程process。一个进程至少包含一个线程,主线程,main thread。 80. 资源的最小单位是:进程。 81. 进程与线程的区别: 答: 进程是程序的运行实例,由进程控制块,程序段,数据段三部分组成。一个程序至少有一
阅读全文
摘要:UML建模部分 70. 什么是UML: 答: Unified Modeling Language, 统一建模语言,是一种标准的图形化建模语言。是面向对象分析和设计的标准表示。 71. UML有哪些图: 答: 类图、对象图,用例图,序列图、协作图,状态图、活动图,构件图和部署图。 72. UML图中的
阅读全文
摘要:64. 常见的排序算法(序): 之前看的参考资料太烂了,算法说不明白,注释有错误,重新参考其他资料。 当待排序数字较大时,应采用时间复杂度为O(nlogn)的排序算法:快速排序,堆排序或者归并排序。 其中快速排序是目前基于比较的排序算法中被认为效率最高的,当关键字随机分布时,平均时间最短。 具体代码
阅读全文
摘要:43. 继承的几种方式: 答:共有继承public,保护继承protected,私有继承private。其中后两种继承会改变原有的访问级别。 44. 深复制与浅复制: 答:简单理解,深复制自己申请了内存,浅复制直接把地址抄了过去。 45. C++是否支持参数个数不确定: 答:支持,可以使用隐藏参数机
阅读全文
摘要:异常处理部分: 23. 在c++的异常处理中,除了提供异常的关键字语法支持以外,其标准库中支持异常处理而封装异常类也很好的为应用程序中异常处理判断使用提供直接的帮助。C++语言中针对异常处理提供了三个关键字,分别为try、throw与catch。C++应用程序中通过这三个关键字实现机制组合来实现异常
阅读全文
摘要:数据类型,常量与变量部分:(发现有些点竟然这么多年第一次发现) C++基本数据类型有哪些: 答:整型,浮点型,void型。 注:其他各种数据类型均是这三种类型的扩充,另外void类型在实际程序中经常用来表示指针无类型,指向整块内存,程序可以自行根据需要进行解析。 2. 整型的分类及区别: 答:表示整
阅读全文
摘要:1 为什么要按列存储 列式存储(Columnar or column-based)是相对于传统关系型数据库的行式存储(Row-basedstorage)来说的。简单来说两者的区别就是如何组织表(翻译不好,直接抄原文了): Ø Row-based storage stores atable in a
阅读全文
摘要:如果条件允许,起两个线程互相抢资源就行了,但问题是,时间上还需要同步,要做到完美控制,还得加其他逻辑,忒费事,所以可以用下面的办法: 在目标表上直接加个锁……简单,粗暴,直接……很好…… LOCK TABLE The LOCK TABLE statement requests a lock on a
阅读全文
摘要:1.最基本的操作cleartool co -nc xxx.cppcleartool ci -nc xxx.cpp 2.查看自己总共co了多少文件cleartool lscheckout -cview -me -avobs 3.最有用的命令cleartool man xxxcleartool help
阅读全文
摘要:tar 命令: http://man.linuxde.net/tar zip 命令: http://man.linuxde.net/zip unzip 命令: http://man.linuxde.net/unzip 可以为linux的 来自: http://man.linuxde.net/tar
阅读全文
摘要:SQL statements This topic contains tables that list the SQL statements classified by type. SQL schema statements (Table 1) SQL data change statements
阅读全文
摘要:With static SQL, host variables used in embedded SQL statements are known at application compile time. With dynamic SQL, the embedded SQL statements a
阅读全文
摘要:The FETCH statement positions a cursor on the next row of its result table and assigns the values of that row to target variables. Invocation Although
阅读全文
摘要:DECLARE CURSOR statement The DECLARE CURSOR statement defines a cursor. Invocation Although an interactive SQL facility might provide an interface tha
阅读全文
摘要:Declare section for host variables in C and C++ embedded SQL applications You must use an SQL declare section to identify host variable declarations.
阅读全文
摘要:The PREPARE statement creates an executable SQL statement from a string form of the statement. The character-string form is called a statement string.
阅读全文
摘要:oreign key constraints (also known as referential constraints or referential integrity constraints) enable you to define required relationships betwee
阅读全文
摘要:An informational constraint is a constraint attribute that can be used by the SQL compiler to improve the access to data. Informational constraints ar
阅读全文
摘要:Mixed character data and graphic data are always allowed for Unicode, but for EBCDIC and ASCII, the specific installation of DB2® determines whether m
阅读全文
摘要:在Z上和开放平台上的创建方法还不太一样,两套人马开发出来的就是牛! 蛋疼…… 贴不同类型的几个例子感受一下,Z上的ASC,DESC不见了:
阅读全文

浙公网安备 33010602011771号