Oracle Request Set Run Time Log File Posting

70 pts.
Tags:
Oracle development
Oracle Log File
Hi Everyone, I am currently using the put_line to write information to the log file in Oracle. I don't get to see what is in the log file until the job finishes running. I would like to write to the log file and have the information available while the job is progressing (running) at any point in time. The reason I would like to see this is because I can then write out the number of rows processed so far. After a while, I will have a baseline on how efficient the job runs. Is there a way to get this to work? Thanks in advance for your help.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You are using PUT_LINE, from what package ? UTL_FILE ?

If so, you could use the procedure FFLUSH.

FFLUSH physically writes pending data to the file when called.

Depending on how often you are writing to the file, you could also open and close the file each time you need to write to it. When the file is closed, all pending data is written to disk.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following