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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:53:36+00:00 2026-06-07T21:53:36+00:00

Well, Maybe 5M is not that much, but it needs to receive a XML

  • 0

Well, Maybe 5M is not that much, but it needs to receive a XML based on the following schema
http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv3.xsd
Therefore I need to save almost all the information per row. Now by law we are required to save the information for a very long time and eventually this database will be very very veeeeery big.

Maybe create a table every day? something like _invoices_16_07_2012.

Well, I’m lost..I have no idea how to do this, but I know is possible.

On top of that, I need to create a PDF and 2 more files based on each XML and keep them on HD.
And you should be able to retrieve your files quickly using a web site.

  • 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-07T21:53:37+00:00Added an answer on June 7, 2026 at 9:53 pm

    Thats a lot of data to put into one field in a single row (not sure if that was something you were thinking about doing).

    Write a script to parse the xml object and save each value from the xml in a separate field or in a way that makes sense for you (so you’ll have to create a table with all the appropriate fields). You should be able to input your data as one row per xml sheet.

    You’ll also want to shard your database and spread it across a cluster of servers on many tables. MySQL does support this but I’ve only boostrapped my own sharding mechanism before.

    Do not create a table per XML sheet as that is overkill.

    Now, why do you need mysql for this? Are you querying the data in the XML? If you’re storing this data simply for archival purposes, you don’t need mysql, but can instead compress the files into, say, a tarball and store them directly on disk. Your website can easily fetch the file in this way.

    If you do need a big data store that can handle 5M transactions with as much data as you’re saying, you might also want to look into something like Hadoop and store the data in a Distributed File System. If you want to more easily query your data, look into HBase which can run on top of Hadoop.

    Hope this helps.

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

Sidebar

Related Questions

Well, my website can not redirect to https://www.facebook.com/QuaFootSpa from http://quafootspa.com/ I have tried redirection
I'm not too great with jquery and maybe this title doesn't explain too well
Well, maybe it is a stupid question, but I cannot resolve this problem. In
I have this linq query that works well (although it may be written better,
Well, the title pretty much states it. I want to be able to draw
Well, I have a application which somehow requires some system resources, but how do
Not sure if this question makes for some poor performance down the track, but
So I have a client that needs to be running tomcat for various things
I have multiple models that need to have their history kept pretty much indefinitely
I know that it's not the main idea of this site to answer such

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.