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

ORACLEÌåϵ½á¹¹


Ò»¡¢             ÄÚ´æ½á¹¹
¹²Ïí³Ø£º·ÖΪ¿â¸ßËÙ»º´æºÍ×Öµä¸ßËÙ»º³åÇø
¿â¸ßËÙ»º´æ£¬ÓÃÓÚ´æ´¢¾­¹ýÓï·¨·ÖÎö²¢ÇÒÕýÈ·µÄSQLÓï¾ä£¬²¢Ëæʱ׼±¸Ö´ÐС£
×Öµä¸ßËÙ»º³åÇø£¬´æ´¢µÇ½µ½ORACLEµÄÓû§Ãû£¬¼°ÕâЩÓû§ÓÐÄÄЩÊý¾Ý¿â¶ÔÏóÒÔ¼°ÕâЩÊý¾Ý¿â¶ÔÏóµÄλÖá£
Êý¾Ý»º³åÇø£ºÊý¾Ý¸ßËÙ»º³åÇø°üº¬Èý¸öÀàÐ͵ÄÇøÓò
keep»º³å³Ø¡¢recycle»º³å³Ø¡¢ default»º³å³Ø
                     ´æ·ÅORACLEϵͳ×î½üʹÓùýµÄÊý¾Ý¿é
       ÈÕÖ¾»º³åÇø£º
ÈκÎÊÂÎñÔڼǼµ½ÖØ×öÈÕ־֮ǰ¶¼±ØÐëÊ×Ïȷŵ½ÖØ×öÈÕÖ¾»º³åÇøÖУ¬È»ºóÓÉÈÕ־дÈë½ø³Ì¶¨ÆÚ½«´Ë»º³åÇøµÄÄÚÈÝдÈëÖØ×öÈÕÖ¾ÖÐ
¶þ¡¢             ºǫ́½ø³Ì
PMON£º
              ¼à¿ØÓû§½ø³Ì£¬ÓÃÓÚÖÕÖ¹ÄÇЩʧ°ÜµÄÓû§ÒÔ¼°ÊÍ·ÅÓû§ËùÕ¼ÓõÄ×ÊÔ´µÈ
SMON£º
              ¼à¿ØORACLE ϵͳ±¾Éí£¬ÔÚÊý¾Ý¿âÆô¶¯Ê±Ö´Ðлָ´¹¤×÷µÄÇ¿ÖÆÐÔ½ø³Ì£¨Ç°¹ö£©
DBWR£º
              ¶ÁдÊý¾Ý½ø³Ì£¬½«Ð޸ĺóµÄÊý¾Ý¿éд»ØÊý¾Ý¿âÎļþÖÐ
LGWR£º
              ¶ÁдÈÕÖ¾½ø³Ì£¬ÓÃÓÚ½«SGAÇøÖеÄÈÕÖ¾ÐÅϢдÈëÈÕÖ¾ÎļþµÄ½ø³Ì
CKPT£º
¿ÉÑ¡½ø³Ì£¬ÔÚϵͳÔËÐÐÖгöÏÖ²éÕÒÊý¾ÝÇëÇóʱ£¬ÏµÍ³ÕÒ³öÊý¾Ý´æÈëÄÚ´æÇø£¬Óû§¿ÉÒÔ¶ÔÄÚ´æÖеÄÊý¾Ý½øÐÐÐ޸ģ¬µ±ÐèÒª¶ÔÐ޸ĺóµÄÊý¾Ýд»ØÊý¾ÝÎļþʱ¾Í²úÉúÖØ×öÈÕÖ¾ÎļþµÄ½»Ìæд£¬ÕâÊǾͳöÏÖ¼ìÑéµã
 
 
Èý¡¢             Êý¾Ý¿âÎļþ
²ÎÊýÎļþ£º
¼´initsid.ora ÊÇÅäÖòÎÊýºÍÊýÖµµÄ¼¯ºÏ£¬Ã¿¸ö²ÎÊýÖµ¶¼¿ØÖÆ»òÐÞ¸ÄÊý¾Ý¿âºÍʵÀýµÄij¸ö·½Ãæ
Êý¾ÝÎļþ£º
              ´æ·ÅËùÓÐÊý¾Ý¿âµÄÒµÎñÊý¾Ý
¿ØÖÆÎļþ£º
              ÔÚÊý¾Ý¿âʵÀýÆô¶¯Ê±ÔËÐÐ
ÈÕÖ¾Î


Ïà¹ØÎĵµ£º

