ORA-01078 ORA-29701 11gr2 asm 单实例重启系统后不能启动
使用 sqlplus / as sysasm 启动asm实例出现下面错误信息:ORA-01078: failure in processing system parametersORA-29701: unable to connect to Cluster SynchronizationService[root@asmtest ~]# /etc/init.d/oracleasm startInitializing the Oracle ASMLib driver: [ OK ]Scanning...
/etc/hosts
很多人一提到更改hostname首先就想到修改/etc/hosts文件,认为hostname的配置文件就是/etc/hosts。其实不是的。hosts文件的作用相当于DNS,提供IP地址hostname的对应。早期的互联网计算机少,单机hosts文件里足够存放所有联网计算机。不过随着互联网的发展,这就远远不够了。于是就出现了分布式的DNS系统。由DNS服务器来...
避免Initializing the Oracle ASMLib driver: [FAILED]的方法
目前知道可能导致这个错误的原因有两个:[root@rac01 ~]# /etc/init.d/oracleasm configureConfiguring the Oracle ASM library driver.This will configure the on-boot properties of the Oracle ASMlibrarydriver. The following questions will determinewhether the driver...
ORA-27041: unable to open file--恢复被rm意外删除数据文件
当数据库中的某个数据文件被误删除之后,DBA可以选择使用已有的备份进行还原与恢复,下文为DBA提供了另一种选择,已经通过测试环境进行了相关测试,该方法是个不错的选择。转自http://www.xifenfei.com/2289.html一.模拟数据文件删除[oracle@node1 ~]$ sqlplus / as sys...
rman backup遇到ORA-19811
在对数据库进行备份的时候,使用了backup的 keep 选项,遇到了一个错误 ORA-19811.Recovery Manager: Release 11.2.0.4.0 - Production on Tue Dec 24 13:39:49 2013 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: ANDREArun { 2> allocate ch...
在线移动数据文件
在ORACLE12C之前,如果需要将数据文件(不包括临时文件)移动到其他位置,需要在offline下操作;在12C中则可以进行ONLINE数据文件移动。SQL> select file#,name from v$datafile order by con_id; FILE# NAME ---------- ---------------------------------------------------------...
数据文件丢失---ora-01110
数据库处于归档模式,新建的表空间数据文件被删除了,没有该数据文件的备份,如何进行恢复?SQL> startup ORACLE instance started. Total System Global Area 580395008 bytes Fixed Size 2255392 bytes Variable Size &nbs...
drop database---ora-01586
SQL> drop database; drop database * ERROR at line 1: ORA-01586: database must be mounted EXCLUSIVE and not open for this operation SQL> select instance_name, status from v$instance; INSTANCE_NAME STATUS ---------------- ------------ ANDREA ...
Manage Tablespaces in CDB and PDB(English)
http://www.oracle-base.com上的文章比较容易理解,转过来分享下。Multitenant : Manage Tablespaces in a Container Database (CDB) and Pluggable Database (PDB) in Oracle Database 12c Release 1 (12.1)The multitenant option introduced in Oracle Database 12c allows a single container database (CD...
测试rman备份
在测试环境上进行了rman备份。先写好备份脚本放在DBA专用目录下,使用rman命令检查脚本语法,最后进行备份。#whole-backup.rmanrun{allocate channel ch1 type disk;allocate channel ch2 type disk;backup as backupset format '/home/oracle/whole-%d_%s.dbf'tag 'decemeber-whole-backup' incremental level 0 da...
Oracle多实例数据库备份脚本
最近对客户数据库服务器上的备份脚本进行了修改,主要使用Shell脚本循,简化代码结构。####!/bin/bashsids1="12 dbname list"sids2=" 12 dbname list"#this is instance listsids3=$sids1$sids2export ORACLE_HOME=/u01/app/oracle/11gR2/dbhomeDA2=`date "+%Y%m%d"`dmpfil=" "lgfile=" "attach=" "cnti=1tt_f...
SEC_CASE_SENSITIVE_LOGON--密码大小写参数--动态
今天在做了一个change,就是修改一个Oracle 数据库上的这个参数,SQL> show parameter sec_case_sensitive_logon;NAME &...
linux中与Oracle有关的内核参数详解(zhuan)
转自 http://blog.163.com/scott_guo/blog/static/1810260832011113035344336/安装Oracle的时候需要调整linux的内核参数,但是各参数代表什么含义呢,下面做详细解析。Linux安装文档中给出的最小值:fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 429496729...
oracle9i升级11g后无法发送邮件
在升级完数据库之后不久就接到客户投诉,说是用户完成工作之后无法收到邮件,经过UNIXteam排除邮件服务器之后,问题被转移到DBAteam了,研究了半天终于解决了。参考文章http://www.oracle-base.com/articles/11g/fine-grained-access-to-network-services-11gr1.php。Oracle allows access to external network services ...
oracle 控制文件路径修改--ORA-02095
数据库从9i升级到11g的时候,一个控制文件路径放错了,需要开个change纠正过来,在虚拟机上进行相关测试:step1: 查看当前控制文件的参数SQL> selectstatus,name,block_size,FILE_SIZE_BLKS,IS_RECOVERY_DEST_FILE from v$controlfile; STATUS NAME &nbs...
oracle多实例start-stop脚本
在客户的服务器上,基本上都运行10个以上的Oracle实例,很多时候做change都要启停所有的实例,为了方便,写了如下脚本:#!/usr/bin/shexportORACLE_HOME=/ora11ghome/app/ora11g/product/11.2.0/dbhome_1#ps -ef| grep pmon|grep -v grep|sort|awk '{print $9}'|awk -F '_' '{print$3}'sids1="CEN61...
mongodb
http://blog.chinaunix.net/uid/26785103.htmlhttp://www.itpub.net/thread-1702821-1-1.html
收藏芒果
http://www.itpub.net/forum.php?mod=viewthread&tid=1584381&extra=page%3D1%26filter%3Ddigest%26digest%3D1%26digest%3D1http://www.itpub.net/thread-1575399-1-1.html
oracle优化(收藏)
http://www.itpub.net/thread-1586113-1-1.html收藏的地址,
好帖子珍藏
http://www.itpub.net/thread-911241-1-1.html 好帖子珍藏