switch to monotonic timestamp ids and querying a view