Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

oracleÆô¶¯·ÖÎö

oracleÆô¶¯·½Ê½ÓëÃüÁî²ÎÊý»ã×Ü
±¾ÎÄÖ÷ÒªÊǶÔoracleµÄÆô¶¯·½Ê½ºÍÏà¹ØµÄÃüÁî²ÎÊý½øÐÐÒ»¸ö»ã×Ü£¬ÓÃÒÔ¼ÓÉîÓ¡Ïó¡£
OracleµÄÆô¶¯·½Ê½£º
startup nomount
startup mount
startup open (startupµÄĬÈÏÑ¡Ïî)
ÆäËû³£ÓõIJÎÊý£ºread only ,read write ,force,restrict
ÕâЩ²ÎÊý¿ÉÒÔÒ»ÆðʹÓÃ,±ÈÈç startup Óë startup open read write ÊÇÒ»ÑùµÄЧ¹û¡£
OracleµÄÆô¶¯¹ý³Ì£ºÆô¶¯ÊµÀý  -> ×°ÔØÊý¾Ý¿â -> ´ò¿ªÊý¾Ý¿â
ÓëÖ®¶ÔÓ¦µÄ¶ÁÈ¡ÏàÓ¦ÎļþµÄ˳Ðò£º ²ÎÊýÎļþ -> ¿ØÖÆÎļþ -> Êý¾ÝÎļþ
ÎÒÃÇÑéÖ¤Ò»ÏÂÕâЩ²½ÖèµÄÇø±ð£º
startup nomount
ʹÓÃnomount·½Ê½Æô¶¯Êý¾Ý¿âʱ£¬±íʾֻÆô¶¯Êý¾Ý¿âʵÀý£¬²»×°ÔØÊý¾Ý¿â£¬²»´ò¿ªÊý¾Ý¿â
Õâʱֻ¶ÁÈ¡²ÎÊýÎļþ£¬Ö÷ÒªÓÐÁ½²¿·Ö¹¤×÷£ºÒ»ÊÇ·ÖÅäÄÚ´æSGAÇø£¬¶þÊÇÆô¶¯Oracleºǫ́½ø³Ì
ÈçÏÂÎÒÃÇÐÞ¸Äoracle²ÎÊýÎļþµÄÃû³Æ£¬²¢ÒÔnomount µÄ·½Ê½Æô¶¯Êý¾Ý¿â
ÕâÀïÐèÒª½«pfile,spfile ¶¼½øÐÐÐ޸ģ¬Êý¾Ý¿âĬÈÏʹÓÃspfileÆô¶¯£¬ÔÚÕÒ²»µ½spfileʱÓÃpfileÆô¶¯¡£
[oracle@localhost dbs]$ pwd
/oracle/orc10g/product/10.1.0/db_1/dbs
[oracle@localhost dbs]$ mv initorcl.ora initorcl1.ora
[oracle@localhost dbs]$ mv spfileorcl.ora spfileorcl1.ora
SYS@orcl>shutdown abort
ORACLE instance shut down.
SYS@orcl>startup nomount
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/orc10g/product/10.1.0/db_1/dbs/initorcl.ora'
SYS@orcl>
#±£³Ö²ÎÊýÎļþÕýÈ·£¬Ð޸ĿØÖÆÎļþÃû³Æ
[oracle@localhost orcl]$ pwd
/oracle/orc10g/oradata/orcl
[oracle@localhost orcl]$ mv control01.ctl control01a.ctl
[oracle@localhost orcl]$ mv control02.ctl control02a.ctl
[oracle@localhost orcl]$ mv control03.ctl control03a.ctl
.....
SYS@orcl>startup nomount
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SYS@orcl>
ÔÚnomountµÄ·½Ê½ÏÂÐ޸ĿØÖÆÎļþÃû³Æ£¬²¢Ã»Óб¨´í¡£ËµÃ÷ÔÚnomountµÄ·½Ê½Ï£¬²¢Ã»ÓжÁÈ¡¿ØÖÆÎļþ¡£
¼ÌÐøÒÔÉϵIJ½Ö裬ÎÒÃÇÒÔmountµÄ·½Ê½Æô¶¯£º
SYS@orcl>alter database mount;
alter database mount
*
ERROR at line 1:
ORA-00205: error in identifying


