自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

renfengjun

本心,知行合一。

  • 博客(174)
  • 资源 (25)
  • 收藏
  • 关注

原创 windows下定期执行rman备份(脚本+方法介绍)

备份是最重要的,很多测试环境都搭建在windows下,博主的电脑上就有一个Oracle数据库,为了保证它的安全性,决定执行定期的备份。例子中讲述了如何在windows下使用 脚本+windows定时任务实现 定期执行全备的方法。

2014-01-21 12:38:31 14473 4

原创 Oracle中变异表(ORA-04091)处理方法两则

Oracle中经常使用了trigger经常会出现ora-04091变异表问题,这里带来两种处理方法给大家参考。

2014-01-21 12:06:27 12567

原创 Linux 下如何 sql*plus 实现上下键历史记录显示(安装rlwrap 以及 readline)

Windows 下的 sql*plus 使自带上下键历史记录显示的,比较方便,但是linux默认却没有这个功能,需要拓展一下才可以使用,这里就引进了需要安装的两个软件包,rlwrap以及readline。安装后,Linux下的sql*plus就可以实现上下键历史记录显示的功能了。看到网络上很多朋友都有这样的疑问,这里简单记录一下安装过程,最下面是两个包的下载地址。包括:rlwrap-0.37.tar.gz以及readline-6.2.tar.gz。

2014-01-21 11:20:05 2324 2

原创 oracle 数据库中几种连接方式执行过程(nested loop、hash join、sort order join)

简单介绍了一下oracle 各种连接方式的执行过程,伪代码内容来源于pro oracle sql。

2014-01-21 10:56:07 5938 2

原创 看着杨大师的采访,学到了一些东西

看着itpub上对yangtingkun大师的采访,感慨万千。arron刘:Oracle ACE几乎是学习oracle数据库的人都想得到的一种荣誉,现在已经有更多的人开始关注oracle数据库,如何能成为一个Oracle ACE,有什么好的捷径可以分享一下?yangtingkun:我觉得不外乎是几点,首先是你自己技术的积累,其次是自己技术的提高,我觉得这是基础,如果你自己技术没到一

2013-01-18 17:29:27 2137 4

原创 Parallel execution 并行查询的性能测试

环境介绍: 平台win7 64位内存8gbcpuI72630Qm 4核8线程数据库版本11.2.0.1Memory target1.6g 什么是并行执行引用官方文档的说明:Parallel executi

2013-01-05 19:26:19 2868

原创 2012年终总结

2012对于我来说是有重大意义的一年,在这一年里,我从开发转到了DBA。很多人都在问,为什么要转行做DBA?我更多的回答是兴趣。但其实不然,那只是一小部分原因。其实对编程也保留着很大的兴趣,我只是选择了Oracle Database 作为职业而已。记得做开发的时候,曾经从9月--过年,只休息过1天时间。每天工作在14个小时以上。当然,除了得到大量的知识和经验外,身体也渐渐感到不适。

2013-01-02 15:21:52 2017 9

原创 Oracle数据库中B-Tree以及BitMap index 的性能对比

索引概述什么是索引?索引是Oracle数据库中提供的一种可选的数据结构,用于关联一个表。 为什么要使用索引?索引在有些情况下可以加快访问速度,减少磁盘IO。通常情况下时候使用索引?表中的某列经常会在查询中使用,并且经常用返回占表中数据总量比例较少的row set。引用完整性约束列。unique key 。 下面我们来简

2012-12-31 00:07:25 14717

翻译 Oracle Database 中 B*Tree 索引内部维护

最近一周在复习索引相关的东西,除了回顾concept,还在MOS上看到了一篇比较好的文档。分享给大家。文档编号:[ID 30405.1]This article is only concerned with B*tree indexes which are currently the most commonly used.  The theory of B*tree indexes

2012-12-28 01:05:19 2375 1

原创 使用PLSQL 打印日历

最近有些闲,看完了concept突然有种空虚的感觉。闲话不多说。用PLSQL写了一个打印日历的功能。create or replace package display_date is procedure display_spec_mon (year number , month number) ;end ;create or replace package body d

2012-12-26 23:18:49 2548

原创 使用PLSQL 订阅 itpub rss源

