OraQA

Oracle Question and Answer


Latest Comments

  • Laurent Schneider:
    if you like a Base64 format, maybe this… select utl_raw.cast_to_varchar 2(...

  • hsafra:
    You need to give more specs for the question: What letter are acceptable? What letters aren’t? Do you...

  • ragunathansd:
    I am not inserting sequence numbers from database. I need to populate the data in a grid. If a user...

  • gamyers:
    “redo log file gets full” That is the nature of a redo log file. It gets full, switched and...

Comments RSS feed


  • 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