Sql trace file

I have enabled Sql trace, I want to know like by what frequency this file will be created.
sakthikumarAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
At what level did you enable it (session, database, ???)?

As far as the files go:  I believe it is by process id.  It will trace every SQL statement processed at the level you enabled it at.

It isn't the number of files you have to worry about, it is the amount of information in the files.

Also, per the docs, this is deprecated:
http://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams248.htm#REFRN10208
The SQL_TRACE parameter is deprecated. Oracle recommends that you use the DBMS_MONITOR and DBMS_SESSION packages instead. SQL_TRACE is retained for backward compatibility only.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mark GeerlingsDatabase AdministratorCommented:
Only one trace file will be created per process/session that you have it enabled for.  So, depending on which level you enabled trace at, you may get one file, or many.  But, it (or they) will continue to grow until the session/process being traced either logs out, or explicitly disables tracing.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.