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

  • Home
  • SEARCH
  • 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 9242895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:41:06+00:00 2026-06-18T08:41:06+00:00

Currently we are developing quite a big application which will have to work with

  • 0

Currently we are developing quite a big application which will have to work with some huge amounts of records.

The idea is that the e-mails will have to be stored (with attachments) and via a web-api users should be able to search in their stored e-mails. Users should be able to search (within their own messages they have exported into the database/storage) on at least the following items:

  • from
  • to
  • subject
  • date (range)
  • attachments (names & types only)
  • message contents
  • (optional) mailbox / folder structure

The application should be able to work with big numbers of users and extreme numbers of e-mails (easily growing from millions to billions). The users should be able to download the whole originals message (with attachments) so they can import it into their email client.

I was thinking about indexing the e-mails into a database, and just storing the full e-mail with attachments with a unique key as a package into a seperate storage. With this way I should keep the database load as low as possible and therefore the search as quick as possible.

I have found several database schemas for handling e-mail like this. I couldn’t find any database that is able to handle with hundreds of millions and maybe even billions of records (e-mails).

Is this the most efficient way to keep it simple, efficient and fast or am I forgetting anything?

// edit
The idea is to run this on the amazon cloud (perhaps any suggestions related to it?)

  • 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-18T08:41:07+00:00Added an answer on June 18, 2026 at 8:41 am

    You can use mongoDB database for this amount of data.
    Here is detail of mongoDb.http://www.mongodb.org/

    In mongoDb mysql table is called as collections and row as document.

    Mongo store data in JSON based object format.

    one possible way to make db schema here.

    from : string
    to : string
    subject: string
    date (range): datetime
    attachments (names & types only) : Object Array
    message contents : string
    (optional) mailbox / folder structure: string
    
    for example:
    from: from@gmail.com
    to: to@gmail.com
    subject: "test subject"
    date: "current date",
    attachments: {
     [0]=>{
       names: "attachments1",
       types: "text"
    },
    [1]=>{
      names: "attachments2",
       types: "pdf"
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently developing an application , that will be published on appstore. I
I'm developing a multi-document application. Currently it uses MDI which is quite convenient for
In the web application I am currently developing, I have quite a few database
Im currently developing an In-House Enterprise application. I will publish the app using Apple
I am currently developing an android application which requires two devices to communicate over
I'm currently in the process of developing a fairly large static library which will
I'm quite new to C# and currently developing an application using the EntityFramework. I
I am currently developing a new WPF application and have the majority of my
I'm currently developing a PHP application that is going to use websockets for client-server
I'm currently developing a math application that makes long computations. I'm getting java.lang.NumberFormatException: Invalid

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.