I have a windows instance that runs a postgresql database. It is a production database for analysis purpose. Since this database is not normally needed at night, we are thinking of shutting it down at night and turning it on in the morning to cut costs.
Is this a good way to approach it or database really should run 24/7?
If the database should not ever be turned off at all cost, what can I do to cut costs? Auto Scaling or other methods?
If the start/stop model is OK, do I need to run 'SIGTERM' or 'SIGINT' to shut it down first before I turn off the instance, or I just need to turn off the instance straight away? (Turn off the instance by running powershell from other instance).
When I turn on the server do I need to open postgresql program or does it start automatically?
Thank you