• Skip to main content
  • Skip to after header navigation
  • Skip to site footer

Free-Mail

  • Events
  • Images
    • Instagram Goodness
  • Music
  • News
  • Software

How to speed up your MySQL queries 300 times

How to speed up your MySQL queries 300 times: How to speed up your MySQL queries 300 times

Before you can profile slow queries, you need to find them.

MySQL has a built-in slow query log. To use it, open the my.cnf file and set the slow_query_log variable to “On.” Set long_query_time to the number of seconds that a query should take to be considered slow, say 0.2. Set slow_query_log_file to the path where you want to save the file. Then run your code and any query above the specified threshold will be added to that file.

read more: Opensource.com afilina

Supporting Open Source.

Have you tried: Travelling to South Africa?

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Pinterest (Opens in new window) Pinterest
  • Email a link to a friend (Opens in new window) Email
  • More
  • Share on Tumblr (Opens in new window) Tumblr
  • Print (Opens in new window) Print
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
Published on 1 May 2017 by Alan Category: SoftwareTag: MySQL, queries, Speed, Times

Dunelm’s cooling mattress topper is ‘excellent’ for hot sleepers and is now 20% off

The cooling mattress topper is now 20% off at Dunelm with prices from £30, and it’s an ideal …

Read moreDunelm’s cooling mattress topper is ‘excellent’ for hot sleepers and is now 20% off

Los Angeles Deluxe Champagne Airplane Tour

Los Angeles Deluxe Champagne Airplane Tour Experience and enjoy an airplane flight for approximately …

Read moreLos Angeles Deluxe Champagne Airplane Tour

Sigma announces 10-18mm F2.8 DC DN compact ultra-wide for Sony, Fujifilm and L-mount APS-C

Sigma has announced the 10-18mm F2.8 DC DN lens for APS-C mirrorless cameras. The fast ultrawide …

Read moreSigma announces 10-18mm F2.8 DC DN compact ultra-wide for Sony, Fujifilm and L-mount APS-C

About Alan

Previous Post:IMG_2566h
Next Post:South Sudan crisis deepens as main rebel groups fragment and realign

Reach Trust

Reach Trust is a holding trust for a number of companies within the Stratlec Group.

Copyright © 2026 · Free-Mail · All Rights Reserved · Powered by Straton Electrical

Back to top