Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 31st, 2008, 08:51 AM
Registered User
 
Join Date: Aug 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML vs SQL Server 2005

I am working on a project(asp.net 2.0)

I have to take a decision between XML or SQL Server 2005

Problem:
1) In future 1 million users will access the site.
2) If i store data in xml files with an "index xml file" to track the files, reading bulky index file(suppose 250-700GB) is very difficult when million people access the site and search content.
3) Project owner requirement: Response to user search query must be 1-2 seconds maximum.
4) What will be the hardware configuration for such a bulk access?


Please help.
 
Old May 31st, 2008, 09:44 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

No question: you should be using a database engine. You are building a "big boy" application that needs a "big boy" data storage platform.

-Peter
compiledthoughts.com
 
Old June 1st, 2008, 02:59 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

It seems to me you have to make two decisions: what data model to use, and what storage engine to use. It sounds as if it's appropriate to use XML as your data model and a database engine for data storage, so you should do that: they aren't in conflict. Whether SQL Server 2005 is the best database engine for storing XML is another question.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2005 XML: FOR XML PATH -> cdata? stoves SQL Server 2005 1 July 8th, 2008 02:40 AM
reg conn to sql server 2005 from vb.net 2005.. veda SQL Server 2005 2 July 1st, 2008 12:16 AM
Conflict in SQL Server 2000 and SQL Server 2005 ayan.mukherjee SQL Language 0 June 30th, 2008 03:34 AM
Transform SQL server 2005 XML with xslt bonekrusher XSLT 0 July 11th, 2007 07:45 PM
Looping through XML in SQL Server 2005 francislang SQL Server 2005 1 February 23rd, 2006 11:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.