In my current project, some tables have a column named "changed", which indicates if the the current line had been changed since the last check. All the insert and update statements includes this column.
Every hour, I run a schedulated task that queries all changed rows, do some stuff with those rows and then sets null to it's "changed" column.
This is potentially a performance issue, since I'm going to do lot's of write and read operations in this column, the index will be constantly being rebuild.
What's the best option for this scenario(rather than not using this kind of mechanism)?