首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 170 毫秒
1.
裴松  武彤 《微型机与应用》2013,32(17):56-59
为从企业生产线上XML半结构化数据中抽取富有意义数据,分析了XML半结构化数据和关系数据库中结构化数据特点,以及XML半结构化数据在关系数据库中的存储方法。针对实际应用,提出采用扩展哈弗曼前缀编码方法,对XML文档树进行唯一编码,实现XML文档与关系数据库映射,同时给出最长前缀匹配策略,支持数据查询,以提高查询效率。  相似文献   

2.
XML数据在关系数据库中的存储   总被引:3,自引:1,他引:3  
余贞斌  王新伟 《微机发展》2005,15(11):120-122
Internet的高速发展和人们对数据标准性、平台无关性的要求的日益提高使得XML得到了广泛的应用,同时也对XML数据的存储方式提出了更高要求。文中首先对目前已提出的XML文档在关系数据库中存储的解决方法进行了评述,然后介绍了XML与关系数据库在组织数据的方式上的异同及把XML文档映射为关系数据的难点,在此基础上提出了一种基于XML Schema将XML文档映射为关系数据模式的方法,并给出了一个映射的具体实例,实例验证了文中提出的这种映射方法确能比较完善地完成映射任务。  相似文献   

3.
Internet的高速发展和人们对数据标准性、平台无关性的要求的日益提高使得XML得到了广泛的应用,同时也对XML数据的存储方式提出了更高要求.文中首先对目前已提出的XML文档在关系数据库中存储的解决方法进行了评述,然后介绍了XML与关系数据库在组织数据的方式上的异同及把XML文档映射为关系数据的难点,在此基础上提出了一种基于XML Schema将XML文档映射为关系数据模式的方法,并给出了一个映射的具体实例,实例验证了文中提出的这种映射方法确能比较完善地完成映射任务.  相似文献   

4.
为提高元数据系统实现中算法结构的直观性、兼容性以及转换效率,通过分析比较XML的两种模式XML Schema和XML.DTD,整合关系数据库以及XML文档各自的优点,提出了在系统中将其两者相结合的方法.利用了XML进行各项操作,同时又采用关系数据库进行系统数据的存储,既保证了系统的高效性,也保证了数据存储的安全性.并通过树型结构图实现了XML文档与关系数据库数据之间的双向转换算法,极大地提高了元数据系统实现中算法的直观性、兼容性和转换效率.  相似文献   

5.
介绍了XML for SQL Server2000 Web Releasel中包含的XML Updategram特性,井着重介绍了XML Updategram功能与应用。XML Updategram允许我们实时、无缝、透明地更新关系数据库,也可以使用接收的XML文档中的数据对关系数据库进行更新。这对于忙于数据更新的商务公司来说,无疑提供了一种新的、有效的更新方法。本文具体给出了使用XML Updategram对关系数据库表实施更新的3种方法。  相似文献   

6.
基于编码的XML关系数据库存储   总被引:2,自引:0,他引:2  
在XML的发展过程中,如何有效地利用关系数据库技术存储和查询XML数据已经成为一个研究热点.提出了一种基于前、后序编码的XML关系数据库存储方法,该方法采用的模式映射方法能够使基于不同DTD(或schema)的XML文档保存在同一个关系表中,支持快速的XML路径查询,且具有较高的XML文档重组效率.对该方法中递归模式的处理技术也进行了讨论.实验表明,与XRel,Florescu和Kossman等人提出的XML关系数据库存储方法相比,该方法能够缩短复杂XML路径查询(如带条件谓词约束的路径查询)的响应时间.  相似文献   

7.
适合于关系数据库存储的XML文档分解   总被引:5,自引:0,他引:5  
作为未来主宰Web种结构化表达应用的XML语言正得到越来越广泛的应用。但如何分解XML文档并将其数据信息存入主流的关系数据库中,却是阻止XML应用展开的一个首要问题,在考察国内外各个方面对XML文档分解的基础上,提出了适合于关系数据库存储分解内容信息7个数据类的方法。  相似文献   

