Article 3.6.1I : How to solve database startup error ?
1- If below mention error is coming in database
2019-06-03 11:43:07.64 spid4092 Recovery completed for database ELNet5Data58 (database ID 63) in 2 second(s) (analysis 1274 ms, redo 0 ms, undo 811 ms.) This is an informational message only. No user action is required.
2019-06-03 11:43:20.08 spid828 Starting up database 'ELNet5Data63'.
2019-06-03 11:43:39.69 spid4102 Starting up database 'ELNet5Data58'.
2019-06-03 11:43:59.23 spid4107 Starting up database 'ELNet5Data59'.
2019-06-03 11:44:00.09 spid4109 Starting up database 'ELNet5Data63'.
2019-06-03 11:44:09.40 spid4109 Recovery completed for database ELNet5Data63 (database ID 68) in 4 second(s) (analysis 1985 ms, redo 0 ms, undo 2589 ms.) This is an informational message only. No user action is required
2- why is the error coming?
It is happening because Auto close setting of database is On. So if database is not in use. it is in close condition and when it will get the response to add some data. it will start opening & giving above error log.
3- IF the amount of data is not too much then there is a no issue but if the size of database is large. Then it is taking time to open database & recovery. In that case sql taking time to respond.
4- How to avoid this error.
1st- use below query to put database always in on mode.
ALTER DATABASE [SQLAuthority] SET AUTO_CLOSE OFF WITH NO_WAIT
GO
2nd-
a. Open sql & connect DB
b. select DB & right click
c. open properties
d. use below image