For cost savings, we're moving from an managed SQL Server DB to a dedicated db on our own server.
What configuration checklist would you perform to ensure maximum security and reliability?
For cost savings, we're moving from an managed SQL Server DB to a dedicated db on our own server.
What configuration checklist would you perform to ensure maximum security and reliability?
For starters, remember to remove the sa login - it's amazing how many places I've worked that hadn't done this!
Apart from that, if you have the money, invest in fast disks - it makes a huge difference IMO. A lot of the other configuration depends on your individual application/customer needs.
There is a ton of stuff, here is just a partial list
log and data files on different disks
tempdb on its own disk
buy as much memory as you can afford (RAM is alway faster than IO from disk)
after doing the restore or attach make SURE that you update the statistics with fullscan and rebuild all the indexes (this is very important if you want to have optimal plans)
See also SQL Server Best Practices on the microsoft site, there are a ton of white papers available
Don't MS have a "best practice" tool?
Also, avoid SQL Server accounts and stick to Windows authentication, this allows you to keep usernames and passwords out of your connection strings. Then assign the operational user accounts specific permissions on the database objects they need, and nothing else (e.g. can execute SProcs but not look at the source).
Also, read through blog.stackoverflow.com, Jeff et al have had to do some work in this area.
Make sure you set the default server collation to what you need. This will stop you from creating new databases in the future and having to hard code collation changes between that and otehr databsaes.