oracle »Ø¹ö¶Î RBS ¶ÔORA 01555µÄ¾«²Ê½âÊÍ

¼ÙÉèÓÐÕÅ±í£¬½Ðtable1£¬ÀïÃæÓÐ5000ÍòÐÐÊý¾Ý£¬¼ÙÉèÔ¤¼ÆÈ«±íɨÃè1´ÎÐèÒª1¸öСʱ£¬ÎÒÃÇ´Ó¹ý³ÌÀ´¿´£º
1¡¢ÔÚ1µãÖÓ£¬ÓиöÓû§A·¢³öÁËselect * from table1;´Ëʱ²»¹Ü½«À´table1Ôõô±ä»¯£¬ÕýÈ·µÄ½á¹ûÓ¦¸ÃÊÇÓû§A»á¿´µ½ÔÚ1µãÖÓÕâ¸öʱ¿ÌµÄÄÚÈÝ¡£Õâ¸öÊÇûÓÐÒÉÎʵġ£
2¡¢ÔÚ1µã30·Ö£¬ÓиöÓû§BÖ´ÐÐÁËupdateÃüÁ¸üÐÂÁËtable1±íÖеĵ ......

RHEL5ÏÂOracle 10gÍêÕû°²×°ËµÃ÷£¬²»ÐÅ°²²»³É¹¦£¡

1.×¼±¸¹¤×÷£º
°²×°32λ»ò64λRHEL5.4£¬°²×°Ïòµ¼Öв»ÐèҪѡÈκÎ×é¼þ£¬²»ÐèÒªÔ¤ÅäÖÃÈκÎÓû§£¬IPÊÇDHCP»ò¾²Ì¬½Ô¿É¡£
°²×°ºóÅäÖöîÍâ×é¼þ£º
yum -y install libXp,make,binutils,gcc,kernel-headers,glibc-headers,glibc-devel,libgomp
ÔÚx86_64ÉÏ»¹ÐèÒªcompat-libstdc++-33.x86_64
¶Ôx86£¬ÉÏ´«²¢½âѹ10201_database_lin ......

OracleÌṩµÄÐòºÅº¯Êý

OracleÌṩµÄÐòºÅº¯Êý:
ÒÔemp±íΪÀý:
1: rownum ×î¼òµ¥µÄÐòºÅ µ«ÊÇÔÚorder by֮ǰ¾ÍÈ·¶¨Öµ.
select rownum,t.* from emp t order by ename
  ÐÐÊý
ROWNUM
EMPNO
ENAME
JOB
MGR
HIREDATE
SAL
COMM
DEPTNO
1
11
7876
ADAMS
CLERK
7788
1987-5-23
1100
¡¡
20
2
2
7499
ALLEN
SALESMAN
7698 ......

ORACLEÖÐLikeÓëInstrÐÔÄÜ´ó±ÈÆ´

t±íÖн«½üÓÐ1100ÍòÊý¾Ý£¬ºÜ¶àʱºò£¬ÎÒÃÇÒª½øÐÐ×Ö·û´®Æ¥Å䣬ÔÚSQLÓï¾äÖУ¬ÎÒÃÇͨ³£Ê¹ÓÃlikeÀ´´ïµ½ÎÒÃÇËÑË÷µÄÄ¿±ê¡£µ«¾­¹ýʵ¼Ê²âÊÔ·¢ÏÖ£¬likeµÄЧÂÊÓëinstrº¯Êý²î±ðÏ൱´ó¡£ÏÂÃæÊÇһЩ²âÊÔ½á¹û£º
SQL> set timing on
SQL> select count(*) from t where instr(title,’ÊÖ²á’)>0;
COUNT(*)
—&md ......

ORACLE directory Ŀ¼


Create directoryÈÃÎÒÃÇ¿ÉÒÔÔÚOracleÊý¾Ý¿âÖÐÁé»îµÄ¶ÔÎļþ½øÐжÁд²Ù×÷£¬¼«´óµÄÌá¸ßÁËOracleµÄÒ×ÓÃÐԺͿÉÀ©Õ¹ÐÔ¡£
ÆäÓ﷨Ϊ:
CREATE [OR REPLACE] DIRECTORY directory AS 'pathname';
±¾°¸Àý¾ßÌå´´½¨ÈçÏÂ:
create or replace directory exp_dir as '/tmp';
Ŀ¼´´½¨ÒԺ󣬾ͿÉÒ԰ѶÁдȨÏÞÊÚÓèÌض¨Óû§ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