Determining Whether Global Naming Is Enforced 未解決?
Determining Whether Global Naming Is Enforced
remote database
SQL> select global_name from global_name;
GLOBAL_NAME
--------------------------------------------------------------------------------
SALE.US.ORACLE.COM
Local database
SQL> show parameter global_names;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
global_names boolean FALSE
SQL> create public database link hq_sales CONNECT TO test IDENTIFIED BY test USING 'sales'
SQL> SELECT count(*) from test@hq_sales;
COUNT(*)
----------
28026
SQL> alter system set global_names=true ;
System altered.
SQL> create public database link hq_sales_true CONNECT TO test IDENTIFIED BY test USING 'sales';
Database link created.
SQL> select count(*) from test@hq_sales_true;
select count(*) from test@hq_sales_true
*
ERROR at line 1:
ORA-02085: database link HQ_SALES_TRUE.US.ORACLE.COM connects to
SALE.US.ORACLE.COM
結論:測試證明,當local database 的Global_names=true時, Database link name必須與Remote database global_name的名稱一致
但與P895<
Determining Whether Global Naming Is Enforced
The name that you give to a link on the local database depends on whether the remote database that you want to access enforces global naming. If the remote database enforces global naming, then you must use the remote database’s global database name as the name of the link. For example, if you are connected to the local hq server and want to create a link to the remote mfg database, and mfg enforces global naming, then you must use mfg’s global database name as the link name.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10248702/viewspace-624035/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Determining the Global Database Name (86)Database
- Determining whether an object requires reorganization MVS DB2ObjectUIDB2
- Fiori Elements List Report table 裡的普通按鈕,Global 按鈕 和 Determining 按鈕
- 未解決:長字串含…字串
- Naming Database ObjectsDatabaseObject
- JNDI naming exception: Naming exception trying to connect to: t3://localhosException
- Script to find Whether patches is applied in Oracle EBSAPPOracle
- 解決Windows 10上的硬碟未配置Windows硬碟
- word未響應解決方案彙總
- How to check whether the current database in using Oracle optionsDatabaseOracle
- How to Check whether SELinux is Enabled or Disabled [ID 432988.1]Linux
- Oracle Easy Connect Naming methodOracle
- ontape出現段錯誤(未解決篇)
- atcoder regular 175 題解 A-C D還未解決
- ora-02085的解決:Database Link與GLOBAL_NAMES引數Database
- Talk about the naming of spring bean namesSpringBean
- SQL Server Service Pack Model and Naming RuleSQLServer
- 廣東未來科技Global3 B10手機評測|讓未來“返璞歸真”
- 專案總結(幾大未解決問題)
- exchange出現1025錯誤!(未解決)
- SCSS !globalCSS
- HP-UX Naming guidelinesUXGUIIDE
- 關於SSL協議未開啟的解決方案協議
- ontape之後沒有反應(問題未解決)
- 求救!弄了一天JiveJdon,還是未解決
- JavaScript Global 物件JavaScript物件
- Global Nonpartitioned IndexesIndex
- Oracle Global Enqueue Services Deadlock detected錯誤詳解OracleENQ
- win10登入cf時clientmfc未響應怎麼解決_win10登入cf時clientmfc未響應的解決方法Win10client
- win10音訊服務未響應怎樣解決_win10系統音訊服務未響應解決步驟Win10音訊
- Oracle中資料塊中row number缺失(記錄,未解決)Oracle
- [未解決]fedora9無法關機問題
- 開機後mysql服務未啟動問題解決MySql
- Java安全漏洞:Druid未授權訪問解決JavaUI
- Python 關鍵字global全域性變數詳解Python變數
- 平板&電腦二合一|廣東未來科技GLOBAL3體驗分享篇
- Global Range Partitioned IndexesIndex
- Global Hash Partitioned IndexesIndex