Ïà¹ØÎĵµ£º

Oracle 10g RAC On Linux Using NFS

http://inthirties.com:90/thread-918-3-1.html
This article describes the installation of
Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux
4.5) using NFS to provide the shared storage.
Introduction
Download Software
Operating System Installation
Oracle Installation Prereq ......

oracle ²éÕÒ¡¢É¾³ýÖظ´¼Ç¼

×ܽáÁËÒ»ÏÂɾ³ýÖظ´¼Ç¼µÄ·½·¨£¬ÒÔ¼°Ã¿ÖÖ·½·¨µÄÓÅȱµã¡£
¼ÙÉè±íÃûΪTbl£¬±íÖÐÓÐÈýÁÐcol1£¬col2£¬col3£¬ÆäÖÐcol1£¬col2ÊÇÖ÷¼ü£¬²¢ÇÒ£¬col1£¬col2ÉϼÓÁËË÷Òý¡£
1¡¢Í¨¹ý´´½¨ÁÙʱ±í
¿ÉÒÔ°ÑÊý¾ÝÏȵ¼Èëµ½Ò»¸öÁÙʱ±íÖУ¬È»ºóɾ³ýÔ­±íµÄÊý¾Ý£¬ÔÙ°ÑÊý¾Ýµ¼»ØÔ­±í£¬SQLÓï¾äÈçÏ£º
creat table tbl_tmp (select distinct* from tbl) ......

µ±oracle³öÏÖ ¸ñʽÓë×Ö·û´®¸ñʽ²»Æ¥Åä½â¾ö°ì·¨

    select v.spid spid,v.appid appid,v.version version,v.newversion newversion,v.status status,v.createtime createtime from adc_spversionchangeapply v inner join adc_application a on a.id=v.appid
    where a.create_by = 'a' and v.appid = '12000000005' and  (v ......

Red Hat Cluster Suite¼¯Èº OracleÊý¾Ý¿â

Ŀ¼
Ò»¡¢¸ÅÊö
¶þ¡¢Ó²¼þƽ̨´î½¨
Èý¡¢Redhat As4 update2°²×°ÅäÖÃ
ËÄ¡¢Oracle 10g°²×°ÅäÖÃ
Îå¡¢Red Hat Cluster Suite°²×°ÅäÖÃ
Áù¡¢ÏµÍ³Çл»²âÊÔ
Æß¡¢³£ÓÃÃüÁî
Ò»¡¢¸ÅÊö
»ÆµºÊпª·¢Çø²ÆÕþ¾Ö±¾´Î²ÉÓÃÁ½Ì¨IBM X3850£­8664·þÎñÆ÷¡¢Ò»Ì¨DS4300ÅÌÕó£¬Æ½Ì¨²ÉÓÃRedhat As4 update2
½áºÏcluster suite£¬²¿ÊðOracle 10gÊý ......

oracleÖÐÈ¥Öظ´¼Ç¼,²»ÓÃdistinct

ÓÃdistinct¹Ø¼ü×ÖÖ»ÄܹýÂ˲éѯ×Ö¶ÎÖÐËùÓмǼÏàͬµÄ£¨¼Ç¼¼¯Ïàͬ£©£¬¶øÈç¹ûÒªÖ¸¶¨Ò»¸ö×Ö¶ÎȴûÓÐЧ¹û£¬ÁíÍâdistinct¹Ø¼ü×Ö»áÅÅÐò£¬Ð§Âʺܵ͡£
select distinct name from t1 ÄÜÏû³ýÖظ´¼Ç¼£¬µ«Ö»ÄÜÈ¡Ò»¸ö×ֶΣ¬ÏÖÔÚҪͬʱȡid,nameÕâ2¸ö×ֶεÄÖµ¡£
select distinct id,name from t1 ¿ÉÒÔÈ¡¶à¸ö×ֶΣ¬µ«Ö»ÄÜÏû³ýÕâ2¸ö×Ö¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