文章分类 - Oracle 杂谈
摘要:开始用oracle11g有一段时间了,一直没有整理Oracle内存方面的特点,尤其是在oracle11g里面引入了 memory_max_target 和 memory_target之后,有了些新的变化和安排在memory方面;Oracle对内存的管理的优化从未间断,从8i到11g不断地提出新的管理概念。每个本版都对内存管理进行了简化:8i->9i:PGA的自动管理;9i->10g:SGA的自动管理;10g->11g:MEMORY(SGA+PGA)的自动管理。在11g中oracle引入了自动化内存管理(Automatic Memory Management)概念,仅用两个参数
阅读全文
摘要:RAIDRAID is an acronym for Redundant Arrays of Inexpensive Disks. These provide a mechanism for load balancing and securing your data across multiple disks. In this article I'll give a brief explanation of the most commonly used RAID levels and how they should be used with Oracle.RAID LevelsOrac
阅读全文
摘要:Create Login Script for oracle User AccountTo ensure that the environment is setup correctly for the "oracle" UNIX user account, use the following .bash_profile:Login to the database server as the oracle user account:# su - oracle.bash_profile for Oracle User# .bash_profile# Get the aliase
阅读全文
摘要:从Oracle Database 10g开始,Oracle在建库后就默认创建了一个名为GATHER_STATS_JOB的定时任务,用于自动收集CBO的统计信息。这个自动任务默认情况下在工作日晚上10:00-6:00和周末全天开启。调用DBMS_STATS.GATHER_DATABASE_STATS_JOB_PROC收集统计信息。该过程首先检测统计信息缺失和陈旧的对象。然后确定优先级,再开始进行统计信息。可以通过以下查询这个JOB的运行情况:select * from Dba_Scheduler_Jobs where JOB_NAME ='GATHER_STATS_JOB'其实同
阅读全文
摘要:11g中如何禁用自动统计信息收集作业?因为11g中auto stats gather job被集成到auto task中,所以与10g中的禁用方式不一样;下面是一个简短的英文介绍:Oracle 11g includes three automated database maintenance tasks:Automatic Optimizer Statistics Collection - Gathers stale or missing statistics for all schema objects (more info). The task name is 'auto opti
阅读全文
摘要:1. Oracle 10g里面对分区表exportWildcards in table/partition names in expdp tables parameter are not supported by 10g expdp:I:\>expdp directory=TEMP dumpfile=part.dmp logfile=part.log tables="RANGE_SALES:SALES_%_1998"Export: Release 10.2.0.4.0 - Production on Tuesday, 22 May, 2012 14:05:17Copy
阅读全文
摘要:Oracle本身自带的几个view;DBA_DB_LINKSUSER_DB_LINKSALL_DB_LINKSV$DBLINKGV$DBLINK>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
阅读全文
摘要:在网上也google了很多自动startup 和 shutdown oracle database的脚本,但是很多都是在Linux 或者是Unix平台下面的,因为项目的需要,要让其运行在windows平台下面的脚本。。。。但是网上的发现没有一个比较完整或者是可以自动执行的script,于是自己想了半个晚上和经过了测试,终于写成“神”脚本;^_^Startup.bat>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
阅读全文
摘要:最近在了解这类知识的时候发现一篇关于Oracle Fusion Middleware概念的详细介绍,感到很有收获,特意来分享一下,说的很详尽。原文来自中间件资深销售顾问牛秀元的博客。Oracle Fusion Middleware定义: 什么是Oracle Fusion Middleware Oracle Fusion Middleware is a comprehensive family of products ranging from application development tools and integration solutions to identity managemen
阅读全文
摘要:有感于oracle 流技术的使用方便和省心,我找了一篇国外config的technical configuration steps : Oracle Streams 10gR2 Step by Step Purpose:Oracle Streams enables the sharing of data and events in a data stream, either within a database or from one database to another.The purpose of this article is to outline the steps for setti
阅读全文
摘要:一、什么是Oracle字符集 Oracle字符集是一个字节数据的解释的符号集合,有大小之分,有相互的包容关系。ORACLE 支持国家语言的体系结构允许你使用本地化语言来存储,处理,检索数据。它使数据库工具,错误消息,排序次序,日期,时间,货币,数字,和日历自动适应本地化语言和平台。影响Oracle数据库字符集最重要的参数是NLS_LANG参数。它的格式如下: NLS_LANG = language_territory.charset它有三个组成部分(语言、地域和字符集),每个成分控制了NLS子集的特性。其中:Language: 指定服务器消息的语言, 影响提示信息是中文还是英文Territor
阅读全文