We have a database on a server with enough RAM to hold the entire db. Is there any merit and/or drawbacks to preloading the data into memory after a long period of inactivity?
Other factors during this nightly process:
Balance data are recreated from another app/database/server.
Indexes and stats get refreshed
full backup to disk
then data would be preloaded.
If you have enough memory to hold the entire DB in it, you might as well do that, in particular if the server has no other responsibilities and will not require the RAM for anything else.
The advantage is that now fetching will not have to go to the hard drives (and even with SSDs, RAM is faster).