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

oracleǨÒƱí¿Õ¼ä

¿ÉǨÒƱí¿Õ¼ätransport tablespace
¿ÉǨÒƱí¿Õ¼ä
ʹÓÿÉǨÒƱí¿Õ¼ä(Transportable Tablespaces)µÄÌØÐÔÔÚÊý¾Ý¿âÖ®¼äÒƶ¯´óÁ¿Êý¾Ý£¬ÐÔÄܱÈexport/importºÍunload/loadÒª¿ìºÜ¶à£¬ÒòΪËüǨÒƱí¿Õ¼äÖ»ÐèÒª¸´ÖÆÊý¾ÝÎļþºÍ²åÈë±í¿Õ¼äÔªÊý¾Ýµ½Ä¿±êÊý¾Ý¿âÖС£
ǨÒƱí¿Õ¼ä¶ÔÒÔÏÂÓ¦ÓÃÌرðÓÐÓãº
·Ö½×¶Î½«OLTPµÄÊý¾ÝÒÆÈëÊý¾Ý²Ö¿â
¸üÐÂÊý¾Ý²Ö¿âºÍÊý¾Ý¼¯
´ÓÊý¾Ý²Ö¿âÖÐÐļÓÔØÊý¾Ý¼¯
ÓÐЧµØ¹éµµÊý¾Ý²Ö¿âºÍOLTP
ÏòÄÚ²¿»òÍⲿ¿Í»§·¢²¼Êý¾Ý
Ö´ÐÐʱ¼äµã±í¿Õ¼ä»Ö¸´£¨TSPITR£©
ÏÞÖÆ
Ô´Êý¾Ý¿âÓëÄ¿±êÊý¾Ý¿âµÄÓ²¼þƽ̨±ØÐëÏàͬ
Ô´Êý¾Ý¿âÓëÄ¿±êÊý¾Ý¿âµÄ×Ö·û¼¯ºÍ¹ú¼Ò×Ö·û¼¯±ØÐëÏàͬ
²»ÄÜǨÒÆÓëÄ¿±êÊý¾Ý¿âÒÑÓеÄͬÃû±í¿Õ¼ä
ǨÒƱí¿Õ¼ä²»Ö§³ÖʵÌ廯ÊÓͼ/¸´ÖÆ£¬»ùÓÚº¯ÊýµÄË÷Òý£¬»·¾³REFs£¬8.0¼æÈݵÄÓжà¸ö½ÓÊÕÈ˵ÄÏȽø¶ÓÁÐ
¿¼ÂǼæÈÝÐÔ
ҪʹÓÃÕâ¸öÌØÐÔ£¬Ô´Êý¾Ý¿âÓëÄ¿±êÊý¾Ý¿âµÄ³õʼ»¯²ÎÊýÖеÄCOMPATIBLE±ØÐëÉèÖÃ8.1»ò¸ü¸ß£¬Èç¹û±»Ç¨ÒƵıí¿Õ¼äµÄblock sizeÓë±ê×¼µÄ³ß´ç²»Í¬£¬Ä¿±êÊý¾Ý¿âµÄ³õʼ»¯²ÎÊýÖеÄCOMPATIBLE±ØÐëÉèÖÃ9.0»ò¸ü¸ß¡£²»±ØÒªÔ´Êý¾Ý¿âÓëÄ¿±êÊý¾Ý¿âµÄ°æ±¾Ò»Ñù£¬oracle»á±£Ö¤¼æÈÝÐÔ£¬Èç¹û²»ÐУ¬´íÎóÌáʾ»áÔÚ²åÈ뿪ʼ¸ø³ö¡£
´ÓÀÏ°æ±¾µÄÊý¾Ý¿âÊý¾ÝǨÒƵ½¸üа汾µÄÄ¿±êÊý¾Ý¿â×ÜÊÇ¿ÉÄܵġ£
ǨÒƹý³Ì
Ø        ÌáÈ¡×Ô°üº¬µÄ±í¿Õ¼ä¼¯
Êý¾Ý¿â¶ÔÏó¼äÓÐÂß¼­»òÎïÀíµÄÒÀÀµÐÔ£¬×Ô°üº¬±í¿Õ¼ä¼¯µÄÒâ˼ÊÇÕâÖÖ±í¿Õ¼ä¼¯ÖÐûÓжÔÏóÒÀÀµÓÚÍâ½çµÄ¶ÔÏó¡£Î¥·¨×Ô°üº¬¹æÔòµÄÀý×ÓÈçÏ£º
1)        ´æÔÚÒÀÀµÓÚҪǨÒƱí¿Õ¼ä¼¯ÍâµÄ±í¿Õ¼äµÄË÷Òý
2)        ·ÖÇø±íÖ»Óв¿·Ö±»°üº¬ÔÚҪǨÒƱí¿Õ¼ä¼¯ÖÐ
3)        ÒýÓÃÍêÕûÐÔÔ¼Êø´©Ô½ÁËҪǨÒƱí¿Õ¼ä¼¯µÄ±ß½ç
4)        ҪǨÒƱí¿Õ¼ä¼¯Öаüº¬Ò»¸öLOB×Ö¶ÎÖ¸Ïò±í¿Õ¼ä¼¯Ö®Íâ
¿ÉÒÔʹÓÃDBMS_TTS°ü¼ì²é±í¿Õ¼ä¼¯µÄ×Ô°üº¬ÐÔ£¬ÒªÖ´ÐбØÐ븳ÓèEXECUTE_CATALOG_ROLE ½ÇÉ«£¬¿ÉÒÔÉèÖÃTTS_FULL_CHECK²ÎÊýΪTRUE×÷ÑϸñµÄ¼ì²é¡£
        Òª¼ì²é±í¿Õ¼äsales_1ºÍsales_2ÊÇ×Ô°üº¬µÄ£¬Ö´ÐУº
        EXECUTE dbms_tts.transport_set_check('sales_1,sales_2', TRUE);
        Ö´Ðмì²éºó¾Í¿ÉÒÔÔÚÊÓͼTRANSPORT_SET_VIOLATIONS£¬Èç¹ûÊÇ×Ô°üº¬µÄÄÇôÊÓͼӦ¸ÃΪ¿Õ¡£
        SELECT * from TRANSPORT_SET_VIOLATIONS;
