[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: storing xml files into database

  • From: Haresh Gujarathi <gharesh@v...>
  • To: soumitra@b...
  • Date: Mon, 10 Sep 2001 18:26:17 +0530

store xml 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.
 
regards
Haresh
 
-----Original Message-----
From: Soumitra Sengupta, Ph.D. [mailto:soumitra@b...]
Sent: Sunday, September 09, 2001 10:32 PM
To: gharesh@v...
Cc: Xml-Dev
Subject: Re: storing xml files into database



Haresh Gujarathi wrote:
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@v...">
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@v...">
 
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@v...">
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.
http://www.b-bop.com/products_xfinity_server.htm
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@v...">
 
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@v...">
4. What about MS-SQL  server;
Xfinity supports MS-SQL Server 7.0 and 2000.
BKEDIOMKNKCFDFHJHEFJAEJMCBAA.gharesh@v...">
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@v...">
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@v...">
regards
Haresh Gujarathi


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.