How costly (CPU or memory wise) is it to have multiple instances of SQL server 2005 instead of only one instance with prefixed databases?
A company have three application providers. They each will install one application and they each require two or three databases. Should they all use the same instance or should every provider use it's own named instance?
Is there any strong reason for one or other setup?
The only strong reason to install separate instances on same hardware is if you have very very stringent security isolation requirements. Otherwise is always better to have only one instance. One single instance can better optimize all hardware resources for the load you're facing. Multiple instances don't communicate to each other and they overlap the memory, I/O and CPU load resulting in worse performance.
Also a single instance is easier to administer, monitor and troubleshoot rather than separate instances.
If you break out your SQL Servers into individual instances (or perhaps separate virtual machines), the advantages are:
Better resource limiting. SQL 2008's Resource Governor is a good start, but still not that fine-grained, especially when it comes to limiting IO. With virtual servers, you can throttle CPU, memory and IO at the virtual machine level, thereby giving you the ability to limit resources even on older versions of SQL Server.
Easier performance upgrades and downgrades. If one virtual machine needs to be scaled up, like if its application suddenly becomes more popular, you can VMotion it to a more powerful machine without taking an outage. If you're using multiple instances, on the other hand, you're looking at a time-intensive and labor-intensive installation.
More flexible outage windows - if you have all of your databases on a single OS (multiple instances of SQL) then you have to do a lot of coordination to do Windows patches. If they're broken out onto different virtual guests, then you can do patching whenever it's most convenient for each individual guest (and its matching databases.)
Better security limits. If one SQL Server runs into problems and a third-party needs to get involved with troubleshooting, you can give them OS-level permissions without worrying about what they'll do to the other SQL Servers installed on the box.
Less problems with application compatibility. Some apps just aren't compatible with named instances of SQL Server.
It's not all unicorns and rainbows, though. Some drawbacks of the multiple-instance and/or virtual server approach include:
I did a webcast on consolidation vs virtualization with SQL Server experts Kevin Kline and Ron Talmage. Registration is required for that, though.
If you are looking to go this route, I would recommend separating the instances onto different hardware rather than running separate instances on the same machine. If each of these instances intends on getting hammered, I'd rather it all hammer one instance than hammer three instances on the same box with the added overhead involved keeping those instances up.
Keep the applications on separate instances. That way the providers can't see each other's work. They will probably prefer it that way as they will view their apps as proprietary information. Also, they may need different setups on the database (e.g. collation).
The downside of this is that the instances will require a bit more memory.
If any of the applications has a heavy load there might be a case for putting it on its own server or at least its own physically separate disk volume. Generally separate instances would be preferable to separate VMs for a database server.