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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:36:28+00:00 2026-06-04T19:36:28+00:00

In our application we use a EBS partition with a Mysql database. Eventually, we

  • 0

In our application we use a EBS partition with a Mysql database. Eventually, we ran out of space and had to a bigger partition for the DB.
We used the AWS panel functionality to create a new volume using a snapshot of the previous one.
Mysql was stopped, and now we are using the new, bigger EBS partition.
However, we had noticeable degradation of the database performance. We are not sure how this could happen, since theoretically we are using the same Mysql configuration and the same database.
Is it possible that maybe we have to rebuild indexes or re-optimize tables? I am not sure if that would be worth anything, so we haven’t tried it yet because we are afraid it could slow down the database even more, and our application cannot be stopped easily, as it runs 24/7.
Can anyone help please?

  • 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-04T19:36:29+00:00Added an answer on June 4, 2026 at 7:36 pm

    When you start using a new EBS volume (whether created from a snapshot or created empty) there is always a first-use performance penalty for each block. This will manifest itself as slow performance from your MySQL database using the new volume.

    You can “dd” the EBS volume to /dev/null to make sure all blocks have been hit. Here’s an article I wrote on how to do this: http://alestic.com/2010/03/ebs-volume-initialization-from-snapshot

    There may also be a performance hit while the database is brought into memory through queries. This is a standard IO issue that would happen when restarting the database on any platform and is unrelated to EC2 or EBS.

    If the performance stays slow after everything has warmed up and should be humming, then you may try things like:

    • Create a new EBS volume and test it just in case the slow one was using defective hardware at EC2.

    • Move your EC2 instance to new hardware just in case your neighbors on the current hardware are network heavy and interfering with your EBS IO. This can be done through a simple stop/start (I wrote about it here: http://alestic.com/2011/02/ec2-move-hardware )

    • Move your database to 4-8 EBS volumes configured in RAID-0. This is a common approach to try to smooth out EBS IO volatility.

    • Consider trying out Amazon RDS. Some people have found that they get better performance with Amazon taking care of this part of the infrastructure.

    Note also that you may experience IO slowness while an EBS snapshot is being created from an EBS volume that is being written to heavily. One approach to alleviate this is to replicate the master MySQL database to a different server and create the snapshots on the second server’s EBS volume(s).

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

Sidebar

Related Questions

Our application used to make use of a common base form that all forms
We use OpenFileDialog across our application to select files. So far, we never used
Our company giving out Android devices to drivers. Our application should never use more
Our application makes heavy use of factories to spit out objects, but I often
In our application, we use document.forms[0] to access the form from JavaScript. This used
In our Spring application we use clustered Hibernate Search with ActiveMQ which sets up
While doing loadtesting on our application I noticed that if you use @Transactional and
We are in the process of migrating our ASP.NET application to use Jquery instead
we use super-long Hashes for the Registration of new Users in our Application. The
Sometimes in order to make our application more responsive and fast, we use client

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.