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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:54:59+00:00 2026-05-23T08:54:59+00:00

In order to improve insert performance and load on server, I’ve decided to divide

  • 0

In order to improve insert performance and load on server, I’ve decided to divide a large table into 2. A big table which will only be used for “select” and a smaller table which will be used mainly for “insert” and sometimes also “select”. Each time period (I thought about a day) I will merge the smaller table into the big one.

Regrading the big table: is there a way I can improve performance by telling the mysql server it’s read-only? Considering it’s only for select, can I assume it will handle SELECT in less than 1sec. when it will become ~1e9 rows?

Regarding the small table: any tuning I should do here? what is the best way to develop an automated merge process from the small to the big table (in php)?

  • 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-23T08:54:59+00:00Added an answer on May 23, 2026 at 8:54 am

    I’ve seen this and similar strategies used for this purpose and it has always been counterproductive. You end up creating complexity with more overhead that you gain. For instance, you are guaranteeing that every record gets inserted at least twice.

    Be sure to benchmark carefully and compare to confirm your hypothesis before going too far with this.

    I’ve found it’s highly effective to circumvent deletes on MyISAM tables. You could for instance switch to a new small table once a day and merge the old one into the big one once both are read-only; then drop the old one. Once deletes start showing up in a MyISAM table its efficiency drops significantly from having to find and reuse empty holes.

    Konerak’s suggestion about packed ISAM tables is a good complement to this point of view. One effect is that it gives you a table (and indexes) without holes.

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

Sidebar

Related Questions

In order to improve performance reading from a file, I'm trying to read the
In order to perform a case-sensitive search/replace on a table in a SQL Server
In order to improve the performance of a query I have created a denormalized
I am writing a multi-threaded application in Java in order to improve performance over
I've been doing some performance testing in order to improve the performance of a
In order to improve the client/server behaviour, I'm looking for adapt my iphone client
In order to improve performance i am creating subviews for my scroll view in
In order to improve its performance, I have been profiling one of my applications
In order to improve the performance of my OpenGL ES application for the iPad,
In order to improve my open source project, I need testers. I have created

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.