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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:55:57+00:00 2026-06-05T12:55:57+00:00

Ok so I have followed this tutorial, and restarted mysql server. However, whenever I

  • 0

Ok so I have followed this tutorial, and restarted mysql server. However, whenever I go to run a query and then execute the query again, I see hardly any performance gain. It’s like a .200 sec gain which tells me that the cache isn’t working.

Here is the cache config from the my.cnf file.

# * Query Cache Configuration
#
query_cache_limit       = 10M
query_cache_size        = 256M
query_cache_type        = 1

The way I am testing this is by running a Routine from the database. The routine consists of a simple SELECT statement that joins two small lookup tables.

show variable like '%query_cache%';

Results

have_query_cache    YES
query_cache_limit   10485760
query_cache_min_res_unit    4096
query_cache_size    268435456
query_cache_type    ON
query_cache_wlock_invalidate    OFF

Edit 1

To add, when I look at the Server Health using Workbench. The query cache hitrate remains at 0%.

  • 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-05T12:55:59+00:00Added an answer on June 5, 2026 at 12:55 pm

    Ok so here is what solved my problem. I ended up enabling Remote Management in the MySql workbench. Then I went to the Configuration->Options File. It gave me an error stating that there was no section called [mysqld] and that it was going to add it. After that I went to the Performance tab, and noticed all of my checkboxes for the cache were unchecked. I checked all the values, MySql Workbench suggested I suffix my values with a K, M, or G when I input my cache values. After all of that I restarted the server and it was successfully caching my queries.

    Not sure what all technical pieces changed in the config, but the workbench took care of everything for me.

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

Sidebar

Related Questions

I have followed this tutorial here as mentioned exactly I now try to run
Hi have followed this tutorial using Core plot framework http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application My project compiles, but
I have followed this tutorial which allowed me to create a Silverlight DataGrid that
I followed this tutorial http://www.tugberkugurlu.com/archive/api-key-authorization-through-query-string-in-asp-net-web-api-authorizationfilterattribute to create custom Authorization filter. I have CarController with
I have followed this guide to install Solr in TomCat running on Windows Server
I followed this guide here perfectly and have gone through it again but when
I have followed this tutorial: http://www.phpjabbers.com/how-to-make-a-php-calendar-php26-6.html#comments to make a very basic calendar. My aim
I have followed this tutorial, and made everything like the tutorial says... When I
I have followed this tutorial by Scott pretty much to the T against my
I have followed this tutorial to create a seek bar on a transparent background.

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.