首页 > 数据库 >Oracle data link创建

Oracle data link创建

时间:2024-05-31 10:55:03浏览次数:21  
标签:SERVICE database 10.130 link ADDRESS Oracle data public

SELECT * FROM DBA_DB_LINKS;

drop public database link DL_AGG_TDM;

create public database link DL206_YSB connect to AGG_TDM identified by "T_agg_tdm_3e!Q" using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.4.6)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = ora06AA)))';

create public database link DL_AGG_TDM connect to AGG_TDM identified by "T_agg_tdm_3e!Q" using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.4.6)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = ora06AA)))';

create public database link DL203_YHB connect to Y_HB identified by "yhbjq_1@3$QwEr" using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.4.2)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = ora02AA)))';

ora06

drop public database link DL203_JZT001;
drop public database link DL203_JZT001_DAT_TDM;
create public database link DL203_JZT001 connect to JZT001 identified by "jzt001" using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.4.2)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = ora02AA)))';
create public database link DL203_JZT001_DAT_TDM connect to JZT001 identified by "jzt001" using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.4.2)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = ora02AA)))';

drop public database link DL2011_T_ORDER;
create public database link DL2011_T_ORDER connect to T_ORDER identified by "Order2w!Q" using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.4.8)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = ora11AA)))';

drop public database link DL203_YHB_READ;
create public database link DL203_YHB_READ connect to Y_HB identified by "yhbjq_1@3$QwEr" using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.4.2)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = ora02AA)))';

标签:SERVICE,database,10.130,link,ADDRESS,Oracle,data,public
From: https://www.cnblogs.com/zeze416/p/18224053

相关文章

  • 【源码】Spring Data JPA原理解析之Repository自定义方法命名规则执行原理(二)
     SpringDataJPA系列1、SpringBoot集成JPA及基本使用2、SpringDataJPACriteria查询、部分字段查询3、SpringDataJPA数据批量插入、批量更新真的用对了吗4、SpringDataJPA的一对一、LazyInitializationException异常、一对多、多对多操作5、SpringDataJPA自定义......
  • Cesium 中 GeoJsonDataSource 贴地不生效的问题
    Cesium中GeoJsonDataSource可以设置clampToGround为true来确保其贴地,但有时会出现不生效的情况。可能有以下几个原因:数据源不是地理坐标系(WGS84):如果数据源不是基于WGS84坐标系的,则可能无法正确地将图形贴到地球表面。确保你的数据源使用正确的坐标系。数据源中的图形高......
  • Oracle数据库管理与优化实践
    引言数据库备份与恢复2.1定期备份策略2.2自动化备份工具性能调优3.1SQL优化3.2系统资源管理空间管理4.1表空间管理4.2日志管理安全管理5.1用户权限管理5.2数据加密引言Oracle数据库是企业级应用中最常用的数据库管理系统之一,在大型企业......
  • Large Language Models as Data Augmenters for Cold-Start Item Recommendation论文
    LargeLanguageModelsasDataAugmentersforCold-StartItemRecommendation论文阅读笔记Abstract​ LLM的推理和泛化能力可以帮助我们更好地理解用户的偏好和项目特征。我们建议利用LLM作为数据增强器,来弥补在训练过程中对冷启动项目的知识差距。我们使用LLM根据用户历史行......
  • Avalonia下DataGrid多选MVVM绑定的功能
    安装Avalonia.Xaml.BehaviorsInstall-PackageAvalonia.Xaml.BehaviorsDataGridSelectedItemsBehavior.csusingAvalonia;usingAvalonia.Controls;usingAvalonia.Threading;usingAvalonia.Xaml.Interactivity;namespaceCgdataBase;publicclassDataGridSelected......
  • 将 Spring data JPA jars 升级到 v3.3.0 后出现 java.lang.NoSuchMethodError 错误
    在我将springdatajpa和commonsjar升级到我们产品的3.3.0版本后,我遇到了这个错误。Causedby:java.lang.NoSuchMethodError:'voidcom.org.application.server.services.workorder.database.dao.UpdateWorkOrder._persistence_checkFetchedForSet(java.lang.String)'......
  • SQL Server报错:数据库"YourDatabaseName"的事务日志已满,原因为"LOG_BACKUP"
      通过以下代码可以收缩日志,执行完后就不报错了。--设置简单模式USE[master]GOALTERDATABASEYourDatabaseNameSETRECOVERYSIMPLEWITHNO_WAITGOALTERDATABASEYourDatabaseNameSETRECOVERYSIMPLEGO--设置压缩后的日志大小为2M,可自定义USEY......
  • oracle自动统计收集
    环境:oracle19C1、自动统计收集的计划窗口信息colREPEAT_INTERVALfora60colDURATIONfora20SELECTw.window_name,w.repeat_interval,w.duration,w.enabledFROMdba_autotask_window_clientsc,dba_scheduler_windowswWHEREc.window_name=w.window_nameANDc.opt......
  • 各种“Ops“的对比:DevOps vs. DataOps vs. MLOps vs. AIOps
    文章目录0.前言1.DevOps2.DataOps3.MLOps4.AIOps5.总结6.参考0.前言近年来,缩略词“Ops”在IT运营领域中迅速普及,反映了该领域的一系列重要变革。传统的IT操作正在向自动化流程转变,以更高效地改善客户交付。这种转变旨在减少人为干预,增加操作的一致性......
  • datax 从 hive 同步数据配置
    DataXHiveReader1快速介绍Hivereader插件:从Hive表读取数据2实现原理实现方式是:根据配置的QuerySql,通过将查询结果保存到一张新的临时hive表中这种方式;然后获取临时表的hdfs文件地址,然后读取文件到缓冲区,最后删除临时的表。3功能说明Hivereader插件:从Hive表读取数据......