Database file error

Here’s what happened. I turned on the power the next day to start the raspberry pi,HA starts out sluggish and slow,I wondered if there was something wrong with the database, and then I deleted the database file.But when I restart HA, the database file fails to generate and disappears, leaving only a home-assistant.log file,but HA can restart successfully and run.Does anyone have a similar problem to mine, and how can I fix it?%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190124122509