OraQA

Oracle Question and Answer

  • Do you have a solution to a problem? Do you have an unanswered question? Login and share it with the Oracle community. More...

Oracle News


Entries RSS feed

Comments RSS feed

How to make my app receive asynchronous notifications from the database?

February 6th, 2006 By Vadim Bobrov

Use DBMS_ALERT package. Rather than polling your database at regular intervals wasting network bandwidth, have a trigger report any changes back to you when they occur using DBMS_ALERT package. You can create a second thread in your application and have it listen and respond to incoming notifications about database changes. This way you improve both your network utilization and application responsiveness.

DBMS_ALERT documentation.

Vadim Bobrov
Oracle Database Tools
http://www.fourthelephant.com

Leave a Reply

You must be logged in to post a comment.

RSS feed for comments on this question