Watching a table for change in MySQL?

后端 未结 6 1207
不思量自难忘°
不思量自难忘° 2020-12-05 18:23

Is there a better way to watch for new entries in a table besides selecting from it every n ticks of time or something like that?

I have a table that an external pro

6条回答
  •  鱼传尺愫
    2020-12-05 18:55

    This is just a small improvement to your method. Write a trigger on the table(s) you are watching to update a Last_Changed table.

提交回复
热议问题