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

Oracle 9i ´Ó9.2.0.1Éý¼¶µ½ 9.2.0.6 ²½Öè

 Ò». °²×°Ç°µÄ×¼±¸
1.ÔÚÊý¾Ý¿â·þÎñÆ÷ÉÏÒÔAdministratorÉí·ÝµÇ¼µ½Windows
2.Í£Ö¹ËùÓÐOracleÏà¹ØµÄ·þÎñ¡£ÕâЩ·þÎñÃû³Æͨ³£ÊÇÒÔOracle´òÍ·
3.Í£Ö¹Distributed Transaction Coordinator·þÎñ
4.±¸·ÝÓëOracleÊý¾Ý¿âÏà¹ØµÄËùÓÐÎļþ£¨°üÀ¨OracleÊý¾Ý¿âÈí¼þ¼°Êý¾ÝÎļþ£©£¬°ÑÕâЩÎļþ°´Ô­ÓеÄĿ¼½á¹¹¸´ÖƵ½°²È«µÄµØ·½£¬²¢×öºÃ±ê¼Ç»ò¼Ç¼
¶þ.  °²×°¹ý³Ì
´ÓmetalinkÏÂÔØoracle for window 32 9.2.0.6 patch
°²×°Ê±×¢Òâ±í¿Õ¼ä´óСºÍ¼àÌýÊÇ·ñÕý³£
ÔËÐÐPATCHµÄSETUP.EXEÎļþ\Disk1\setup.exe
--Èç¹ûÒÔÉÏ°²×°Ö´ÐÐÎÞÏìÓ¦£¬ÔòÖ±½ÓÖ´ÐÐDisk1\install\setup.exeÎļþ
--°²×°µÄʱºò×¢ÒâȱʡѡÔñÊÇн¨Ò»¸öORACLE_HOME£¬ÎÒÃÇÓ¦¸ÃÑ¡ÔñÔ­À´×°µÄORACLE_HOME£¬·ñÔòÉý¼¶¿ÉÄܲ»³É¹¦¡£
--°²×°Íê³Éºó£¬¼ì²éNET MANAGERÊÇ·ñ¿ÉÒÔ´ò¿ªÔ­À´µÄNETÅäÖã¬Èç¹û´ò²»¿ªÔò¿ÉÄÜÊÇÓÐЩÅäÖøñʽ²»ÕýÈ·£¬½«ÄÇЩ±È½ÏÌرðµÄÅäÖÃÖØÐÂɾ³ýÅäÖùý¼´¿É£¬»òÕßÈ«²¿É¾³ý£¬ÖØн¨¹ý
--±¾ÎļÙÉèORACLE_HOMEΪC:\oracle\ora92,ʵ¼ÊÇé¿ö¸ù¾ÝÄú¸öÈË°²×°Ä¿Â¼¶¨
--ÒÔϲ½ÖèΪÉý¼¶Ô­ÒÑ´´½¨Êý¾Ý¿â
--ÓÃSYS AS SYSDBAµÇ¼Êý¾Ý¿â
conn sys/sys as sysdba;
startup;
--ÉèÖù²Ïí³ØºÍJAVA³Ø´óÓÚ150M
ALTER SYSTEM SET SHARED_POOL_SIZE='150M' SCOPE=spfile;
ALTER SYSTEM SET JAVA_POOL_SIZE='150M' SCOPE=spfile;
--ÐÞ¸Äϵͳ±í¿Õ¼ä´óС£¬±£Ö¤ÓÐ50MµÄ¶àÓà¿Õ¼ä
--ÐÞ¸ÄXDB±í¿Õ¼ä´óС£¬±£Ö¤ÓÐ20MµÄ¶àÓà¿Õ¼ä
shutdown immediate;
--ÖØÐÂÆô¶¯Êý¾Ý¿âµ½Éý¼¶×´Ì¬
STARTUP MIGRATE;
SPOOL c:\patch.log;
--¿ªÊ¼ÔËÐÐÉý¼¶½Å±¾£¬ÄÚ´æ×ã¹»µÄ»°ÔËÐÐʱ¼äСÓÚ1¸öСʱ,½¨ÒéÔÚÔËÐÐÆÚ¼ä¹Ø±ÕËùÓÐÆäËüÏà¹ØµÄÔËÐгÌÐò£¬ÁíÍâ×îºÃÓÐ200MµÄ¶àÓàÄÚ´æ¿Õ¼ä
--Éý¼¶Ê±¿ÉÒÔͨ¹ýWINDOWSÈÎÎñ¹ÜÀíÆ÷¼àÊÓORACLEÊÇ·ñÔÚÉý¼¶¡£
@C:\oracle\ora92\rdbms\admin\catpatch.sql;
SPOOL OFF;
--»¹Ô­¹²Ïí³ØºÍJAVA³Ø´óС£¬¸ù¾Ýʵ¼ÊÇé¿öÉèÖÃ
ALTER SYSTEM SET SHARED_POOL_SIZE='50M' SCOPE=spfile;
ALTER SYSTEM SET JAVA_POOL_SIZE='50M' SCOPE=spfile;
shutdown immediate;
STARTUP;
--ÒÔϽű¾ÎªÖØбàÒëËùÓÐʧЧ¶ÔÏó
@C:\oracle\ora92\rdbms\admin\utlrp.sql;
--Íê³É
--Èç¹ûһ̨»úÆ÷´æÔÚ¶à¸öÊý¾Ý¿âÐèÿ¸öÊý¾Ý¿â¶¼½øÐÐÉý¼¶£¬²Ù×÷²½ÖèÖظ´


