1、DATEADD函数: A. MSDN上的示例:http://msdn.microsoft.com/zh-cn/library/ms186819%28v=sql.90%29.aspx B. SQL2005上的示例 1 ----定义变量 2 DECLARE @start DATETIME,@end ...
分类:
数据库 时间:
2014-06-28 22:42:39
阅读次数:
309
转载请注明:来自EricKing,thanks从没想到编一个library这么坑爹,再次提醒各位百度的东西只能参考,想节约时间还是要到官网上去查看docum。不废话了,开始详细过程:——》1.搭建Win下的GCC编译环境(因为win下vs不支持ffmpeg的compile 和build,官网上也有说...
Libraries and frameworks are designated as Required by default, but you can change this designation to Optional.Required libraries must be present on ...
分类:
其他好文 时间:
2014-06-21 11:46:17
阅读次数:
199
OpenMP中一个变量可以有三种类型,即shared、private和reduction,默认为shared,除非如下三种特别情况:一、在并行for循环中紧临parallel for 语句的循环变量是私有的;二、并行区域代码块里的声明的变量是私有的;三、所有通过private,firstprivat...
分类:
其他好文 时间:
2014-06-21 09:07:44
阅读次数:
249
1.boost锁的概述: boost库中提供了mutex类与lock类,通过组合可以轻易的构建读写锁与互斥锁。2.mutex对象类(主要有两种): 1.boost::mutex(独占互斥类) -->有lock和unlock方法 2.boost::shared_mutex(共享互斥类) -->有...
分类:
编程语言 时间:
2014-06-18 11:16:03
阅读次数:
262
在AWR中定位到问题SQL语句后想要了解该SQL statement的详细运行计划,于是就用AWR报告中得到的SQL ID去V$SQL等几个动态性能视图中查询,但发现V$SQL或V$SQL_PLAN视图都已经找不到相应SQL ID的记录,一般来说这些语句已经从shared pool共享池中被替换出去...
分类:
数据库 时间:
2014-06-18 09:55:27
阅读次数:
332
一.boost::thread的创建 1.线程创建方法一: boost::shared_ptr writeThread_; boost::function0 f = boost::bind(&DBTaskMgr::execute, this); writeThread_ = bo...
分类:
编程语言 时间:
2014-06-18 08:16:15
阅读次数:
283
1,Sql parse的种类
Sql parse又通常分为硬解析和软解析,当sql第一次执行的时候,会发生硬解析,之后的执行如果在shared pool中能找到就是软解析。因此,为提高数据性能,尽可能的让每次执行的SQL在shared pool找到。
2,SQL在哪些情况下会发送硬解析?
??????1)统计?信息改变
??
2)Sql中的表上有做ddl操作,包括grant和rev...
分类:
数据库 时间:
2014-06-18 00:41:17
阅读次数:
290
BACKGROUNDA virtual machine (VM) architecture logically partitions a physical machine, such that the underlying hardware of the machine is time-shared...
分类:
其他好文 时间:
2014-06-17 23:49:03
阅读次数:
350
如果编译时出现了以下错误:checkingfortgetentin-ltermcap…nocheckingfortermcapfunctionslibrary…configure:error:Nocurses/termcaplibraryfound说明curses/termcap库没有安装去下载一个ncurses-5.6.tar.gz,wgethttp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gztar..
分类:
数据库 时间:
2014-06-17 17:30:13
阅读次数:
239