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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:19:46+00:00 2026-05-23T21:19:46+00:00

I am looking for some experiences from people that worked with big databases (

  • 0

I am looking for some experiences from people that worked with big databases ( > 100GB ).

Basically I have a table that stores all messages sent by a system, for all accounts. Every week, we get aprox. +1 million new rows.

This table is starting to give problems with some queries. I understand how to proper optimize queries and tried different combinations of indexes. But i think that it’s just too much for one table.

One of the queries, which uses a range condition is what usually kills our database.

From your experience, is it better to split this table into several tables ( one for each account )? Each account already has its own database, so it’s not hard to modify our software for this.

I guess this would solve our problem with ranged queries, specially for small accounts with < 5k rows.

  • 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-23T21:19:47+00:00Added an answer on May 23, 2026 at 9:19 pm

    I haven’t worked with MySQL directly. I’m more of a SQL Server and Oracle guy. But I do know that MySQL has table partitioning, which breaks big tables and distributes them across files. You can set rules to the partitioning and how it all works.

    Another tip you can try to do, is to separate your data into an archive table. For example, in your back end, if you need to search for messages by date and if the date range is over a certain amount of time, then your back end does its search in the archive table. Otherwise, it searches in the main table. This will allow you to maybe archive older messages.

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

Sidebar

Related Questions

I have a common scenario that I am looking for some guidance from people
Looking for some practical advice here and any experiences people have had in a
We have some search functionality that can return tens of thousands of results from
I have some experience using parallel extensions in .Net development, but I was looking
Looking for some direction here as I'm running into some migration problems. We have
Looking at some code I'm maintaining in System Verilog I see some signals that
Looking for some guidance on a WCF service I’m prototyping. I have a WCF
It's well-known among teachers that some people can program and some can't. They just
my robotics lab is looking for programmers to work on some projects we have
It is well known that different people have different aptitudes regarding various programming paradigms

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.