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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:51:08+00:00 2026-06-12T12:51:08+00:00

I have a WordPress site on a MediaTemple DV4 server with 8GB RAM. The

  • 0

I have a WordPress site on a MediaTemple DV4 server with 8GB RAM. The DB has over 35K posts and at peak hours, the site has between 300 and 400 concurrent users. The homepage runs 6 queries to the wp_posts table.

Could anyone offer any advice on the best settings for the my.cnf file? Thanks.

 query-cache-type = 1
 query-cache-size = 256M
 query_cache_limit = 1M
 thread_cache_size = 256
 max_connections = 350
 tmp_table_size=256M
 max_heap_table_size=256M
 table_cache= 1024
 join_buffer_size = 5M
 key_buffer_size = 512M
 wait_timeout = 60
 local-infile=0
 datadir=/var/lib/mysql
 socket=/var/lib/mysql/mysql.sock
 user=mysql
 # Disabling symbolic-links is recommended to prevent assorted security risks
 symbolic-links=0

MySQLTuner Performance Metrics:

 -------- Storage Engine Statistics -------------------------------------------
 [--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster 
 [--] Data in MyISAM tables: 963M (Tables: 504)
 [--] Data in InnoDB tables: 4M (Tables: 198)
 [!!] Total fragmented tables: 218

 [--] Up for: 2d 18h 10m 22s (27M q [113.837 qps], 1M conn, TX: 489B, RX: 4B)
 [--] Reads / Writes: 97% / 3%
 [--] Total buffers: 1.4G global + 7.6M per thread (350 max threads)
 [OK] Maximum possible memory usage: 4.0G (42% of installed RAM)
 [OK] Slow queries: 0% (3K/27M)
 [!!] Highest connection usage: 86%  (301/350)
 [OK] Key buffer size / total MyISAM indexes: 128.0M/679.6M
 [OK] Key buffer hit rate: 100.0% (1B cached / 57K reads)
 [OK] Query cache efficiency: 67.8% (14M cached / 20M selects)
 [!!] Query cache prunes per day: 29253
 [OK] Sorts requiring temporary tables: 0% (1K temp sorts / 1M sorts)
 [!!] Temporary tables created on disk: 35% (688K on disk / 1M total)
 [OK] Thread cache hit rate: 99% (463 created / 1M connections)
 [OK] Table cache hit rate: 31% (1K open / 3K opened)
 [OK] Open file limit used: 42% (1K/2K)
 [OK] Table locks acquired immediately: 99% (7M immediate / 7M locks)
 [OK] InnoDB data size / buffer pool: 4.3M/32.0M
  • 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-12T12:51:10+00:00Added an answer on June 12, 2026 at 12:51 pm

    May be you can check the size of the queries, it’s possible that 1M is too big and smaller – but frequently running – queries won’t be cached.

    pt-query-digest is an excellent tool for doing that:
    http://www.percona.com/doc/percona-toolkit/2.1/pt-query-digest.html

    For general tips, you can use:
    http://mysqltuner.pl
    keep it in mind, that they’re just generic advices, so don’t follow them blindfolded, but usually the script’s output is a good start when optimizing MySql.

    key_buffer_size is only relevant of you’re using MyISAM tables (don’t!).

    If you want the database to run smoothly with InnoDB then raise the
    innodb_buffer_pool_size to higher than the actual database size(if it’s possible)

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

Sidebar

Related Questions

i have an wordpress site and it have menus over there. what i want
I have a wordpress site with 5k post and each post has average 25
I have a wordpress site that i've been working on that has some pages
I have a site that is going to use Wordpress within the main server
I have a WordPress site running on a production server that I recently copied
I have a Wordpress site which has post ratings stored in the wp_ratings table,
i have a wordpress site that currently shows the posts like http://mysite.com/index.php?p=1 and now
So, here's my situation. I have a wordpress site, and each entry has a
I have a wordpress site, it's already have about about 3000 published posts, the
I have a wordpress site set up on a live server, and I have

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.