OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: storing xml files into database

potentially there is a solution in our software suit for u to review:

Developer Download: www.linkedwith.de/download/index.html

The package is provided as is for your evaluation / developer purposes and is fully documented with dev guide and tutorials.

-----Original Message-----
From: Schmoll, Brett x66244 [mailto:BSchmoll@bis.adp.com]
Sent: Monday, September 10, 2001 5:37 PM
To: 'gharesh@vsnl.com'; soumitra@b-bop.com
Cc: Xml-Dev
Subject: RE: storing xml files into database

As an alternative, based on your requirements you could also look at using LDAP to solve this. We have the same issues with our web application and are looking to store our user preferences in LDAP. The benefits are an optimized read-access, security, and managability. There are opensource LDAP servers available (http://www.openldap.com) as well as commercial servers (http://www.iplanet.com). The only caveat is how much data you store in LDAP. We are in the analysis phase of our project and testing the storing of xml documents as attributes in LDAP to determine how it responds to large attributes.
My .02$,
Brett Schmoll
-----Original Message-----
From: Haresh Gujarathi [mailto:gharesh@vsnl.com]
Sent: Monday, September 10, 2001 6:56 AM
To: soumitra@b-bop.com
Cc: Xml-Dev
Subject: RE: storing xml files into database

Hi Soumitra,
thx for ur reply.
Why file system seems to be inconvenient for me?
1. I already have some data in the RDBMS database. So I have to manage (backup, maintain etc) 2 things the rdbms data and the xml files on the local file system.
I would like to store everything in one type of storate system.
(well I can get rid of the rdbms by keeping this data again in xml files)
2. If I store the xml files in database, security of the data can be manages in much better fashion
3. This is what I assume ==> If I store the xmls in xml aware database system,
-- creating DOM from the blob
-- performing queries
-- performing XSLT , XPath might be much efficient
-- besides I will need indexing and searching capabilities
Basically this is my requirement;
I have built an internet based application; where new users come in; create account; a new xml file is created for each of the new user.
His personal information (name, email address, etc, his profession related data) will be stored in the xml file. (This data is highly structured and hierarchical)
I expect the size of each xml to be 10k to 30k.
The same user can come into the system again to modify and update his information; that time the application builds DOM and keeps the DOM in the memory till the user logs out.
Other users can come into the system and can view the data of other users. There maintainance of DOM is not required but lot of XSLT and XPath queries will be performed. This is where I need to achieve better efficiency (I have not yet got any answers to it)
I want to to perform the XSLT and XPath as efficiently as possible.
Search capabilities;
1. indexing on the elements and attributes of the elements
I should be able to specify in the configuration what elements and attributes should be indexed;
2. full text indexing
Now there are few responses to this thread which suggest to use eXcelon and Ipedo. I will start evaluating them. But I wonder if I can use them.
Mine is not an enterprise application; I plan to price tag this application at about US$ 2,000-4000. And using these specialized xml db servers would be commercially unviable. That is why I am looking for a no cost solution. However I am definitely looking for prospects where a high performance is required for the custiomers of my product. There I can provide a customized solution.
Hope this gives more Idea as to what am I upto.
-----Original Message-----
From: Soumitra Sengupta, Ph.D. [mailto:soumitra@b-bop.com]
Sent: Sunday, September 09, 2001 10:32 PM
To: gharesh@vsnl.com
Cc: Xml-Dev
Subject: Re: storing xml files into database

Haresh Gujarathi wrote:
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
Naturally there is  inconvenience in storing the xmls on the file system.  
Could you explain your requirements a bit more.  Why is it that you find the filesystem inconvenient?
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
I am looking for 2 solutions ; a zero cost solution
If  you go back and check the archives of this list, you will find announcements for couple of open source initiatves.

BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
and reasonable cost solutions (may be involving the xml aware databases like Ixiasoft xml server)
Take a look at our Xfinity Server.  It is a reasonable cost solution and is fully XML aware.
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
1. In considering a database as storage mechanism, what advantages I would get
2. In such scenario what other people do?
3. If I want to store the xmls in say MySQL, how do I do it and does mysql have any special features?
Xfinity is tested on MySQL on Linux.
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
4. What about MS-SQL  server;
Xfinity supports MS-SQL Server 7.0 and 2000.
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
5. Should xmls be stored as blobs in the rdbms databases?
Depends on whether you need granular access to your XML documents or not.  Also what kind of search capabilities you need and what performance requirements you have.
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
6. Optionally, I am also looking for 'search' ability where the database should be able to index the elements of xml file and perform search.
A better explanation of your requirements would help but Xfinity supports "all of the reqs" you mention here out of the box.
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@vsnl.com type="cite">
Haresh Gujarathi