Acivate sql history file.