Fast capturing of database changes