Ïà¹ØÎĵµ£º

EXCELµ¼ÈëORACLE

 ·½·¨Ò»£¬Ê¹ÓÃSQL*Loader  
   Õâ¸öÊÇÓõĽ϶àµÄ·½·¨£¬Ç°Ìá±ØÐëoracleÊý¾ÝÖÐÄ¿µÄ±íÒѾ­´æÔÚ¡£  
   ´óÌå²½ÖèÈçÏ£º  
   1     ½«excleÎļþÁí´æΪһ¸öÐÂÎļþ±ÈÈçÎļþÃûΪtext.txt£¬ÎļþÀàÐÍÑ¡Îı¾Îļþ£¨ÖƱí·û·Ö¸ô£©£¬ÕâÀïÑ¡Ô ......

oracleµÄrank,over partitionº­ÊýʹÓÃ

 ¹Ø¼ü×Ö: º­Êýrank, over partitionʹÓÃ
ÅÅÁУ¨rank()£©º¯Êý¡£ÕâЩÅÅÁк¯ÊýÌṩÁ˶¨ÒåÒ»¸ö¼¯ºÏ£¨Ê¹Óà PARTITION ×Ӿ䣩£¬È»ºó¸ù¾ÝijÖÖÅÅÐò·½Ê½¶ÔÕâ¸ö¼¯ºÏÄÚµÄÔªËؽøÐÐÅÅÁеÄÄÜÁ¦£¬ÏÂÃæÒÔscottÓû§µÄemp±íΪÀýÀ´ËµÃ÷rank over partitionÈçºÎʹÓÃ
1£©²éѯԱ¹¤Ð½Ë®²¢Á¬ÐøÇóºÍ
select deptno,ename,sal,
sum(sal)over ......

oracle decodeʹÓ÷½·¨

Êý¾Ý¿âÖо­³£ÓÃ0,1 À´±êʶij×ֶΣ¬×÷Ϊ¿ª·¢ÈËÔ±¿ÉÄÜÖªµÀËüµÄÒâÒ壬µ«ÎÒÃÇÈÃËüÏÔʾÔÚGridÁбíÉϱØÐëÏÔʾËüµÄʵ¼Êº¬Ò壬һ°ãÎÒÃÇ¿ÉÒÔÔÚ´úÂëÖжÁÊý¾ÝԴʱ¿ÉÒÔ×÷´¦Àí£¬Í¬Ê±ORACLEÖÐÓÃdecodeÒ²ÊDz»´í·½·¨¡£
   decode(Ìõ¼þ,Öµ1,·­ÒëÖµ1,Öµ2,·­ÒëÖµ2,...Öµn,·­ÒëÖµn,ȱʡֵ)
    ¸Ãº¯ÊýµÄº¬ÒåÈçÏ£º
......

oracle Êý¾Ý×ÖµäÊÓͼ֮ DICT / DICTIONARY

1.µ±ÄãÃÍÈ»¼äÍü¼Çͨ¹ýʲôÊÓͼ¿ÉÒԲ鿴procedureÄÚÈÝʱ£¬ÒþÔ¼¼ÇµÃËùÐèµÄÊÓͼ°üº¬“SOUR”×ֶΣ¬´Ëʱ²éѯdict/dictionaryÊÓͼÊÇ×îºÃµÄÑ¡Ôñ
sys@ora10g> col COMMENTS for a78
sys@ora10g>select * from dict where TABLE_NAME like '%SOUR%';
TABLE_NAME         ......

oracle µÄredoºÍundo

À´×Ôhttp://www.inthirties.com/thread-239-1-1.html
 ÔÚÕâÀï»á½éÉÜUNDO£¬REDOÊÇÈçºÎ²úÉúµÄ£¬¶ÔTRANSACTIONSµÄÓ°Ï죬ÒÔ¼°ËûÃÇÖ®¼äÈçºÎЭͬ¹¤×÷µÄ¡£ 
ʲôÊÇREDO 
REDO¼Ç¼transaction logs£¬·ÖΪonlineºÍarchived¡£ÒÔ»Ö¸´ÎªÄ¿µÄ¡£ 
±ÈÈ磬»úÆ÷Í£µç£¬ÄÇôÔÚÖØÆðÖ®ºóÐèÒªonline redo logsÈ¥»Ö¸´ÏµÍ³µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