8.
XML目前正在成为各种数据库特别是文档的首选格式,然而由于数据模型的差异.利用关系数据库查询处理XML数据给传统数据库技术带来新的挑战.通过一种基于DTD的XML关系数据库存储方法.该方法分别针对DTD和XML文档建立独立的表结构和索引,从而提高查询效率.  相似文献   

9.
目前的XML文档映射关系数据库方法普遍存在生成的数据表较多、查询效率较低等问题,基于模型映射提出一种包含Dewey编码的XML文档映射关系数据库方法。给出了映射的逻辑结构模型、详细设计方案、映射算法和实验结果。实验结果表明,该方法生成的数据表结构简单,与传统算法相比在文档解析和数据查询方面具有一定的性能优势。  相似文献   

10.
XML在关系数据库中的存储问题是XML研究领域中的一个重要问题。在总结多种映射方法的基础上,提出了一种方法将多个相似的XML文档进行解析,根据映射关系,生成各自的关系模式,并分析归纳出一个集成的关系模式,然后创建一个关系数据库,并在映射关系的基础上提取并存储XML文档数据到关系数据库。此方法以较为简洁的结构保存了XML文档的数据信息,其最大的特点就是不用考虑文档的模式信息(DTD,XML Schema)。并通过一个具体的实验结果来说明这种方法的有效性。  相似文献   

11.
XML has become the standard for publishing and exchanging data on the Web. However, most business data is managed and will remain to be managed by relational database management systems. As such, there is an increasing need to efficiently and accurately publish relational data as XML documents for Internet-based applications. One way to publish relational data is to provide virtual XML documents for relational data via an XML schema which is transformed from the underlying relational database schema such that users can access the relational database through the XML schema. In this paper, we discuss issues in transforming a relational database schema into the corresponding XML schema. We aim to preserve all integrity constraints defined in a relational database schema, to achieve high level of nesting and to avoid introducing data redundancy in the transformed XML schema. In the paper, we first propose a basic transformation algorithm which introduces no data redundancy, then we improve the algorithm by exploring further nesting of the transformed XML schema.  相似文献   

12.
XML is rapidly emerging as a standard for exchanging business data on the World Wide Web. For the foreseeable future, however, most business data will continue to be stored in relational database systems. Consequently, if XML is to fulfill its potential, some mechanism is needed to publish relational data as XML documents. Towards that goal, one of the major challenges is finding a way to efficiently structure and tag data from one or more tables as a hierarchical XML document. Different alternatives are possible depending on when this processing takes place and how much of it is done inside the relational engine. In this paper, we characterize and study the performance of these alternatives. Among other things, we explore the use of new scalar and aggregate functions in SQL for constructing complex XML documents directly in the relational engine. We also explore different execution plans for generating the content of an XML document. The results of an experimental study show that constructing XML documents inside the relational engine can have a significant performance benefit. Our results also show the superiority of having the relational engine use what we call an “outer union plan” to generate the content of an XML document. Received: 15 October 2000 / Accepted: 15 April 2001 Published online: 28 June 2001  相似文献   

13.
以XML文档发布关系数据   总被引:2,自引:0,他引:2  
本文对以XML文档发布关系数据的新技术进行了综述,主要分析了两种发布关系数据到XML文档的语言描述及其实现技术,以及它们的优缺点,一种是利用并扩展SQL的功能来描述这种转换,嵌套的SQL表达式被利用来描述嵌套,扩展的SQL标量及聚集函数被利用来描述XML元素构造,实现将关系数据转换为XML文档,另一种是利用RXL(Relational to XML Transformation Language)语言来定义一个关系数据库的XML视图,该XML视图是虚的,其它应用可再利用XML查询语言XML-QL在虚拟的视图上构造一个查询,抽取XML视图中的数据片断并对抽取的部分进行物化,实现将关系数据转换为XML文档。  相似文献   

