• 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 766 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 (22.1K 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

  • Ways To Make Sure Your Online Course Outshine Others July 3, 2022
  • Will Smart Factories Become the New Assembly Line? July 2, 2022
  • The Cost of Doing Business as a Handyman July 1, 2022
  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022

About This Article

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

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

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

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

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