数据库表与应用程序之间的通信

问题描述:

在我的应用程序中,我需要检查一个sql表字段以便进一步处理。

目前我在一个while循环中连续轮询数据库,延迟3秒检查,如果字段是设置与否??



是否有其他替代解决方案,而不是通过连续轮询使数据库忙碌。



我正在寻找异步通知或消息,当设置或修改特定字段时,它将被发送到我们的应用程序。

In my application, i need to check an sql table field for further processing.
Currently am continuously polling the database in a while loop with a delay of 3 sec to check, if the field is set or not??

Is there any other alternative solution, rather than making the database busy by continuous polling.

Am looking for a asynchronous notification or message, which will be sent to our application when ever the particular field is set or modified.

看一看在这个 [ ^ ]文章。应该是一个好的开始。
Take a look at this[^] article. Should be a good start.