Ø     


Ïà¹ØÎĵµ£º

OracleÊý¾Ý¿â8i¡¢9iĬÈÏÓû§´æÔÚÈõ¿ÚÁî

ΪÕâЩÓû§ÃûÉèÖÃ×㹻ǿ׳µÄ¿ÚÁî»òËø¶¨ÎÞÓõÄĬÈÏÓû§¡£
SQLÓï¾äÐ޸ģº
Á¬½ÓÖÁOracleºóʹÓÃÈçÏÂÃüÁîÐ޸ĿÚÁî:
alter user system£¨Óû§Ãû£© identified by manager£¨ÃÜÂ룩;
Á¬½ÓÖÁOracleºóʹÓÃÈçÏÂÃüÁîËø¶¨Õ˺Å:
alter user test£¨Óû§Ãû£© account lock;
 
ͼÐδ°¿ÚÐ޸ģº
Oracle·þÎñopenviewÉϵÄÓû§£ºSCOT ......

Oracle ´æ´¢¹ý³Ì·µ»Ø½á¹û¼¯ÓÃ

Oracle ´æ´¢¹ý³Ì·µ»Ø½á¹û¼¯Óà ref cursor ʵÏÖ¡£ÊÔÑé²½ÖèÈçÏ£º
1. ½¨Á¢ ref cursor ÀàÐͺ͹ý³Ì
CREATE OR REPLACE PACKAGE types
AS
    TYPE ref_cursor IS REF CURSOR;
END;
/
CREATE TABLE STOCK_PRICES(
    RIC VARCHAR(6) PRIMARY KEY,
    PRICE NUMBER(7,2 ......

Ubuntu10.04Ï°²×°Oracle 10G






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
¹«ÍøÖÕÓÚͨµÄ£¬ÎÒµÄubuntu
Ò²ÖÕÓÚ¿ÉÒÔ¼ÌÐøʹÓÃÁË¡£¡£¡£


Ê×ÏȰѱ¾×ÓµÄubuntu
´Ó9.04
Éý¼¶µ½10.04
£¬·¢ÏÖϵͳ±ä³ÉÓ¢ºº»ìÓÃÁË£¬ÖØÑ¡ÓïÑÔÖ§³Ö°üÒ²²»¿ÉÒÔ£¬ÊäÈë·¨Ò²Ìí¼Ó²»ÉÏ£¬µ¹ÊÇûÓÐÍøÉÏÓÐÈËÌáµ½µÄϵͳÏìÓ¦·Ç³£»ºÂýµÄÎ ......

Oracle×Ö·û´®³¤¶ÈµÄÎÊÌâ

    ½ñÌìÅöµ½Ò»¸öÎÊÌ⣬ͨ¹ýÒ»¸öSQLÓï¾ä²éѯʱ£¬³öÈçÏÂÎÊÌ⣺
       ORA-06502: PL/SQL: numeric or value error: character string buffer too small
       ORA-06512: at "WMSYS.WM_CONCAT_IMPL", line 30
 ÎÊÌâ³öÏÖÔÚͨ¹ýWMSYS. ......

ORACLE¿çÊý¾Ý¿â²Ù×÷£¬DBLINKµÄʹÓÃ


Ç°¼¸Ìì°ïÒ»¸öÅóÓÑŪORACLE¿çÊý¾Ý¿âµÄ²Ù×÷£¬¹²ÏíϾßÌåµÄ²Ù×÷Á÷³Ì£º
Ò»¡¢²»Í¬IPµÄÊý¾Ý¿â£¨DBLINK£©
±¾µØÊý¾Ý¿âip 10.56.7.26
Ô¶³ÌÊý¾Ý¿âip 233.215.219.8
1.ÔÚ10.56.7.26Êý¾Ý¿â°²×°ÎļþÖУ¬ÕÒµ½$ORACLE_HOME/network/admin/tnsnames.oraÎļþ£¬
ĩβÌí¼Ó
MEDIADBLINK =
  (DESCRIPTION =
   &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