2008.1.14 There's no turning back.
There's no turning back.箭在弦上,不能回头。没有退路。----------------------------------------------------------------------依字面上来看,“There's no turning back”就是“没有退路”的意思。凡是遇到势...
通过oradebug研究控制文件(一)
控制文件的内容很丰富,很多人在工作的时候只是对他有个大概的概念,但是却不知其中包含丰富的信息, 深入了解控制文件可以使我们对备份和恢复原理理解的更深.那么就用oradebug的工作来挖掘一下我们Oracle 10g的...
每日一句:A friend and I went out to a bar and got wasted.
A friend and I went out to a bar and got wasted.我和一个朋友去酒吧喝得大醉。----------------------------------------------------------------------在这个句子中,waste不再是“浪费”的意思,而是got very ...
移动数据文件,平衡磁盘负载
今天在做性能测试的时候,发现查询TT_AUDITPURGE业务表的时候datavg的I/O占用比率很高,但由于是新release的build,且department内部release的installation guide还没有提级数据I/O优化这快儿,那么在instance这一级,...
解決EXP-00091的方法
最近在做exp的过程中经常会碰见EXP-00091 Exporting questionable statistics的错误. 确切的说是个警告,那么他产生的原因主要就是我们系统环境变量中的NLS_LANG和数据库中的NLS_CHARACTERSET设置不一致造成的。但是...
AIX上pin住Oracle的SGA的方法
Performance测试过程中,我们在新部署的AIX上都是通过设置操作系统的v_pinshm,maxpin%参数以及Oracle中的lock_sga等参数,将oracle SGA pin在内存中,目的就是为了防止这部分内存交换出去。通过pin住oracle SGA在一...
PRE_PAGE_SGA 的玩法
看了看官方文档,了解到一个以前没有注意到的细节(还是得看文档啊........),在Oracle实例启动时,只会在物理内存中首先加载SGA的个内存区的最小的大小(以Granule粒度计算)。而剩余的SGA内存只作为虚拟内存(Page Fil...
2008.1.10:You're not cut out to be a programmer.
You're not cut out to be a programmer.你天生就不是当程序员的材料。----------------------------------------------------------------------be cut out to be字面上的意思是“被切割成……的形状”,引申用作“...
Database performance gets slower the longer the database is running
Applies to: Oracle Server - Enterprise Edition - Version: AIX5L Based Systems (64-bit)AIX Based Systems (32-bit)Bull Escala RL AIX (64-bit)AIX 4.3 Based Systems (64-bit)Oracle databases running on AIX...
Oracle中的自治事务(Autonomous Transaction)
Autonomous Transaction就是在Oracle允许创建一个事务中的事务,也就是说这种事务的提交或者是回滚不会影响到外层的事务的状态,但是自治事务在应用的方面用到的不多,这里仅仅列出最最常用的一种功能就是定制audit:...
Oracle 10g 中驱动包的意义
JDBC Thin for All Platforms classes12.jar (1,594,191 bytes) - for use with JDK 1.2 and JDK 1.3 classes12_g.jar (2,038,127 bytes) - same as classes12.jar, except that classes were compiled with “java...
Connect by实现树查询的妙用
做了个实验总结一下connect by树查询的用法:SQL> select * from t_dept_temp; DEPT_ID PARENT_ID DEPT_NAME AMOUNT---------- ---------- ---------- ---------...
2008.1.9 Do you get a kick out of watching me suffer?
Do you get a kick out of watching me suffer?看我难受你就高兴是不是?----------------------------------------------------------------------固定搭配get a kick out of something,意思是做某事得到乐趣、刺...
聊一聊Oracle的Tablespace(一)
Tablespace其实是数据库中最大的逻辑存储结构,为我们的数据库提供了存储空间,对应的物理结构就是datafiles,一个tablespace中可以有多个datafiles,但是每一个datafile只属于一个tablespace,...
增量检查点(incremental checkpoint)的解疑
原文:oracle8以后Oracle推出了incremental checkpoint的机制,在以前的版本里每次常规checkpoint时都会做一个full thread checkpoint,这样的话所有脏数据会被写到磁盘,巨大的i/o对系统性能带来很大影响。为了解决...
如何安全卸载Oracle RAC(转)
因为测试需要,我会比较频繁的安装和卸载Oracle Clusterware,RAC,卸载和安装本身都有OUI工具可以使用,但是速度比较慢,而且需要过多的人工干预。如果直接把OracleHome删掉,杀掉所有相关进程,重启机器也可以解决...
Row Chaining and Migrating
In two circumstances, the data for a row in a table may be too large to fit into a single data block. In the first case, the row is too large to fit into one data block when it is first inserted. In t...
Temporary Tables
In addition to permanent tables, Oracle can create temporary tables to hold session-private data that exists only for the duration of a transaction or session.(on commit delete rows or on commit prese...
Availability and Compression of Free Space in a Data Block
对于data block中的free space的机制论述如下:----------------------------------------------------------------Two types of statements can increase the free space of one or more data blocks: DELETE state...
block的一些概念
Oracle manages the storage space in the datafiles of a database in units called data blocks. A data block is the smallest unit of data used by a database. In contrast, at the physical, operating syste...