Maintaining logical and temporal consistency in time critical databases