kraada wrote:The virtualization may be slowing things down for you but it's unclear from what you've told me exactly how much. If you're running Windows in the VM and PostgreSQL outside of the VM in a native capacity things will definitely be faster than PostgreSQL being inside the VM (as the extra layer of virtualization will slow things down, albeit not a whole lot)
I do have PostgreSQL running inside the VM (that's basically what the VM is dedicated to).
The idea is, I can easily port the VM to any physical machine. The thinking was:
* No need ever to have to reconfigure PostgreSQL again (if I decided to move my db to a different machine).
* Easy backup of whole VM, database, PostgreSQL configuration, everything - just copy the virtual hard disk files to backup drive.
* If I go away for a few days with my laptop, I can temporarily port the VM by simply copying the VHDs onto the laptop. Super-portable PT database!
...splitting things into having a dedicated PostgreSQL server will be the easiest way to go and it should provide you some added benefit, especially if you're running PostgreSQL natively on the server (which I presume is the plan).
Hmm, you've got me thinking now. Actually no, it wasn't the plan (but it is an option I'll consider, if virtualisation could be holding things back).
I didn't really think that virtualisation would slow things down much, if the main bottleneck is the hard disk access. Naturally the VM will consume more CPU power (as all CPU instructions have to be interpreted), but as the hard disk increasingly acts as a bottleneck, should the negative effects of virtualisation not tend towards zero?
Please could you clarify how the virtualisation layer might slow things down? Are you purely talking about the CPU speed, or do you think stuff like IP might also be significantly less efficient through the extra layer of virtual hardware?