14.
基于XML的Web数据库技术   总被引:3,自引:0,他引:3  
探讨了两种将关系数据转换的XML文档的语言描述及其实现技术,一种是利用RXL(Relational to XML Transformation Language)语言来定义一个关系数据库的XML视图,该XML视图的虚的,应用再利用XML查询语言XML-QL在虚的视图上构造一个查询,抽取XML视图中的数据片断并对抽取的部分进行 物化,实现将关系数据转换为XML文档。另一种是利用并扩展SQL的功能来描述这种转换,嵌套的SQL表达式被利用来描述嵌套,扩展的SQL函数被利用来描述XML元素构造,实现将关系数据构造成XML文档。  相似文献   

15.
XML is becoming a prevalent format and standard for data exchange in many applications. With the increase of XML data, there is an urgent need to research some efficient methods to store and manage XML data. As relational databases are the primary choices for this purpose considering their data management power, it is necessary to research the problem of mapping XML schemas to relational schemas. The semantics of XML schemas are crucial to design, query, and store XML documents and functional dependencies are very important representations of semantic information of XML schemas. As DTDs are one of the most frequently used schemas for XML documents in these days, we will use DTDs as schemas of XML documents here. This paper proposes the concept and the formal definition of XML functional dependencies over DTDs. A method to map XML DTDs to relational schemas with constraints such as functional dependencies, domain constraints, choice constraints, reference constraints, and cardinality constraints over DTDs is given, which can preserve the structures of DTDs as well as the semantics implied by the above constraints over DTDs. The concepts and method of mapping DTDs to relational schemas presented in the paper can be extended to the field of XML Schema just with some modifications in related formal definitions.  相似文献   

16.
可扩展商业报告语言(XBRL)是一种专门用于金融财政系统之间进行数据交换的XML扩展语言。该文介绍了一种基于关系数据库的XBRL存储系统:X-SIR系统。该系统可以根据XBRL数据模型自动生成关系数据模式,把XBRL实例文档中的数据自动转换成数据库表中的数据记录。  相似文献   

17.
Joseph Fong  Herbert Shiu  Davy Cheung 《Software》2008,38(11):1183-1213
Integrating information from multiple data sources is becoming increasingly important for enterprises that partner with other companies for e‐commerce. However, companies have their internal business applications deployed on diverse platforms and no standard solution for integrating information from these sources exists. To support business intelligence query activities, it is useful to build a data warehouse on top of middleware that aggregates the data obtained from various heterogeneous database systems. Online analytical processing (OLAP) can then be used to provide fast access to materialized views from the data warehouse. Since extensible markup language (XML) documents are a common data representation standard on the Internet and relational tables are commonly used for production data, OLAP must handle both relational and XML data. SQL and XQuery can be used to process the materialized relational and XML data cubes created from the aggregated data. This paper shows how to handle the two kinds of data cubes from a relational–XML data warehouse using extract, transformation and loading. Copyright © 2008 John Wiley & Sons, Ltd.  相似文献   

18.
XML以其可扩展性、结构性以及平台无关性的优点迅速使其成为Internet数据交换的标准,基于XML的数据集成成为现在研究的热点。通过研究关系型数据库数据转XML技术,设计并实现了基于.net的关系型数据库数据转XML方法,该方法通过调用DataSet类的WriteXml方法可以将关系型数据库表转化为XML文档,具有很大的应用价值。  相似文献   

19.
一种基于RDBMS的XML数据的存储方法   总被引:1,自引:0,他引:1  
XML作为一种数据交换的标准在互联网上推出,使得XML数据和数据库的相互交换成为必要:一是因为WEB中大量的多样化数据需要进行有效的存储和管理;二是因为在现有的数据库中存储有大量的数据并且需要将这些数据转换为XML发布到WEB中。论文提出了一个基于关系数据库的数据转换框架,基于数据的完整性讨论XML数据存储策略。建立一个XML通用数据模型,把文档树分解成多个节点,根据一定的映射规则存储到关系表中,从而不用考虑文档的模式信息(DTD、XMLSchema)。最后通过一个具体的文档实例来说明这种策略的有效性。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号