oracleÊý¾Ý¿âͬ²½¼¼Êõ
oracleÊý¾Ý¿âͬ²½¼¼Êõ
¸ß¼¶¸´ÖÆ
ʲôÊǸ´ÖÆ£¿¼òµ¥µØ˵¸´ÖƾÍÊÇÔÚÓÉÁ½¸ö»òÕ߶à¸öÊý¾Ý¿âϵͳ¹¹³ÉµÄÒ»¸ö·Ö²¼Ê½Êý¾Ý¿â»·¾³Öп½±´Êý¾ÝµÄ¹ý³Ì¡£
¸ß¼¶¸´ÖÆ£¬ÊÇÔÚ×é³É·Ö²¼Ê½Êý¾Ý¿âϵͳµÄ¶à¸öÊý¾Ý¿âÖи´ÖƺÍά»¤Êý¾Ý¿â¶ÔÏóµÄ¹ý³Ì¡£ Oracle ¸ß¼¶¸´ÖÆÔÊÐíÓ¦ÓóÌÐò¸üÐÂÊý¾Ý¿âµÄÈκθ±±¾£¬²¢½«ÕâЩ¸ü¸Ä×Ô¶¯´«µÝµ½ÆäËûÊý¾Ý¿â£¬Í¬Ê±È·±£È«¾ÖÊÂÎñ´¦ÀíµÄÒ»ÖÂÐÔºÍÊý¾ÝÍêÕûÐÔ¡£
ͬ²½¸´ÖÆ£¬¸´ÖÆÊý¾ÝÔÚÈκÎʱ¼äÔÚÈκθ´Öƽڵã¾ù±£³ÖÒ»Ö¡£Èç¹û¸´ÖÆ»·¾³ÖеÄÈκÎÒ»¸ö½ÚµãµÄ¸´ÖÆÊý¾Ý·¢ÉúÁ˸üвÙ×÷£¬ÕâÖֱ仯»áÁ¢¿Ì·´Ó³µ½ÆäËûËùÓеĸ´Öƽڵ㡣ÕâÖÖ¼¼ÊõÊÊÓÃÓÚÄÇЩ¶ÔÓÚʵʱÐÔÒªÇó½Ï¸ßµÄÉÌÒµÓ¦ÓÃÖС£
Òì²½¸´ÖÆ£¬ËùÓи´ÖƽڵãµÄÊý¾ÝÔÚÒ»¶¨Ê±¼äÄÚÊDz»Í¬²½µÄ¡£Èç¹û¸´ÖÆ»·¾³ÖеÄÆäÖеÄÒ»¸ö½ÚµãµÄ¸´ÖÆÊý¾Ý·¢ÉúÁ˸üвÙ×÷£¬ÕâÖָı佫ÔÚ²»Í¬µÄÊÂÎñÖб»´«²¥ºÍÓ¦Óõ½ÆäËûËùÓи´Öƽڵ㡣ÕâЩ²»Í¬µÄÊÂÎñ¼ä¿ÉÒÔ¼ä¸ô¼¸Ã룬¼¸·ÖÖÖ£¬¼¸Ð¡Ê±£¬Ò²¿ÉÒÔÊǼ¸ÌìÖ®ºó¡£¸´ÖƽڵãÖ®¼äµÄÊý¾ÝÁÙʱÊDz»Í¬²½µÄ£¬µ«´«²¥×îÖÕ½«±£Ö¤ËùÓи´Öƽڵã¼äµÄÊý¾ÝÒ»Ö¡£
Ò»¡¢ÊµÏÖÊý¾Ý¿â¸´ÖƵÄÇ°ÌáÌõ¼þ
1¡¢Êý¾Ý¿âÖ§³Ö¸ß¼¶¸´Öƹ¦ÄÜ
Äú¿ÉÒÔÓÃsystemÉí·ÝµÇ¼Êý¾Ý¿â£¬²é¿´v$optionÊÓͼ£¬Èç¹ûÆäÖÐAdvanced replicationΪTRUE£¬ÔòÖ§³Ö¸ß¼¶¸´Öƹ¦ÄÜ£»·ñÔò²»Ö§³Ö¡£
2¡¢Êý¾Ý¿â³õʼ»¯²ÎÊýÒªÇó
¢Ù¡¢db_domain = test.com.cn
Ö¸Ã÷Êý¾Ý¿âµÄÓòÃû(ĬÈϵÄÊÇWORLD)£¬ÕâÀï¿ÉÒÔÓÃÄú¹«Ë¾µÄÓòÃû¡£
¢Ú¡¢global_names = true
ËüÒªÇóÊý¾Ý¿âÁ´½Ó(database link)ºÍ±»Á¬½ÓµÄÊý¾Ý¿âÃû³ÆÒ»Ö¡£
ÏÖÔÚÈ«¾ÖÊý¾Ý¿âÃû£ºdb_name+”.”+db_domain
¢Û¡¢ÓиúÊý¾Ý¿âjobÖ´ÐÐÓйصIJÎÊý
job_queue_processes = 1
job_queue_interval = 60
distributed_transactions = 10
open_links = 4
µÚÒ»Ðж¨ÒåSNP½ø³ÌµÄÆô¶¯¸öÊýΪn¡£ÏµÍ³È±Ê¡ÖµÎª0£¬Õý³£¶¨Ò巶ΧΪ0¡«36£¬¸ù¾ÝÈÎÎñµÄ¶àÉÙ£¬¿ÉÒÔÅäÖò»Í¬µÄÊýÖµ¡£
µÚ¶þÐж¨Òåϵͳÿ¸ôNÃ뻽ÐѸýø³ÌÒ»´Î¡£ÏµÍ³È±Ê¡ÖµÎª60Ã룬Õý³£·¶Î§Îª1¡«3600Ãë¡£ÊÂʵÉÏ£¬¸Ã½ø³ÌÖ´ÐÐÍ굱ǰÈÎÎñºó£¬¾Í½øÈë˯Ãß״̬£¬Ë¯ÃßÒ»¶Îʱ¼äºó£¬ÓÉϵͳµÄ×ܿظºÔð½«Æ份ÐÑ¡£
Èç¹ûÐÞ¸ÄÁËÒÔÉÏÕ⼸
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
1.oralceɾ³ýÃüÁî
1.1.ɾ³ýÓû§
drop user username cascade;
1.2.ɾ³ý±í¿Õ¼ä
DROP TABLESPACE dataspace INCLUDING CONTENTS AND DATAFILES;
2.´´½¨±í¿Õ¼ä
2.1.½¨Á¢±í¿Õ¼ä
CREATE TABLESPACE dataspace
DATAFILE '/Ŀ¼/dataspace.dbf' SIZE 500M
UNIFORM SIZE 128k; //Ö¸¶¨Çø³ß´çΪ128k,Èç²»Ö¸¶¨£¬Çø³ß´çĬÈÏÎ ......
1. ASCII
·µ»ØÓëÖ¸¶¨µÄ×Ö·û¶ÔÓ¦µÄÊ®½øÖÆÊý;
SQL> select ascii(A) A,ascii(a) a,ascii(0) zero,ascii( ) space from dual;
A A ZERO SPACE
--------- --------- --------- ---------
65 97 48 32
2. CHR
¸ø³öÕûÊý,·µ»Ø¶ÔÓ¦µÄ×Ö·û;
SQL> select chr(54740) zhao,chr(65) chr65 from dual;
ZH C
-- ......
ADFÊÇ£¨Application Development Framework£©µÄ¼ò³Æ£¬ËüµÄÇ°ÉíÊÇBC4J¡£ ¹âÌýÕâ¸öÃû×Ö¾ÍÖªµÀËüÊÇÒ»¸öend-to-endµÄ¿ò¼Ü¡£ºÍSpringÒ»ÑùËüÔÚÆóÒµÓ¦Óüܹ¹µÄÿһ¸ö²ã´Î¶¼ÌṩÁËËüµÄÖ§³Ö¡£ADFµÄ¼Ü¹¹ÈçÏÂͼËùʾ£º
ÔÚÿһ²ãADF¶¼ÓÐËüµÄһЩ×é¼þ¡£ÎÒÕâ´ÎÖ÷ÒªÏë½²½²ADFµÄdata binding£¬ÒòΪËü¸ôÀëÁËÒµÎñÂß¼²ãºÍweb²ã£¬Ê¹µÃÁ½¸ö²ã´Î ......
Q1.ÔõÑù´´½¨±í£¿
Q2.ÔõÑùɾ³ý±í£¿
Q3.ÔõÑù´´½¨ÊÓͼ£¿
Q4.ÔõÑùɾ³ýÊÓͼ£¿
Q5.ÔõÑù¸ø±íÌí¼Ó×ֶΣ¿
Q6.ÔõÑùɾ³ý±íÖÐij¸ö×ֶΣ¿
Q7.ÔõÑù¸øij¸ö×Ö¶ÎÌí¼ÓÔ¼Êø£¿
Q8.ÔõÑùÈ¥³ýij¸ö×Ö¶ÎÉϵÄÔ¼Êø£¿
Q9.ÔõÑù¸ø±í¼ÓÉÏÖ÷¼ü£¿
Q10.ÔõÑùɾ³ý±íµÄÖ÷¼ü£¿
Q11.ÔõÑù¸ø±íÌí¼ÓÒ»¸öÍâ¼ü£¿
......