Is it good practice to have the database of an application on the same physical server as the application but separated by a virtual machine?

link|improve this question

71% accept rate
feedback

2 Answers

It seems reasonable enough as long as there is enough resource - for the database server, be especially careful not to overcommit memory or CPU, and ensure that memory doesn't use the balloon driver.

link|improve this answer
Ignore memory and CPU ;) THe most likely overload candidate is IO - "the server has 2 dsics" instead of 20 ;) – TomTom Jan 9 at 17:55
Hi TomTom, how do you know? – Chopper3 Jan 9 at 18:18
Databases are disc IO intensive, but when virtualising we mitigate this by throwing memory at the problem. – Peter Schofield Jan 9 at 20:09
feedback

"Good Practice" - personally I don't like running production DBs in VMs but if you want to do that then actually running them on the same host would be great as your virtual networking between the two would be FAR quicker than any regular physical networking available.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.