How to start SQL Trace without bringing the database down

How to start SQL Trace without bringing the database down

I have to start SQL Trace on a database without bringing the database down. How do I do it? The way I know is to bring down the database, modify the initSID.ora file and restart.

    Requires Free Membership to View

    By submitting your registration information to SearchOracle.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchOracle.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Try executing the command "alter system set events = '10046 trace name context forever, level 1';" that will turn on sql_trace for the system.

This was first published in February 2002

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.