• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » InnoDB Table Optimization for WordPress

By Abhishek Ghosh September 9, 2014 12:18 am Updated on September 9, 2014

InnoDB Table Optimization for WordPress

Advertisement

InnoDB Table Optimization for WordPress is followup for our previous guide to use InnoDB Engine. Most plugins will not support optimization. The previous article was – MyISAM vs Innodb MySQL Engine For WordPress (Rackspace Cloud). So, we practically suggested to use InnoDB. One of our regular reader since 2011 ( Pritam from Bengal ) asked on Twitter, how to manage the optimization part for InnoDB. Quite normal question, because most WordPress Plugins will not work on InnoDB Table. Again, we are not database Guru. This is a working experience. InnoDB on rightly configured MySQL Server, never require optimization for only a WordPress blog. If you simply run service mysql restart, you will notice, the WordPress is running like a new, fresh installation. Running service mysql restart is not a standard method! It is a credit to keep the database server up and running steadily. There is no optimization for InnoDB, it is defragmentation :

Vim
1
http://dev.mysql.com/doc/refman/5.0/en/innodb-file-defragmenting.html

Obviously on Rackspace with a separate database server with InnoDB Engine, you will never use Disk Cache feature of W3 Total Cache Plugin.

 

InnoDB Table Optimization for WordPress

 

If you have optimized my.cnf using Major Hayden’s script or Major Hayden or someone like him has optimized for you on Rackspace ( Read this article Tweak MySQL my.cnf using Major Hayden™s MySQL Tuner Script if you are not understanding what we are talking about ).

Advertisement

---

There is a nice readymade script ( read this article first, then go there… hummm ) :

Vim
1
https://github.com/AbhishekGhosh/mysqlfragfinder

Minimum, you should know up to this level – How to Export WordPress MySQL Database on Rackspace Deployment. If you are not comfortable to use MySQL in this way, do not experiment on production server / Live Website.

InnoDB Table Optimization for WordPress

 

InnoDB Table Optimization for WordPress is Kind of Wrong Post Title!

 

Vim
1
optimize table;

You will see, it is giving you return that it is not supported, because you might have worked with innodb_file_per_table.

Or config :

Vim
1
2
3
4
5
[mysqld]
innodb_file_per_table
innodb_flush_method=O_DIRECT
innodb_log_file_size=1G
innodb_buffer_pool_size=4G

OPTIMIZE probably calls ALTER TABLE command when executing against InnoDB tables. Probably, because except Database Administrators, so much minute theory is not possible to tell. Database Administrator is not needed for only WordPress unless one has very difficult problem. Running OPTIMIZE TABLE against an InnoDB table does two things.

So – InnoDB tables do not support optimization. You can optimize MySQL tables only.

If we frequently deleted rows (or update rows with variable-length data types), we could end up with a lot of wasted space in your data file(s), similar to filesystem fragmentation. Actually with WordPress we do not perform such very complicated work.

If we are not using the innodb_file_per_table option, the only thing we can do about it is export and import the database, a time-and-disk-intensive procedure. But if we are using innodb_file_per_table, we can identify and reclaim this space.

But, unlike other engines, we actually need to shutdown the incoming and outgoing calls to the database. That simply means we can not directly optimize InnoDB. We can not because we usually do not need at all. If running service mysql restart hugely fast, then you need to fine tune.

Tagged With wordpress innodb optimization , wordpress mysql optimization language:en , wordpress innodb , ROW_FORMAT=DYNAMIC requires innodb_file_per_table Warning: #1478 InnoDB: assuming ROW_FORMAT=COMPACT , Optimizing MariaDB for wordpress innodb , optimize innodb tables wordpress , mysql optimization for wordpress , InnoDB tables optomize wordpress , innodb settings wordpress , wordpress plugin to update myisam tables to innodb

This Article Has Been Shared 156 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to InnoDB Table Optimization for WordPress

  • List of CMS without Database

    List of CMS without Database features some Free Software and some proprietary CMS which can serve the basic purpose of using a CMS – managing the contents.

  • HTML5 : Vocabulary and Interfaces

    HTML5 can be difficult to understand at high end usage. Basic usage of HTML5 is otherwise easy. Here is a list of Vocabulary and Interfaces for HTML5.

  • Genesis 2.0, YARP and Schema.org : Guide

    Genesis 2.0 is HTML5 based and YARP is one of the best related post plugin. Here is how to use Schema.org markup to tell search engines about the related links.

  • Remove 3rd Party URLs Added By WordPress Plugins

    Remove 3rd Party URLs Added By WordPress Plugins by a Bit Manual Searching on the Source Codes of the Plugins for Better on Page SEO. Here is Some Examples.

  • Add Itemprop image Schema in WordPress Posts

    Add Itemprop image Schema in WordPress Posts regardless of your type of Theme or Theme Framework – its do-it-yourself guide without keeping hit or miss chance.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Online Dating: How to Find Your Match March 20, 2023
  • Web Design Cookbook: Logo March 19, 2023
  • How Starlink Internet Works March 17, 2023
  • The Importance of a Camera Tracking System in Virtual Production March 15, 2023
  • Understanding the Key Differences between Docker and OpenVZ March 14, 2023

About This Article

Cite this article as: Abhishek Ghosh, "InnoDB Table Optimization for WordPress," in The Customize Windows, September 9, 2014, March 21, 2023, https://thecustomizewindows.com/2014/09/innodb-table-optimization-for-wordpress/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT