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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:26:45+00:00 2026-05-27T05:26:45+00:00

We currently store data for a product I work on in ascii plaintext files

  • 0

We currently store data for a product I work on in ascii plaintext files in a format like this:

timestamp:2011120211T10:42:23
value:42
error:Foobar error
value:100
error:
timestamp:2011120211T10:43:58
value:0
...

I tried importing this exact data from one 13 MB text file into an Sqlite database with columns (DATETIME, TEXT, TEXT, TEXT, TEXT). However, much to my surprise, the file size of the database was also 13 MB.

Why is this? I would expect a database to use a format more space efficient than plain ascii, is that not the case?

  • 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-27T05:26:46+00:00Added an answer on May 27, 2026 at 5:26 am

    That is definitely not the case. There is lots of metadata there, and space is actually often wasted in the name of efficiency, to allow for inserts, for indexing, etc.

    The only time I would expect an ASCII dump to be larger than the database files is if the database was largely binary data which would need to be BASE64 encoded to be output as ASCII, and if there were no/minimal indexes.

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

Sidebar

Related Questions

Currently my MySQL data stored like below product | total ------------------------------------------ puma,adidas | 100.00,125.00
I am currently getting this error: System.Data.SqlClient.SqlException: New transaction is not allowed because there
is there any easy way of store XML data into core data? Currently, my
Hey, I want to store application configuration data. Currently, I'm using INIs but they
I am currently processing text/html data and I wish to store my results in
Our application currently stores bunch of configuraton & application specific data to files on
I'm currently developing an application that needs to store data in it's on database,
I'm looking for a NoSQL-way to store machinedata like information about tools, work pieces,
I have a url that looks like this: http://localhost/store/mens/category/t-shirts/item/a-t-shirt I have a class called
I am currently writing a system that stores meta data for around 140,000 ish

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.