Database queries history file