postgresql的内存分配主要由shared_buffers、temp_buffers、work_mem、maintenance_work_mem参数控制。shared_buffers又可以叫做共享缓冲区,postgresql对数据操作时都要先将数据从磁盘读取到内存中,然后进行更新,最后再将数据...
分类:
数据库 时间:
2014-06-28 19:34:57
阅读次数:
347
一般认为:==比较的是基础数据的值或者是对象的引用地址equal()比较的是对象的内容其实:==和equal()都是比较的引用地址,其实是栈内存中变量(包括基本数据类型的变量和对象变量)的值equals()方法在object类中定义如下:public boolean equals(Object ob...
分类:
编程语言 时间:
2014-06-28 17:11:04
阅读次数:
265
BACKGROUNDThis relates to the operation of software under a virtualization technology (VT) environment.In a VT environment, such as the Intel VT or AM...
分类:
移动开发 时间:
2014-06-28 13:57:42
阅读次数:
248
编译erlang otp 17.0 一直提示:/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used whe...
分类:
其他好文 时间:
2014-06-28 13:16:07
阅读次数:
497
OpenMP中一个变量可以有三种类型,即shared、private和reduction,默认为shared,除非如下三种特别情况:一、在并行for循环中紧临parallel for 语句的循环变量是私有的;二、并行区域代码块里的声明的变量是私有的;三、所有通过private,firstprivat...
分类:
其他好文 时间:
2014-06-21 09:07:44
阅读次数:
249
【Unity3D自带Demo AngryBots路径】1、Windows: C:\Users\Public\Documents\Unity Porjects2、MacOSX: /Users/Shared/Unity 工程目录名均为:4-0_AngryBots。
分类:
其他好文 时间:
2014-06-20 21:30:36
阅读次数:
508
在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