Indexing and using transaction time