实现功能:订阅Oracle开发 板块的rss ,根据Title 排重 入库。1. 创建rss源表以及序列。create table rss_itpub (id number , title varchar2(2000) , link varchar2(2000) ,

2012-12-26 23:04:12 1843

原创 Oracle Text 全文索引 几种典型应用场景

一、普通查询这是OracleText比较普遍且常用的应用场景。创建OracleText中Context类型的索引,生成大量的关键词,用于加快类似于普通的like ‘%xx%’操作速度,或者查询一些比较大的文档。可以使用contains函数进行数据检索。缺点:比较依赖于关键词和文档格式。有时可能不太准确。以下为简单示例,这里不必多说,只是简单查询场景:1.创建表create ta

2012-12-26 22:29:22 5857

原创 PLSQL批量Forall操作性能提升详解

首先创建测试表create table test1 (c1 number , c2 number ,c3 number) ;create table test2 (c1 number , c2 number ,c3 number) ;开始测试SQL> declare 2 2 l_stat_sql varchar2(2000) := 'select valu

2012-12-20 01:02:37 4744

原创 Oracle Database Partition 技术

Partition介绍分区就是将一个非常大的table或者index 按照某一列的值,分解为更小的,易于管理的逻辑片段---分区。将表或者索引分区不会影响SQL语句以及DML语句,就和使用非分区表一样,每个分区拥有自己的segment,因为,DDL能够将比较大的任务分解为更小的颗粒。分区表只有定义信息,只有每个存放数据的分区才有各自的segment。就好象拥有多个相同列名,列类型的一个大的

2012-12-16 12:49:09 3108

原创 我理解的ACID

A(Atomicity):原子性,事务中的所有执行的操作任务,只能被全部应用或者全部弃用。比如说,删除一个表中的100条数据的过程中,如果在删除第50条数据的时候发现有其他表中的数据依赖这条记录,那么删除操作就无法进行下去,前面已经删除的49条数据也会被回滚。(这种错误现在可以用DML error logging技术解决具体可以参数我的一片帖子http://blog.csdn.net/renfen

2012-12-12 22:20:42 1784

原创 insert into select 批量加载出错解决方案

当使用insert into select 批量加载数据的时候,可能会碰到因为某些数据不符合加载条件,而导致整个insert 语句无法执行,全部rollback。这时可以使用DML 错误日志的特性,解决这个问题。只需要创建一个日志表,并且在使用dml语句的时候添加dml error logging 语句,即可将错误的rows记录到日志表中,而且不会影响已经加载到表中的数据。最后修正这些无法加载

2012-12-12 01:18:21 11112

原创 临时表空间(Temporary Tablespace)相关

Temporary Tablespace Temporary Tablespace 用于存放瞬时数据,只有在session连接期间才能够看到数据。Permanentobject无法创建在temporarytablespace中。空间利用原理:它不会由smon来监控、回收空间。而是使用SEP(Sort Extent Pool)来记录空闲的extent。在OracleDatabase创

2012-12-11 23:06:04 6302

原创 表中列的排列顺序对查询的影响

列顺序测试大家在做表设计的时候通常对表中列的排列顺序没有过多注意,但是其实越常用的列,它的位置越靠前,则查询速度越快。因为每个block里面存储了row directory (每行数据在块中的位移地址)而没有存放column的位移所以只能根据column#通过扫描row header 以及 column data 来获取相应的列值越靠后的列,需要计算的越多建立测试表

2012-11-30 00:11:32 2404

原创 PLSQL通用 分页 Function

/* TABLE_NAME_IN 表名(只支持单表,多表时请用视图封装) SQL_WHERE_IN 条件语句 例如 : where n_xh < 200 SQL_ORDERBY_IN 排序语句 例如 : order by n_xh des

2012-11-28 17:07:20 4515

转载 Oracle与DST(daylight saving time)

是在看升级文档的时候注意到DST的这个概念,DST(daylight saving time)。升级的时候为什么要更改DST呢?因为oracle 数据库中有两个数据类型存储的数据都与DST相关,它们就是:TIMESTAMP WITH LOCAL TIME ZONE (TSLTZ) and TIMESTAMP WITH TIME ZONE (TSTZ)还有一些工具也与此相关,但是不会直接

2012-11-28 15:35:10 2623

翻译 Oracle后台进程之:Slave Processes

slave processes是代表其他进程执行工作的后台进程。I/O Slave ProcessesI/O slave processes (Innn)simulate asynchronous I/O for systems and devices that do not support it. In asynchronous I/O, there is no timing req

2012-11-25 15:51:12 3427

翻译 Oracle后台进程之:Optional Background Processes(ARCn、CJQ0、Jnnn、FBDA、SMCO)

Most optional background processes are specific to tasks or features. 大多数可选后台进程都为了某些任务和特性而指定。下面介绍几个常见的可选后台进程:Archiver Processes (ARCn) The archiver processes (ARCn)copy online redo log files

2012-11-25 15:20:01 8859

翻译 Oracle后台进程之:Oracle Mandatory Background Processes (PMON、SMON、LGWR、DBWN、CKPT、MMON、MMNL、RECO)

Mandatory Background Processes可以理解为强制开启的后台进程,下面来主要介绍几个常见的Mandatory Background Processes:Process Monitor Process (PMON)The process monitor (PMON)monitors the other background processes and performs

2012-11-25 15:03:29 3677

原创 Oracle opcode 汇总

Layer 1 : Transaction Control - KCOCOTCT Opcode 1 : KTZFMT Opcode 2 : KTZRDH Opcode 3 : KTZARCOpcode 4 : KTZREP Layer 2 : Transaction Read - KCOCOTRD Layer 3 : Transa

2012-11-22 14:40:10 3182 1

原创 Oracle 中各种limit总结

Datatype LimitsDatatypesLimitCommentsBFILEMaximum size: 4 GBMaximum size of a file name: 255 charactersMaximum size of a directory name: 30 charactersMaximum number o

2012-11-21 11:09:13 14436

原创 11gr2 新特性Pending Statistics

Pending statistics11gr2开始,可以使用下面类型的操作来收集优化器统计信息:1.             自动发布收集的统计信息在收集操作结束以后(默认选项publish)2.             保存新的统计信息,并且待定(暂不发布pending)这个特性可以将新收集的统计信息置为待定状态,所以可以先验证新统计信息的有效性然后再发布。可以使用下面的命令

2012-11-20 16:58:48 9023

转载 12c新特性,Pluggable Database

Oracle Database 12c 新特性 - Pluggable Database作者:eygle链接:http://www.eygle.com/archives/2012/10/12c_pluggable_database.html在Oracle Database 12c中,可组装式数据库 - Pluggable Database为云计算而生。在12c以前,Or

2012-11-15 10:44:16 1675

原创 Oracle Database 实例关闭和启动 浅谈

实例和数据库启动如下图所示,为数据库从上一次完全关闭到启动的几个状态。数据库启动的时候会经历一下三个状态:1、     开启实例(nomount)实例启动,但是没有关联数据库。开启实例的时候,会执行下列几个步骤:l  在默认位置查找参数文件。查找参数文件的时候会在$ORACLE_HOME/dbs目录下查找目标pfile或者spfile,顺序如下:spfile$S

2012-11-14 13:45:14 11278

原创 Aix下为Oracle数据库拓容

现有环境描述操作系统:AIX集群软件:HACMP 以下是现有B机的存储使用情况hdisk2          00c8970083c14f90                    xxora           hdisk3          00c8970083c150c6                    xxora           hdisk4

2012-11-12 22:56:48 2807

转载 Ocr based on asm diskgroup restore

Oracle Server - Enterprise Edition - Version: 11.2.0.1.0 to 11.2.0.2 - Release: 11.2 to 11.2Information in this document applies to any platform.GoalIt is not possible to directly restore a

2012-11-05 17:50:02 1679

转载 Top 5 Grid Infrastructure Startup Issues

Top 5 Grid Infrastructure Startup Issues [ID 1368382.1]Applies to:Oracle Server - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform.

2012-11-05 17:48:25 4845

翻译 Oracle Database SQL语句处理步骤

SQL语句的的处理步骤如下图所示:一、解析1. 语法检查sql语句解析的时候,先执行语法检查。看语句是否符合规范。2. 语义检查这个阶段,数据库会去判断SQL语句是否真正具有相应的含义,比如说sql语句涉及的表,或者字段是否存在等。3. shared pool check(shared sql area check)数据库执行一个shared pool chec

2012-10-31 12:54:38 1870

转载 ls -l 各字段详解

######################## 第1字段: 文件属性字段 ########################文件属性字段总共有10个字母组成,第一个字母表示文件类型,如果这个字母是一个减号"-",则说明该文件是一个普通文件.字母"d"表示该文件是一个目录,字母"d",是dirtectory(目录)的缩写.请注意,一个目录或者说一个文件夹是一个特殊文件,这个特

2012-10-29 16:48:21 10222

原创 Linux 下 网卡绑定ip

一、多网卡绑定1个ip1. 新建ifcfg-bond0[root@dex network-scripts]# cd /etc/sysconfig/network-scripts/[root@dex network-scripts]# cp ifcfg-eth0 ifcfg-bond0[root@dex network-scripts]# vi ifcfg-bond0 加入如下内

2012-10-28 23:51:37 3193

原创 oracle 中关于 超过253列 内部数据的存储

建表语句declare v_sql varchar2(32767) ;begin v_sql := 'create table test ( ' ; for i in 1..500 loop v_sql := v_sql || 'name'||i||' varchar2(2000) ,' ; end loop ; v_sql := substr(v_sql,1,le

2012-10-20 12:33:45 1965

原创 JDBC 连接 11gr2 集群环境

使用11gr2新组件 scan 方式连接(假设scan_vip为192.168.100.217)String url = "jdbc:oracle:thin:@192.168.100.217:1521/prod"也可以使用 11gr2以前vip方式连接String url = "jdbc:oracle:thin:@(DESCRIPTION ="              +

2012-10-17 13:06:05 3813 1

原创 Oracle Database 中 关于 null值的存储

这里主要验证了number 和 varchar2 两种数据类型null值的存储先来介绍一下row piece的结构 引用官方文档的一张结构图通常情况下,不包括(cluster table 和 chain row)一个rowpiece 包括row header 和 column data  关于其他情况,会在以后的研究中陆续放出。 BBED>

2012-09-14 22:26:56 2726

原创 Windows Myeclipse 10 安装 perl 插件

1.首先安装windows下的perl环境这里使用active perl,选择最新版本5.16.1下载地址:http://www.activestate.com/activeperl/downloads文件名:ActivePerl-5.16.1.1601-MSWin32-x86-296175.msi安装即可2.安装myeclipse 插件EPICht

2012-09-13 16:19:18 2875

原创 HpUnix 2 节点11.2.0.3 Rac 环境搭建

HPUNIX IA64 11.31 Rac 实施文档 安装前规划拓扑结构图:  主机环境: 节点名称硬件型号cpu内存操作系统XXJ-01rx76208*1.5g16gb11.31XXJ-02rx76

2012-09-12 17:38:44 4592

原创 Perl 连接 Oracle 示例

1.首先需要先下载3个模块地址:ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/DBI/DBI-1.622.tar.gz DBD-Oracle-1.50.tar.gz Data-ShowTable-3.3.tar.gz (data目录中)2. 安装[root@james-tes

2012-09-11 15:54:59 8975

BBED在Solaris Sparc 64bit 需要用到的文件

在Solaris Sparc 64bit编译BBED需要用到的bbedus.msb、bbedus.msg、sbbdpt.o、ssbbded.o四个文件。

2016-11-17

Goldengate概述,思维导图

Goldengate概述,帮助思维记忆

2016-03-12

12cRAC在AIX上的安装文档

Oracle 12c database RAC 在AIX上的详细安装步骤以及输出。

2015-03-04

bbed在11g中需要的相关文件

bbed在11g中需要的相关文件,包中包括: Linux_x64,Linux_32,windows_32几种不同平台的bbed相关文件

2014-11-30

dbms_comp_advisor.getratio 预估压缩比例的存储过程脚本

dbms_comp_advisor.getratio 预估压缩比例的存储过程脚本 11gR2以前使用,11gR2后可以使用系统自带的存储。

2014-06-18

Advanced Compression Option (ACO) PDF

Oracle高级压缩技术介绍白皮书 Oracle Database 11g Release 1 introduced the Advanced Compression Option to help customers cope with these challenges. Innovations in Oracle compression technologies help customers reduce the resources and costs of managing large data volumes. In addition to OLTP Table Compression, the Advanced Compression Option includes a comprehensive set of compression capabilities to help customers maximize resource utilization and reduce costs by enabling compression for unstructured (SecureFiles deduplication and compression), backups (RMAN and Data Pump) and for Data Guard Redo Log network transport. The Advanced Compression Option also includes Oracle Total Recall, which increases security and reduces the cost of storing and accessing historical data.

2014-06-18

Oracle Advanced Compression Option (ACO) 白皮书

Oracle高级压缩技术介绍白皮书。 Oracle Database 11g Release 1 introduced the Advanced Compression Option to help customers cope with these challenges. Innovations in Oracle compression technologies help customers reduce the resources and costs of managing large data volumes. In addition to OLTP Table Compression, the Advanced Compression Option includes a comprehensive set of compression capabilities to help customers maximize resource utilization and reduce costs by enabling compression for unstructured (SecureFiles deduplication and compression), backups (RMAN and Data Pump) and for Data Guard Redo Log network transport. The Advanced Compression Option also includes Oracle Total Recall, which increases security and reduces the cost of storing and accessing historical data.

2014-06-18

rlwrap-0.37 and readline-6.2

Linux 下sql*plus 实现上下键历史记录显示需要安装了两个资源包rar包中包括: rlwrap-0.37.tar.gz、readline-6.2.tar.gz。

2014-01-21

Parallel execution 并行查询的性能测试

Parallel execution 并行查询的性能测试 完整文档

2013-01-05

Data Types and block structure

dsi 402e Data Types and block structure

2012-12-31

Perl 连接 Oracle 所需3个tar包

perl 连接 oracle 所需的3个tar包DBI-1.622.tar.gz、DBD-Oracle-1.50.tar.gz 、Data-ShowTable-3.3.tar.gz (data目录中)。

2012-09-11

hp_ia64_1131_11.2.0.3_rac 安装文档

hpunix ia64 11.31 Oracle database 11.2.0.3 Grid Infrastructure 11.2.0.3 安装文档

2012-08-29

weblogic1036_aix6_实施文档

基于aix6下的weblogic 10.3.6 的安装文档

2012-08-16

oracle11gr1 Rac 升级 11.1.0.6 到 11.1.0.7

linux 下载 双节点 11.1.0.6 ---&gt; 11.1.0.7

2012-08-09

11gr2 升级 11.2.0.1到11.2.0.3

linux 双节点下 从 11.2.0.1 升级到 11.2.0.3 的详细操作文档

2012-08-09

RedHat5 下 11gr2 Rac 安装文档

RedHat5 环境下 安装11gr2 的详细操作文档

2012-08-09

玩转11gR2 GNS(Grid Naming Service)

文档中包括安装11gr2 Grid 的时候 对于GNS 的两种配置方法,即使用host解析scan以及使用dns+dhcp+gns解析scan。 以及安装Grid后对于GNS服务的删除、添加等操作。

2012-08-09

Aix5.3—Oracle11.1.0.7安装文档

Aix5.3环境下安装Oracle11gr1(11.1.0.7)文档

2012-08-09

powerdesigner16 的破解文件

将pdflm16.dll复制到软件安装目录替换即可

2012-07-03

oracle database 9i/10g/11g 编程艺术(英文原版)

oracle database 9i/10g/11g 编程艺术(英文原版) 英文原版 找了很久,奉献给大家。

2011-09-18

人类男-骷髅 4.1 模型包

国服4.1 人类男to骷髅模型包,解压后放到\Data\zhCN 。

2011-07-24

编程人员必备oracle 11g 官方SQL、PL/SQL reference

编程人员必备,oracle11g 官方 SQL与PL/SQL文档。

2011-07-24

was内存溢出分析工具jca401

On some platforms, and in some cases, Javacore is known as “Javadump”. The code that creates Javacore is part of the JVM. You can control it by using environment variables and runtime switches. Javacore contains diagnostic information related to the JVM and a Java application captured at a point during execution. For example, the information can be about the operating system, the application environment, threads, native stack, locks, and memory. The exact contents are dependent on the platform on which you are running. By default, a Javacore occurs when the JVM terminates unexpectedly. A Javacore can also be triggered by sending specific signals to the JVM. Although Javacore or Javadump is present in Sun Solaris JVMs, much of the content of the Javacore is IBM value-add; that is, it is present only in IBM JVMs.

2010-09-23

jtds-1.2.5-dist

JTDS不需要特别的安装,只需要把JAR文件放在classpath路径中就可以了。 数据库URL:jdbc:jtds:sqlserver://localhost:1433;DatabaseName=bid   驱动类:net.sourceforge.jtds.jdbc.Driver

2010-03-03

中文documentation4hibernate-distribution-3.5.0-cr-2

3.14将发布3.5 CR-3 or Final 版。敬请期待。

2010-03-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除