Only use ivars if there are db instrumentations