随笔分类 - Oracle_concept
摘要:错误如图:solutionThis is true for all platforms on which you get two .zip files to downloadFor Windows 32 bit case on 11.2.0.1 you can do the following : - create a directory C:\tmp\11201- unzip win32_11gR2_database_1of2.zip and win32_11gR2_database_2of2.zip under C:\tmp\11201see:Installing 11G on Any P
阅读全文
摘要:1. 什么是PSU/CPU?CPU: Critical Patch UpdateOracle对于其产品每个季度发行一次的安全补丁包,通常是为了修复产品中的安全隐患。PSU: Patch Set UpdatesOracle对于其产品每个季度发行一次的补丁包,包含了bug的修复。Oracle选取被用户下载数量多的,并且被验证过具有较低风险的补丁放入到每个季度的PSU中。在每个PSU中不但包含Bug的修复而且还包含了最新的CPU。2. 如何查找最新的PSU?每个数据库版本都有自己的PSU,PSU版本号体现在数据库版本的最后一位,比如最新的10.2.0.5的PSU是10.2.0.5.3,而11.2.0
阅读全文
摘要:ASMLIB是一种基于Linux module,专门为Oracle Automatic Storage Management特性设计的内核支持库(kernel support library)。长久以来我们对ASMLIB的认识并不全面,这里我们来具体了解一下使用ASMLIB的优缺点。理论上我们可以从ASMLIB API中得到的以下益处:总是使用direct,async IO解决了永久性设备名的问题,即便在重启后设备名已经改变的情况下解决了文件权限、拥有者的问题减少了I/O期间从用户模式到内核模式的上下文切换,从而可能降低cpu使用率减少了文件句柄的使用量ASMLIB API提供了传递如I/O优
阅读全文
摘要:数据库异常停止(26号23:46分左右)Thu May 26 23:46:08 2011Shutting down instance: further logons disabledThu May 26 23:46:10 2011Stopping background process CJQ0Thu May 26 23:46:10 2011Stopping background process QMNCThu May 26 23:46:12 2011Stopping background process MMNLThu May 26 23:46:13 2011Stopping backgrou
阅读全文
摘要:对于Convertible, Truncated的对象,我们可以使用exp或expdp导出,然后drop原表,等字符集修改完以后再进行导入。另外对于lossy的对象,我们可以借助plsql等工具将数据导出,然后手工转换编码。关于cscan工具扫描以后产生的结果,如何去阅读的问题,以及在10g以后版本中如何安装的问题;大家可以参考如下两篇文章:Installing and configuring Csscan in 10gand 11g (Database Character Set Scanner) [ID 745809.1]Csscan output explained [ID 444701
阅读全文
摘要:10g中如何修改字符集?对于oracle10g,已经完全跟8i 9i不一样了,不再使用alter database命令,metalink解释如下:Using the "ALTER DATABASE CHARACTER SET"command in 8i or 9i and CSALTER in 10g and up.首先我们来看下scan.txt的内容:[Scan Summary]All character type data in the data dictionary areconvertible to the new character setAll characte
阅读全文
摘要:[oracle@roger ~]$scan默认会将扫描相关的信息写入到一个试图scm$parameters中,查询如下:SQL> select * from csm$parameters;NAMEVALUE--------------------------------------------------------------------------------SCANNER_VERSION5SCAN_TYPEALLSCAN_CHARYESTO_CHARSET_NAMEZHS16GBKFROM_CHARSET_NAMEWE8ISO8859P1SCAN_NCHARNOMAX_ARRAY_
阅读全文
摘要:从上面的安装结果输出信息来看,下面的2条授权语句执行失败了,grant READ on directory log_file_dir to systemgrant READ on directory data_file_dir to system这两句授权的语句,是没什么用的,完全可以从scminst.sql脚本中删除,大家可以参考如下metalink文档:Installing and configuring Csscan in 10g and 11g(Database Character Set Scanner) [ID 745809.1]关于csscan的运用,大家可以查看帮助信息,可以进
阅读全文
摘要:SQL> !uname -aLinux roger 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17EDT 2006 i686 i686 i386 GNU/LinuxSQL> select userenv('language') from dual;USERENV('LANGUAGE')----------------------------------------------------AMERICAN_AMERICA.WE8ISO8859P1SQL> select * from v$version;BANN
阅读全文
摘要:Prevention, Detection and Repair of Database Corruption预防,检查和修复数据库坏块IntroductionThis paper is targeted towards customers who want to get more information about corruption issues in an Oracle database environment.Corruption is ageneric termthat covers many types of problems and is used in different c
阅读全文
摘要:How To Deinstall Oracle Home In 11GR2Oracle 11g R2的Deinstall较复杂,要根据提示输入一大堆信息,然后复制很多文件到/tmp,如果是GRID,还会分发到其他节点,一共好几百M!成功后再要求以root执行uninstall。这样很是不爽快。最快速的删除办法是:rm -rf $ORACLE_HOMErm -rf $ORACLE_BASErm -rf /etc/ora*--------------对于单实例的Oracle数据库应该可以,而如果使用asm grid 等安装的系统,个人感觉不简单rm就能解决问题了.以下是官方的deinstall文档
阅读全文

浙公网安备 33010602011771号