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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:18:56+00:00 2026-06-18T01:18:56+00:00

In oracle sql plus, while doing performance testing, I would do set autotrace traceonly:

  • 0

In oracle sql plus, while doing performance testing, I would do

set autotrace traceonly:

which would display the query plan and statistics without printing the actual results. Is there anything equivalent in mysql?

  • 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-18T01:18:58+00:00Added an answer on June 18, 2026 at 1:18 am

    No, there’s no equivalent available in MySQL, at least not in the community edition.

    MySQL does not implement the kind of “instrumentation” that Oracle has in its code; so there’s no equivalent to an event 10046 trace.

    You can preface your SELECT statement with the EXPLAIN keyword, and that will produce output with information about the execution plan that MySQL would use to run the statement, but that’s just an estimate, and not a monitoring of the actual execution.

    You can also enable the slow query log on the server, to capture SQL statements that take longer than long_query_time seconds to execute, but that really only identifies the long running queries. That would give you the SQL text, along with elapsed time and a count of rows examined.

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

Sidebar

Related Questions

I'm using Oracle SQL Developer to query an Oracle DB (not sure which version
I have a problem with compiling an Oracle trigger via SQL*PLUS - I don't
I have several Oracle queries that perform well when run through SQL*PLUS. However when
I've got an SQL-script executed by SQL*Plus, that needs to run with Oracle 10g
I recently upgraded to Oracle Sql Developer 2.1 It's far better, but the query
The following code creates an object table with a get_age function using oracle sql*plus.
I just installed Oracle, and I am working with SQL*Plus because the GUI tool,
I'm using SQL*Plus, or Oracle 11g express, if that's relevant. I came across something
Oracle SQL*Plus interprets the at sign, @ as a command to run a SQL
In Oracle's SQL*Plus, the results of a SELECT are displayed in a tabular manner.

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.