MSSQL:
PSQL:
Server Optimization and Tuning: