日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Oracle復(fù)制方法的演變

以下的文章主要是對Oracle復(fù)制方法慢慢變得精細的具體介紹,其中會涉及到在其運行過程中的公共數(shù)據(jù)庫的連接,它需要每個復(fù)制需要創(chuàng)建三個數(shù)據(jù)庫連接,以及公共數(shù)據(jù)庫連接指定數(shù)據(jù)庫的全局名稱的介紹。

10年積累的成都網(wǎng)站設(shè)計、做網(wǎng)站、成都外貿(mào)網(wǎng)站建設(shè)公司經(jīng)驗,可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認識你,你也不認識我。但先做網(wǎng)站后付款的網(wǎng)站建設(shè)流程,更有藍山免費網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。

設(shè)置實體化視圖站點:

1.創(chuàng)建復(fù)制管理員并授予相應(yīng)的權(quán)限:

 
 
 
  1. disconnect;
  2. connect system/passwd@BJ;
  3. create user mvadmin identified by
  4. mvadmin;
  5. begin
  6. dbms_repcat_admin.
  7. grant_admin_any_schema(username=> ’mvadmin’);
  8. end;
  9. /
  10. grant comment any table to mvadmin;
  11. grant lock any table to mvadmin;
  12. grant select any dictionary to mvadmin;

注冊傳播方:

 
 
 
  1. begin
  2. dbms_defer_sys.reGISter_propagator(
  3. username => ’mvadmin’);
  4. end;
  5. /

公共數(shù)據(jù)庫連接。需要每個復(fù)制需要創(chuàng)建三個數(shù)據(jù)庫連接。公共數(shù)據(jù)庫連接指定數(shù)據(jù)庫的全局名稱:

 
 
 
  1. create public database link ORACLSH using ’Oracle.shanghai.
  2. com’;

Using子句后跟的是全局數(shù)據(jù)庫名或者是連接字符串。

 
 
 
  1. create public database link ORACLSH using ’(description=
  2. (address=(protocol=tcp)(host=127.0.0.1)(port=1521))
  3. (connect_data=(service_name=oracl)))’  

建立清除延遲事務(wù)隊列調(diào)度作業(yè):

 
 
 
  1. disconnect;
  2. connect mvadmin/mvadmin@BJ;
  3. begin
  4. dbms_defer_sys.schedule_purge(
  5. next_date => sysdate,
  6. interval => ’/*1:hr*/ sysdate + 1’,
  7. delay_seconds => 0,
  8. rollback_segment => ’’);
  9. end;  

建立Oracle復(fù)制管理員mvadmin的數(shù)據(jù)庫連接:

 
 
 
  1. create database link ORACLSH connect to proxy_bjOracle
  2. identified by proxy_bjoralce
  3. Connect to ... Identified by ...

子句指明用什么用戶連接遠程數(shù)據(jù)庫

建立Oracle復(fù)制調(diào)度數(shù)據(jù)庫連接作業(yè):

 
 
 
  1. begin
  2. dbms_defer_sys.schedule_push(
  3. destination => ’ora92zjk’,interval => ’/*1:hr*/ 
    sysdate + 1’,
  4. next_date => sysdate,stop_on_error => false,
  5. delay_seconds => 0,parallelism => 0);
  6. end;
  7. /

授予SHORACL用戶(對應(yīng)SHORACL方案)相應(yīng)的權(quán)限建立實體化視圖:

 
 
 
  1. disconnect;
  2. connect system/passwd@BJ;
  3. grant alter session to crm;
  4. grant create cluster to crm;
  5. grant create database link to crm;
  6. grant create sequence to crm;
  7. grant create session to crm;
  8. grant create synonym to crm;
  9. grant create table to crm;
  10. grant create view to crm;
  11. grant create procedure to crm;
  12. grant create trigger to crm;
  13. grant unlimited tablespace to crm;
  14. grant create type to crm;
  15. grant create any snapshot to crm;
  16. grant alter any snapshot to crm;

 以上的相關(guān)內(nèi)容就是對Oracle復(fù)制方法的介紹,望你能有所收獲。


網(wǎng)頁標(biāo)題:Oracle復(fù)制方法的演變
本文URL:http://www.5511xx.com/article/cdespch.html