ÖØ×°²Ù×÷ϵͳºóµÄoracleʵÀý»Ö¸´
ÖØ×°²Ù×÷ϵͳºó,Èç¹ûÊý¾ÝÎļþ,¿ØÖÆÎļþ,ÈÕÖ¾Îļþ¶¼ÍêºÃµÄ»°(ÔÚitpub¿´¹ýºÜ¶àÈËÌá¹ýÕâ¸ö»°Ìâ,¶àÊýÈ˶¼Êǽ«Õâ3¸öÎļþ·ÅÔÚͬһĿ¼oradata),Ö»ÐèÖØа²×°oracle(¸úÖØ×°²Ù×÷ϵͳǰͬ°æ±¾)µ½ÔĿ¼ºó,Öؽ¨ÊµÀý·þÎñºÍÃÜÂëÎļþ,ÅäÖÃÒ»ÏÂlistenerºÍtns¼´¿ÉÕý³£Æô¶¯Êý¾Ý¿â.
¹ý³ÌÈçÏÂ(¼ÙÉèÔʵÀýÃûΪorcl,°æ±¾Îª9i):
1.½«ÔÀ´µÄoracleÎļþ¼ÐÖØÃüÃû,±ÈÈçoracle_old;È»ºóÖØа²×°oracleµ½ÔĿ¼,¼´¸úÖØ×°²Ù×÷ϵͳǰͬһĿ¼,¼ÙÉèΪd:\oracle;°²×°¹ý³ÌÑ¡Ôñ"Ö»°²×°Èí¼þ"¼´²»´´½¨Êý¾Ý¿â,ÕâÑù¿ÉÒÔ½ÚÊ¡ºÜ¶àʱ¼ä.
2.ÅäÖÃlistenerºÍtns:
ÔËÐÐlsnrctl start,¼´¿ÉÔÚ´´½¨¼àÌý·þÎñ;
ʹÓÃnet managerÅäÖÃtns,µ«²»Òª²âÊÔ(Êý¾Ý¿âûÓÐÆðÀ´¿Ï¶¨²âÊÔ²»Í¨¹ýµÄ);
3.½«oradataÎļþ¼Ð¿½±´»ØÔĿ¼(Èçd:\oracle\oradata);
4.½«spfile¿½±´»ØÔĿ¼(Èçd:\oracle\ora92\database);
5.´´½¨ÊµÀý·þÎñ:
oradim -new -sid orcl -startmode auto
6.Öؽ¨¿ÚÁîÎļþ:
orapwd file=d:\oracle\ora92\database password=orcl entries=5
7.ÖØÆô¼àÌýºÍʵÀý.
8.Èç¹ûÊý¾Ý¿âûÓÐÆô¶¯¾Í½øÈësqlplusÊÖ¹¤´ò¿ªÊý¾Ý¿â
sqlplus /nolog
sql>conn sys/orcl@orcl as sysdba
sql>startup;
9.Èç¹ûÊý¾Ý¿â˳Àû´ò¿ª,Õû¸öʵÀý»Ö¸´¹ý³Ì¼´Íê³É.
Ïà¹ØÎĵµ£º
ÎÒÃÇ¿ÉÄÜ»á³öÏÖÕâÖÖÇé¿ö£¬Ä³¸ö±íÔÀ´Éè¼Æ²»ÖÜÈ«£¬µ¼Ö±íÀïÃæµÄÊý¾ÝÊý¾ÝÖظ´£¬ÄÇô£¬ÈçºÎ¶ÔÖظ´µÄÊý¾Ý½øÐÐɾ³ýÄØ£¿
Öظ´µÄÊý¾Ý¿ÉÄÜÓÐÕâÑùÁ½ÖÖÇé¿ö£¬µÚÒ»ÖÖʱ±íÖÐÖ»ÓÐijЩ×Ö¶ÎÒ»Ñù£¬µÚ¶þÖÖÊÇÁ½ÐмǼÍêÈ«Ò»Ñù¡£
Ò»¡¢¶ÔÓÚ²¿·Ö×Ö¶ÎÖظ´Êý¾ÝµÄɾ³ý
ÏÈÀ´Ì¸Ì¸ÈçºÎ²éѯÖظ´µÄÊý¾Ý°É¡£
ÏÂÃæÓï¾ä¿ÉÒÔ²éѯ³öÄÇЩÊý¾ÝÊÇÖظ´µÄ£º
se ......
max_commit_propagation_delayĬÈÏֵΪ700£¬¼´7Ã루µ¥Î»0.01s£¬http://www.orafaq.com/parms/parm1217.htm£©¡£
Õâ¸ö²ÎÊýÓ¦¸ÃÅäÖõÄÊÇRAC£¨Real Application Cluster£©Ö®¼äͬ²½Êý¾ÝµÄƵÂÊ¡£ÐÞ¸ÄÕâ¸ö²ÎÊýµÄºÃ´¦¾Í²»ÓÃ˵ÁË£¨
±¾ÈËÉîÊÜÆä¿à°¡
£©£¬µ«ÊÇÈç¹û×ßÁíÒ»¸ö¼«¶Ë£¬¿ÉÄÜ»á¸øÊý¾Ý¿âÔì³É¸ü´óµÄѹÁ¦
²ÎÊýÖ¸¶¨Ò»¸öinstance ......
ºÃ¾Ã¾ÍÏë¿´oracleÁË£¬ÓÉÓÚ×Ô¼ºÌ«ÀÁ£¬×î½ü²Å¿ªÊ¼¡£Ï£ÍûÒÔºóÄÜÑø³ÉºÃÏ°¹ß¡£
Ò»¡¢oracle 10g ·þÎñÆ÷
1.Ò»¸öoracle 10g·þÎñÆ÷°üº¬Ò»¸öoracleÊý¾Ý¿âºÍÒ»¸öoracle·þÎñÆ÷ʵÀý¡£
2.ÿµ±Êý¾Ý¿âÆô¶¯Ê±ºò£¬ÏµÍ³È«¾ÖÇø£¨SGA£©±»·ÖÅ䣬²¢Æô¶¯ÁËoracleºǫ́½ø³Ì¡£SGAÊÇÓÃÓÚÊý¾Ý¿âÓû§¹²ÏíÊý¾Ý¿âÐÅÏ¢µÄÄÚ´æÇøÓ ......
replace¾ÍÊÇÒ»°ãÒâÒåÉϵÄ×Ö·û´®Ìæ»»£¬translateÖ»ÊÇÒ»¸ö×Ö·ûÌæ»»¶ÔÓ¦µÄÒ»¸ö×Ö·û£¬ÏÂÃæÓÐÊÖ²á˵Ã÷£¬»¹ÓÐÀý×Ó O(∩_∩)O¹þ¹þ~
REPLACE
Syntax
Purpose
REPLACE returns char with every occurrence of search_string replaced with replacement_string. If replacement_string is omitted or null, then all occu ......
ÓеÄÇé¿öÏ£¬ÎÒÃÇÐèÒªÓõݹéµÄ·½·¨ÕûÀíÊý¾Ý£¬Õâ²Å³ÌÐòÖкÜÈÝÒ××öµ½£¬µ«ÊÇÔÚÊý¾Ý¿âÖУ¬ÓÃSQLÓï¾äÔõôʵÏÖ£¿ÏÂÃæÎÒÒÔ×îµäÐ͵ÄÊ÷ÐνṹÀ´ËµÃ÷ÏÂÈçºÎÔÚOracleʹÓõݹé²éѯ¡£
ΪÁË˵Ã÷·½±ã£¬´´½¨Ò»ÕÅÊý¾Ý¿â±í£¬ÓÃÓÚ´æ´¢Ò»¸ö¼òµ¥µÄÊ÷Ðνṹ
Sql´úÂë
create table TEST_TREE
( &n ......