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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:56:36+00:00 2026-06-17T13:56:36+00:00

When my database was originally created it was all created as MyISAM (for no

  • 0

When my database was originally created it was all created as MyISAM (for no particular reason) – over time as new tables have been added, they have all been InnoDB as this seems to be the PHPMyAdmin default.

It has never caused any issue that I am aware of but I really need to start thinking about performance optimisation especially as the application and database gets busier so want to change them all to one type and have opted for InnoDB – I am happy with how to make the change etc but my question is what, if any, implications this could have for the front end application? The application is a custom coded PHP application basically just doing normal CRUD operations so nothing special or out of the ordinary.

What should I look out for after the migration and is there anything likely to stop working or to need to be changed in the application as a result? I appreciate InnoDB needs customisation especially to get the best performance and am happy to look into that but just want to get them all changed first, running for a few days and then move onto the next thing.

Thanks

  • 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-17T13:56:37+00:00Added an answer on June 17, 2026 at 1:56 pm

    As with any such architectural change, the only way to be sure how it affects your application is to test it out. That is, on a test machine, not for your production website.

    The caveats of switching from MyISAM to InnoDB are very few. You should tune for InnoDB of course. See for example my presentation http://www.slideshare.net/billkarwin/mysql-55-guide-to-innodb-status for some tips.

    Also remember if you have allocated a large amount of RAM for the MyISAM key_buffer_size config variable, that will no longer be needed if you switch everything to InnoDB. I have audited quite a few sites that still have 4GB+ allocated to this buffer that is no longer used.

    As for any changes you need to do in your application, no, there shouldn’t be any need. InnoDB supports the same SQL data types and query semantics as MyISAM, except for a few exotic cases.

    For example, MyISAM supports compound primary keys where the auto-inc column is second. InnoDB requires that the auto-inc column is the first column in the PK.

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

Sidebar

Related Questions

I have a number of columns in my database that were originally created as
I have a high-demand transactional database that I think is over-indexed. Originally, it didn't
Database has tables Photos and PhotoAlbums. I need a query that will select all
Originally, I created my SQL Server database on a local computer. I set its
I store various user details in my MySQL database. Originally it was set up
ORIGINAL (see UPDATED QUESTION below) I am designing a new laboratory database that tests
Database is OracleXE and here is the problem: data gets entered in tables UPS
Database: DB2 v9.5 on AIX Scenario: I have 2 instances- db2inst1 and db2inst2. I
I created the following route: map.todo todo/today, :controller => todo, :action => show_date Originally,
I have created a TransactionScope and within the scope various items are created and

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.