Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3356408
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:30:37+00:00 2026-05-18T02:30:37+00:00

Which is faster in C#:to read tiny XML files or to read tiny SQL

  • 0

Which is faster in C#:to read tiny XML files or to read tiny SQL tables with small amount of data ?

I wonder if is really necessary to create a table in SQL then establish a connection just to read 10 or 11 parameters.

What would you reccomend?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:30:38+00:00Added an answer on May 18, 2026 at 2:30 am

    It’s really depends on what You need. Nothing stops You from even combining the two worlds as XML can easily be stored in SQL Server.

    If You want to actually have the authentication of the SQL Server, have it backed up, versioned or whatever, You can easily design a mixed XML, SQL, table solution. If You really need some propertyBag persistence area files are ok, but they still require care ie. access control, taking care when it is not present etc (reading a file still does throw a lot of exceptions and IT does it with some good reason).

    Ask Yourself questions like: do I need restricted access, how will I report changes (if any),

    • do I need version history,
    • do I read all the parameters or only part of
      it?
    • what Do i need to do if someone
      changes an entry?
    • what should I do when there is no entry?
    • does it need to be extensible (new parameters added/removed)?
    • should it be encrypted?
    • does the database layer needs to know about it?

    Just some thought from the top of my head.
    Luke

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big files to read and process. Which is the faster method
For reading the data from the database which is faster BCP or Data reader?
I want to read MS word files which were created using older office tool
I am creating a C# application which will have to upload and read data
Ok, I'm trying to figure out which way would be faster to read a
In C#/VB.NET/.NET, which loop runs faster, for or foreach ? Ever since I read
I'm making an Android app, which gets its information from XML files. I'm filling
Which is faster: Union or Concat ? I don't care about the order of
Possible Duplicate: Which is faster/best? SELECT * or SELECT column1, colum2, column3, etc I
Possible Duplicate: Which is faster/best? SELECT * or SELECT column1, colum2, column3, etc. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.