Oracle Easy Connect Naming method
在Oracle 10g中,Oracle还提供了一种称为“Oracle Easy Connect Naming method"的连接方式。这种方法是对hostnaming method的一种改进,因为hostnaming method只能使用缺省的1521 port,而Oracle Easy Connect Naming...
Oracle10g的UNDO_RETENTION自动化管理增强
在AUM模式下,我们知道UNDO_RETENTION参数用以控制事务提交以后undo信息保留的时间。该参数以秒为单位,9iR1初始值为900秒,在Oracle9iR2增加为10800秒。但是这是一个NO Guaranteed的限制。 也就是说,...
关于undo_retention
意思是commit之后在undo中需要保留的时间,以秒为单位,主要是应对long query如果query发生在修改之前,此时可能需要通过undo来构造一致性读取,如果读不到,就报ora-01555Oracle uses the undo blocks within a und...
用ORACLE8i修复数据库坏块的三种方法
用ORACLE8i修复数据库坏块的三种方法 在进行SUN CLUSTER双机切换、意外断电或其它情况下,有时会发生共享盘MOUNT不上的情况,需要使用FSCK对共享盘进行修复。修复完成后,在数据库启动过程中,却又出现"数据块损坏,...
用dbv和RMAN检查数据文件中的坏块
本文主要介绍了使用dbv和RMAN检查数据文件坏块的两个具体示例,详细内容请大家参考下文:1:用dbv检查D:\oradata\oralandba>dbv file=ORALANDBA.DBF blocksize=8192DBVERIFY: Release 10.2.0.4.0 - Productio...
ORACLE数据库坏块的处理 (一次坏快处理过程)
今天处理了一个数据库坏块的问题,这种问题碰到很多次了,特此把处理过程纪录如下:1.根据报错的信息,用dbv确认一下,是否真的文件有坏块了,如果有,那继续,用下面的SQL查询出坏块为index还是数据,如果是索引,...
ORACLE数据库坏块的处理 (通过re-create table方法)
当Oracle数据库出现坏块时,Oracle会在警告日志文件(alert_SID.log)中记录坏块的信息:ORA-01578: ORACLE data block corrupted (file # 7, block # )ORA-01110: data file : '/oracle1/oradata/V920/oradata/V816/us...
Getting More Information about Partitions
We can retrieve the information regarding partitions by accessing user_tables, dba_part_tables,and user_segments. Example queries to these three tables are displayed next with corresponding outp...
Oracle LOB issue
For lob data we should pay attention for two options:store as (CHUNK NK disable storage in row/enable storage in row) that we specified during the table creation means whether allow the Lob data to be...
How to enable the flashback database:
How to enable the flashback database:--------------------------------------[root@plinuxt19 ~]# su - oracle[oracle@plinuxt19 ~]$ sqlplus /nologSQL*Plus: Release 10.2.0.3.0 - Production on Tue Feb 3 10:...
带有LOB字段的表迁移
在建立含有lob字段的表时,oracle会自动为lob字段建立两个单独的segment,一个用来存放lob数据,另一个用来存放lob索引,并且它们都会存储在对应表指定的表空间中。但是当我们用alter table tb_nam...
LOB字段在Oracle中的存放方式。
大家都知道Oracle的表空间是通过segment的方式来管理相应的对象,比如数据段,索引段,临时段等等,当在数据库中创建相应对象后,必然会在产生一个segment. 对于LOB字段也是这样的,...
Tablespace Space Script
The Script. to Query the Status of Tablespace:--------------------------------------------------------------select d.tp_name "tbs_name",e.contents "type",e.status "status", e.extent_management "seg_m"...
Disable the automatic funciton of collecting statistics in 10G
After created oracle 10g database,there is an existing job named gather_stats_job which is used to collect the statistics in database level automatically. In default, this job will be actived and exec...
How to re-create the ASM
These days i was attempting to install the RAC with openfiler(ISCSI), it is approached to finished.The lastest step is to create database with DBCA and its datafiles was based on ASM.i misconfigured t...
LogMnr的使用方法
一.安装LogMiner$ sqlplus /nologSQL*Plus: Release 10.2.0.3.0 - Production on Tue Apr 15 12:30:58 2008Copyright (c) 1982, 2006, Oracle. All Rights Reserved.SQL> conn / as sysdba;Connected to an id...
Oracle 堆组织表(HOT)
Oracle实际应用中,经常会用到table,对于table的研究自己之前并没有过多的参与, 最近读了一下tom的书后,对table又有了一点新的认识.table在Oracle中被分为很多的类种,我们平时在create table时,最常用到的类型就是堆...
索引学习笔记-1(Oracle9i/10g编程艺术-深入数据库体系结构)
索引是一个很宽泛的主题,他是开发人员和数据库DBA之间的一个桥梁,深刻理解索引是数据库从业人员必须掌握的一个内容。在实际的开发应用中索引使用不当会导致一些系统性能的问题,如果有太...
Oracle 安装Full Text search
全文检索做为Oracle数据库的一个组件,在创建数据库的时候我们可以将他勾选上,但是有的时候在建库的时候没有安装,那么怎么样手工来进行配置安装呢?做了一个实验并记录一下步骤SQL> select * from v$version;BANNE...
oracle10 dba_tablespace中的retention
oracle10g中,针对dba_tablespace,加了其中一个额外列是retention.回忆一下Oracle 10g之前,在自动Undo管理的模式下,我们都知道undo_retention参数的作用是用来控制当transaction被commit之后,undo信息的保留时间...