473,973 Members | 28,073 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Database vs XML document archive


I'm trying to understand the differences between a XML document archive
versus a relational data base.

What are their advantages and disadvantages?

- Hallgeir
May 13 '06 #1
3 1749
I've not looked under the hood of an XML document archive, but from my
casual reading and my working indirectly with with them:

* they are not relational databases
* they do not have support for SQL; "querying" capability is probably
limited to what the vendor provides in a proprietary API

I hope someone else will respond to your quest and provide a better
response than mine.

May 13 '06 #2
enrique wrote:
I've not looked under the hood of an XML document archive, but from my
casual reading and my working indirectly with with them:

* they are not relational databases
* they do not have support for SQL; "querying" capability is probably
limited to what the vendor provides in a proprietary API
Leaving aside the confusing issue of what "an archive" actually is,
I think your second point is unlikely: I would expect any current
XML storage system that has a search capability to use one of the
many XML search engines and provide an interface using XQuery. I
can't think of any good reason why "an XML document archive" would
need SQL support.

It is a mistake to expect to be able to use SQL to search information
which may not be meaningfully put into relational form. If you are
dealing exclusively with e-commerce data, where your XML is just a
verbose representation of traditional rectangular data (rows and cols)
then it is possible to map the features of SQL onto a relational
data model. But I contend that if your XML information is traditional
text documents, a relational model is probably not as useful as the
structural access provided in (for example) XSLT by XPath, and the
query access provided by XQuery.

[OP] I'm trying to understand the differences between a XML document archive
versus a relational data base.


An XML document archive is for storing XML documents.
A relational database is for storing relational data.
If your XML documents can be normalised to the relational model, or
if your relational data can be expressed adequately in XML, feel free
to use either system, otherwise pick the right tool for the job.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
May 13 '06 #3
enrique wrote:
* they do not have support for SQL; "querying" capability is probably
limited to what the vendor provides in a proprietary API


XQuery is intended to occupy this sort of role for data stored as an XML
document or infoset.

Some recent tools may be able to intermix SQL to explore logical
relationships and XQuery to explore structure. I *think* the most recent
release of DB2 can do that, since it's a full relational database with
an XML infoset datatype rather than only supporting one or the other.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
May 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1720
by: Alexandre Plennevaux | last post by:
hello mates, my question is such: should i turn a 80 pages doc file into a database so that: - i can make it searchable through an online form - it can be modified and every modification archives the previous version, inside an "archive" table. ??
0
2521
by: Officer | last post by:
I want to setup standby database which reside on the same host with my primary database -dbSA is my primary and dbSB is my standby database. I select v$log as follows: SVRMGR> select thread#,sequence#,archived,status from v$log; THREAD# SEQUENCE# ARC STATUS ---------- ---------- --- ---------------- 1 35 YES INACTIVE 1 36 YES INACTIVE
3
12161
by: Cristina | last post by:
Hallo i am a beginner into Oracle Technologies.I would like to make backup of my database,but i dont know how.Is there tools?Can i schedule the backup plan? thanks Cristina
1
39809
by: AA | last post by:
I want to Deserialize this simple xml... ==================================================================== <SubmitReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1 -3"> <MM7Version>5.6.0</MM7Version> <SenderIdentification> <VASPID>TNN</VASPID> <VASID>News</VASID> </SenderIdentification> <Recipients>
6
3516
by: geo | last post by:
hi, we have a problem with the db2uext2.exe under W2000 SP4 and DB2 V8 FP 4a. We copy the sample db2uext.cdisk to db2uext.c, compiled it with Microsoft Visual C++ Toolkit 2003 without errors. After that we test the db2uext2.exe file like this: D:\install\db2uext2> db2uext2.exe -RQARCHIVE -DBESN04P2 -NNNODE0000 -LPE:\DESN04P2\NODE0000\SQL00001\SQLOGDIR\ -LNS0000001.LOG -> the result was copy 1 files. Okay.
2
1835
by: PC User | last post by:
I have this code from a db of a previous version of access to archive a database, but I'm using A2K and it doesn't seem to work. Can someone help me? Code: ============================================= Sub BackupMyDatabase () ' ============================================== ' Example code for ArchiveAccessObjects() ' ----------------------------------------------
16
2599
by: janders | last post by:
Hey all, I've got a document that I want to ensure always get loaded into the top level document and not into a frame or iframe. I've got it figured out how to detect if the document is loaded into a frame. But what I want to happen is the HTML content in the iframe to be displayed in the top level document w/o a return trip to the server. Here's what I'm thinking:
3
5235
by: mfaisalwarraich | last post by:
Hello Everybody, i have gone through various tutorials but i could not able to find any tangible solution for my problem. please tell me how i can archive a ms access database. if my database have more than 30 tables with a lot of forms and queries on it. how i can safely archive my database. because limitation of a storage capacity for ms access database is 2GB. if it exceeds from 2GB then what procedure should i adopt to continue my...
2
2075
by: Damir | last post by:
Hello, I have a strange problem with federated access between two DB2 databases, both on AIX 5, both instances V9.1 (FP02). For the sake of this post, the two DB2 databases are named: 1. "live" 2. "archive" When I create the user mapping on the "live" database:
0
10347
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10160
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11811
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11560
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10901
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10071
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8453
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
4726
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.