Is it possible to listen to relational database update?

Posted by Morgan Cheng on Stack Overflow See other posts from Stack Overflow or by Morgan Cheng
Published on 2010-03-14T06:55:28Z Indexed on 2010/03/14 7:05 UTC
Read the original article Hit count: 261

Filed under:
|

Is it possible to listen to relation database update? For example, my web app want to send data update to client through Comet technology. I can have the program to poll the database periodically, but that would not be performant and scalable.

If app can hood to a "event handler" of database, then app can get notification every time given database table data is updated. This sounds more promising, but I didn't find any concrete example for it. This is listener pattern.

Does common relational database support such feature?

© Stack Overflow or respective owner

Related posts about database

Related posts about listener