Answered by:
Multiple content databases and Project Sites

Question
-
Hi,
I am in the process of migrating our Project 2007 PWA + Project Workspaces data to Project 2010. Our PWA site and the Project Workspaces are in a single content DB (2007) and I am trying to work out what I should do when I migrate it. Our content DB is about 150GB which I believe is around the maximum that it should be.
I am unsure about a couple of things.
1. In SharePoint, you can assign multiple content DBs to a single web application, but each Site Collection will only live in a single content DB. Given that all of the Project Sites are actually just sub-sites of a single Site Collection I cannot see a way to ever split them up into multiple content DBs. Am I missing something?
2. There is another post in this forum talking about whether to split PWA and Project Sites into different content DBs (and therefore Site Collections) with Project 2010 or not. Even though I have read it I am still unclear as to whether or not I should do this and what the actual pros and cons are.
Thanks in advance for the replies.
Cheers,
David
- Edited by David Chadwick Monday, September 5, 2011 5:07 AM
Monday, September 5, 2011 4:57 AM
Answers
-
You can definitely deploy each site as its own site collection. I supported a 2007 implementation like that.
It's just a fair bit of administrative overhead as you either need to manually create a site as required - or script it with Powershell. Here're the instructions:
http://technet.microsoft.com/en-us/library/gg314583.aspx
Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky- Marked as answer by David Chadwick Saturday, October 8, 2011 2:44 AM
Monday, September 12, 2011 11:41 AM -
I confirm that the project sites can reside in different site collections from each other. The default site collection that the project sites get provision into is set in the server settings. For instance you can change the default SC at any time once it has reached a limit you have decided. I hope this helps.
Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page- Proposed as answer by Brian Smith - MSFTMicrosoft employee Friday, September 16, 2011 9:51 PM
- Marked as answer by David Chadwick Saturday, October 8, 2011 2:45 AM
Tuesday, September 13, 2011 7:58 AM
All replies
-
Here is a link for extracting PWA data from an existing content db. http://technet.microsoft.com/en-us/library/ee332323(office.12).aspx
One of the main reasons that people put the workspaces in a seperate site collection and content db is for disaster recovery / migration purposes.
- Proposed as answer by Brian Smith - MSFTMicrosoft employee Friday, September 16, 2011 9:52 PM
Tuesday, September 6, 2011 6:42 PM -
Hi,
Yes - I know.
My main issue is that the total size of our Project Sites is already pretty much the maximum. Project Sites (Workspaces in the old terminology) all exist as sub-Sites under a single Site Collection. Given that a Site Collection lives in a single content DB - this appears to create an inherent limitation with Project Server only ever being able to host a finite amount of Project Site content (roughly 150GB).
Surely Microsoft didn't build the product with this built-in limitation?
I can't find any guidance on splitting up Project Sites into multiple Site Collections so that they can be split across multiple content DBs (and if it is even supported).
Cheers,
DavidTuesday, September 6, 2011 8:54 PM -
Not sure if I can contribute anything meaningful to this discussion, buthere goes:1) The 2007 and 2010 recommendations are a bit different. That's becausein 2007, admins would often end up restoring the entire farm, building PWAas a new site collection, and then restoring the sites. Hence, in 2007,I would generally recommend all of the sites in one site collection and PWAin its own site collection (generally in different content DBs, but STSADMallowed you to move site collections around so it wasn't a big deal).2) In 2010, since PWA is now portable, it's not really a big deal to splitup PWA and the sites. It adds complexity which may/may not be required.3) The other scenario in 2007 was when each project site looked like it wouldhit 100GB or bigger. Then, a lot of folks would recommend splitting eachsite into its own site collection and then into its own database. The reasonfor that was simply the time it took to run a SQL backup, and that anythingbigger than 100GB couldn't get backed up or restored in a reasonable amountof time (say an evening or so).4) That too has changed a bit with SharePoint 2010, which has made greatprogress in facilitating the backup process. So now, even the 100GB ruleof thumb doesn't really apply - well sort of. There're a couple of blogposts out there on the topic, and this is the first one I found: http://blogs.msdn.com/b/markarend/archive/2010/05/18/sharepoint-2010-content-database-size.aspx.Chances are that your SQL admins will have their own policy as to a maximumcontent db size.Does that help any?
Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky- Marked as answer by Christophe FiessingerMicrosoft employee Friday, September 9, 2011 6:59 AM
- Unmarked as answer by David Chadwick Monday, September 12, 2011 6:26 AM
Wednesday, September 7, 2011 12:47 AM -
Hi Andrew,
Thanks for the reply - it helps a bit but it still doesn't answer my main query (which I've probably asked poorly).
I think I understand the pros and cons of splitting the PWA site into a seperate Site Collection and/or database.
My bigger concern is the Project Sites themselves.
The Project Sites (Workspaces in Project 2007) all live within a single Site Collection. This means they will always live in the same content database. This will grow endlessly over time as more and more projects are created and at some point the database will simply be too big.
I believe that we have already hit that point (150GB database). I would like it to remain at a managable size for backup purposes.
My main issue is that I have found no Microsoft guidance (or any other guidance actually) about splitting up Project Sites into multiple Site Collections. It is unclear to me how I would go about doing this and if it is even supported.
Is it supported? How is it done? What "problems" will it create?
Thanks again.
Cheers,
DavidMonday, September 12, 2011 6:26 AM -
David you can add content dbs per site collection to keep each at a manageable size so not sure what is the issue?
http://technet.microsoft.com/en-us/library/ff628582.aspx
Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product PageMonday, September 12, 2011 6:40 AM -
Hi Christophe,
No you can't.
You can add multiple content DBs per Web Application. You can then put different Site Collections in different content DBs, but a single Site Collection *always* exists in a single content DB.
This is the problem - given that all of the Project Sites exist under a single Site Collection, you can add as many content DBs to the Web Application as you like but the Site Collection will live entirely in a single content DB (and the other content DBs will be empty).
Cheers,
DavidMonday, September 12, 2011 7:32 AM -
Hi Christophe,
No you can't.
You can add multiple content DBs per Web Application. You can then put different Site Collections in different content DBs, but a single Site Collection *always* exists in a single content DB.
This is the problem - given that all of the Project Sites exist under a single Site Collection, you can add as many content DBs to the Web Application as you like but the Site Collection will live entirely in a single content DB (and the other content DBs will be empty).
Cheers,
DavidMonday, September 12, 2011 7:32 AM -
OK, I've reached out to the product group internally to get an answer.
Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product PageMonday, September 12, 2011 7:34 AM -
You can definitely deploy each site as its own site collection. I supported a 2007 implementation like that.
It's just a fair bit of administrative overhead as you either need to manually create a site as required - or script it with Powershell. Here're the instructions:
http://technet.microsoft.com/en-us/library/gg314583.aspx
Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky- Marked as answer by David Chadwick Saturday, October 8, 2011 2:44 AM
Monday, September 12, 2011 11:41 AM -
I confirm that the project sites can reside in different site collections from each other. The default site collection that the project sites get provision into is set in the server settings. For instance you can change the default SC at any time once it has reached a limit you have decided. I hope this helps.
Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page- Proposed as answer by Brian Smith - MSFTMicrosoft employee Friday, September 16, 2011 9:51 PM
- Marked as answer by David Chadwick Saturday, October 8, 2011 2:45 AM
Tuesday, September 13, 2011 7:58 AM -
Hi David, I think between the replies you have you should be able to take your current content and split it up - then you may need to use the relink option built in to Server Settings in 2010 to link them all back together with their respective Projects.
Best regards,
Brian.
Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product PageFriday, September 16, 2011 9:51 PM -
All,
The requester wants more than 1 Site Collection for Project Sites and he wants more than 1 content database for each site collection. Neither of which apparently SharePoint can do. However, for large numbers of Projects and associated Project Sites this will almost certainly be a necessity.
The Suggestion was that the PWA site collection and Project Sites site collection could be different and hence on different databases (even web apps). Fine. But not helpful, really, since that only gets us to two site collections. One very small and one that will potentially grow very large, too large.
What appears to also have been suggested was to create a separate site collection for very large project sites.
While this approach could work, it is administration intense and is bound to have issues related to PWA navigation, etc...and certainly not part of the Project Server 2010 PWA automatic Site Creation methodology. It also is after the fact and not really scalable. it would be possibe, but tricky to do this after the fact - moving it from one site collection to another - and then reset the URL in PWA Server Settings, could be done.
I would suggest something similar, but a bit more pragmatic...Thanks Bruce!
Create 1 new Site Collection for Project Sites (same web app) in a new content DB - use script.
Setup PWA to provision all new Project Sites to that new site collection. Maintains automatic site provisioning.
Monitor the size of the DB, when it reaches a reasonable limit (? 50GB ?) - repeat this process, create another site collection in a new DB - but change the PWA provisioning settings to have all new sites go to the new (next) site collection. Existing sites will still be found (keep the site collections in the same web app for continuity) and can have content added (I guess up to a point - monitor). Repeat as needed.
Another way I can conceive of is to create a fixed set of a small number of site collections (in the same web app) and manage the Project Site creation manually selecting which project site goes against which site collection. Division along some logical boundary such as Departments makes sense. But other divisions may be used. This could scale by simply adding more site collections at each department (HR-2), should any given department's DB grow too big. Then all the logically related Project Sites will hang off the site collection selected and be part of that database for that site collection for that "department" let's say.
just a variation of the above solution. Monitoring the DB size is key in both cases.
There may of course be caveats to any approach other than OOTB and all in 1 site collection, around navigation, web parts, solution starters, etc...some of which are addressed elsewhere. Of course, this is admin intensive but retains automatic provisioning for new sites. I believe it would work and meet the requirements for smaller DB's and multiple Site collections for PWA Project Sites and scale to thousands of project sites.
Thanks,
Eric S.
Eric S.
- Edited by ErockP3 Thursday, February 16, 2012 11:41 PM Credit to Bruce
Thursday, February 16, 2012 11:40 PM -
Hi Eric,
We did as you suggested but after configuring project sites in a different site collection other than PWA the web administrator(Project Web App Synchronized) security group does not gets synchronized. Users are not synced in this group if configure project sites to be created on different site collection.
Is this a bug or functional issue? Do we have any work around to resolve this issue.
Thanks,
Bhawna.
Tuesday, April 15, 2014 9:22 AM