Results 1 to 6 of 6

Thread: XML or SQL Server?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Posts
    6

    XML or SQL Server?

    I'm creating a Web-based case/document management system for a law firm, I was wondering whether or not XML is suited for the job. I figure accessing XML files would be about as fast as a flat file (meaning a turtle stuck in concrete), but I haven't seen any info on that. Is an extensive XML database able to handle approximately 25 concurrent users per CPU (P3 1GHz + 512MB RAM)?

    Oh and the language is ASP.NET.
    Last edited by goatse; Apr 11th, 2002 at 07:18 PM.

  2. #2

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Posts
    6
    ?

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    mm..Id use SQL as even though XML is efficient, it can get pretty slow especially when the file gets fairly big.. It is just not a very scalable option.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Id say it is getting too big for multiple users at about couple hundred KB. Splitting up the file stil lgives you the problem of slow down from opening and closing back and forth between files.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5
    Lively Member
    Join Date
    Aug 1999
    Location
    Amsterdam
    Posts
    117
    The title of your post "XML or SQL Server" doesn't make much sense, and especially "OR".

    When users frequentally read/write data in your App you should use a Database. (SQL Server for example).

    If you want to view or manipulate that data in XML format it's still possible, SQL Server can spit out XML.

    And .NET even does everything transparentally for you because when you retrieve a DataSet actually XML is used so you can approach the same data in both ways.

    BTW. ASP.NET is not a language but a technology.

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    XML is better used as a seperate string or file for each user to access individually. Like perhaps when auser connects, get the needed data from SQL into a string of XML within something liek a Session variable. Then just use that variable while they are connected.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width