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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:01:58+00:00 2026-05-20T02:01:58+00:00

Im recording slow queries longer than 2 seconds. That is running fine except, the

  • 0

Im recording slow queries longer than 2 seconds. That is running fine except, the daily backups also get recorded in slow log because 1) mysqldump calls select * from xyz (big table); and 2) when inserting the backup into a new db (yesterday’s backup, sundays backup, etc).
How to prevent mysqldump from logging slow queries?
Is there a temporary way to switch off slow logging when backup is in progress?
Please suggest.

Thanks,
Vikas

  • 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-05-20T02:01:58+00:00Added an answer on May 20, 2026 at 2:01 am

    I think that answers it:

    To control the slow log at runtime,
    use the global slow_query_log and
    slow_query_log_file system variables.
    Set slow_query_log to 0 (or OFF) to
    disable the log or to 1 (or ON) to
    enable it. Set slow_query_log_file to
    specify the name of the log file. If a
    log file already is open, it is closed
    and the new file is opened.

    Taken from: http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html

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

Sidebar

Related Questions

I have a large database of normalized order data that is becoming very slow
I'm recording audio with AVAudioRecorder as seen in How do I record audio on
I'm already recording from my iSight from a python script using the pyobjc bridge
I created a video recording application with library dialog. The library dialog displays the
I have a table recording the amount of data transferred by a given service
All: I am recording a movie, using AVCaptureMovieFileOutput. As various events occur, I wish
I'm recording video from a live stream. The format we're recording in requires the
Is there a good Eclipse plugin for recording and playing back macros? I've tried
I'm writing a screen recording app for Windows in Delphi 7 and wish to
I am developing an application for video recording and I want to overlay the

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.