首页> 外文期刊>IBM Systems Journal >Storing and using objects in a relational database
【24h】

Storing and using objects in a relational database

机译:在关系数据库中存储和使用对象

获取原文
获取原文并翻译 | 示例
       

摘要

In today''s heterogeneous development environments, application programmers have the responsibility to segment their application data and to store those data in different types of stores. That means relational data will be stored in RDBMSs (relational database management systems), C+ + objects in OODBMSs (object-oriented database management systems), SOM (System Object Model) objects in OMG (Object Management Group) persistent stores, and OpenDoc™ or OLE™ (Object Linking and Embedding) compound documents in document files. In addition, application programmers must deal with multiple server systems with different query languages as well as large amounts of heterogeneous data. This paper describes SMRC (shared memory-resident cache), an RDBMS extender that provides the ability to store objects created in external type systems like C++ or SOM in a relational database, coresident with existing relational or other heterogeneous data. Using SMRC, applications can store and retrieve objects via SQL (structured query language), and invoke methods on the objects, without requiring any modifications to the original object definitions. Furthermore, the stored objects fully participate in all the characteristic features of the underlying relational database, e.g., transactions, backup, and authorization. SMRC is implemented on top of IBM''s DB2~® Common Server for AIX~® relational database system and heavily exploits the DB2 user-defined types (UDTs), user-defined functions (UDFs), and large objects (LOBs) technology. In this paper, the C++ type system is used as a sample external type system to exemplify the SMRC approach, i.e., storing C++ objects in relational databases. Similar efforts are required for SOM or OLE objects.
机译:在当今的异构开发环境中,应用程序程序员有责任对他们的应用程序数据进行细分,并将这些数据存储在不同类型的商店中。这意味着关系数据将存储在RDBMS(关系数据库管理系统),OODBMS(面向对象的数据库管理系统)中的C ++对象,OMG(对象管理组)持久性存储中的SOM(系统对象模型)对象和OpenDoc™中或OLE™(对象链接和嵌入)复合文档在文档文件中。另外,应用程序程序员必须处理具有不同查询语言以及大量异构数据的多个服务器系统。本文介绍了SMRC(共享内存驻留缓存),这是一种RDBMS扩展程序,它能够将在外部类型系统(如C ++或SOM)中创建的对象存储在关系数据库中,并与现有的关系或其他异构数据共存。使用SMRC,应用程序可以通过SQL(结构化查询语言)存储和检索对象,并调用对象上的方法,而无需对原始对象定义进行任何修改。此外,存储的对象完全参与基础关系数据库的所有特征,例如,事务,备份和授权。 SMRC是在IBMDB2®Common Server for AIX〜®关系数据库系统上实现的,并且大量利用DB2用户定义类型(UDT),用户定义函数(UDF)和大对象(LOB)技术。在本文中,将C ++类型系统用作示例外部类型系统来举例说明SMRC方法,即将C ++对象存储在关系数据库中。 SOM或OLE对象也需要类似的努力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号