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 8005357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:12:29+00:00 2026-06-04T17:12:29+00:00

Extending this thread – I would just like to know why it’s faster to

  • 0

Extending this thread – I would just like to know why it’s faster to retrieve files from a file system, rather than a MySQL database. If one were to benchmark the two to see which would retrieve the most data (multiple types of data) over 10 minutes – which one would win?

If a file system is truly faster, then why not just store everything in a file system and replace a database with csv or xml?

EDIT 1:

I found a good resource for alternate storage options for java

EDIT 2:

I’m looking for a Java API/Jar that has the functionality of a SQL Database Server Engine (or at least some of it) that uses XML for data storage (preferably). If you know of something, please leave a comment below.

  • 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-06-04T17:12:31+00:00Added an answer on June 4, 2026 at 5:12 pm

    At the end of the day the database does just store the data in the file system. It’s all the useful stuff on top of just the raw data that makes you decide to use a database.

    If you can replicate the functionality, scalability, robustness, integrity, etc, etc of a database system using CSV and still make it perform faster than a relational database then yes I’d suggest doing it your way.

    It’d take you a few years to get there though.

    Of course, relational systems are not the only way to store data. There are object-oriented database systems (db4o, InterSystems Cache) and document-based systems (RavenDB).

    Performance is also relative to the style and volume of data you are working with and what you intend to do with it – I’m not going to even try and discuss that, it’s too open ended.

    I will also not start the follow on discussion: if memory is truly faster than the file system, why not just store everything in memory? 🙂

    This also seems similar to another question I answered a long while ago:

    Is C# really slower than say C++?

    Basically stuff isn’t always done just for performance.

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

Sidebar

Related Questions

I created a class extending Thread to retrieve user location through LocationManager in a
I would like to know what are the differences between each of the following
I'm extending Exception to implement a setter on the Message property. And this works
I have a taskBarIcon element extending Application Context from which my entire UI is
If I am extending an existing ThreadFactory implementation, how would I go able ensuring
I'm trying to implement a SurfaceView , calling its onDraw() method from a Thread
I have a Thread -extending class that is supposed to run only one instance
I have a field which extends BitmapField (called AnimatedGIFField) and an AnimatorThread (extending Thread)
How do I pass an intent from an activity to a class extending surfaceview?
I would like to extend the Queue.PriorityQueue described here: http://docs.python.org/library/queue.html#Queue.PriorityQueue The queue will hold

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.