Skip to main content

Cloud

Comparing SharePoint 2007 and 2010 Content Databases

It’s no secret that you are not supposed to touch SharePoint databases but there certainly are some scenarios which would tempt you to at least read from them; mostly for performance reasons. For example, if you want to do some kind of reporting with data pulled from lists spread over 15K sites, it’s not a terrible sin to read from content database directly. So, if in any shape or form your code is interacting with database directly you have some work to do to make it work in 2010. It shouldn’t be a surprise that SQL boys in Redmond campus have tweaked the SharePoint 2010 databases.

I did a SQL compare of 2007 and 2010 content databases and here’s my findings:

Identical Tables (9):

  • BuildDependencies
  • DiskWarningDate
  • EventBatches
  • GroupMembership
  • HT_Settings
  • RoleAssignment
  • SiteVersions
  • WebMembers
  • WelcomeName

New Tables (16):

  • AllFileFragments
  • AllListsAux
  • AllListsPlus
  • AllListUniqueFields
  • AllLookupRelationships
  • AllWebParts
  • CustomActions
  • Resources
  • SharedAccessRequests
  • SiteDeletion
  • SolutionResourceUsageDaily
  • SolutionResourceUsageDailyOrdinal
  • SolutionResourceUsageLog
  • SolutionResourceUsageWindowed
  • Solutions
  • WebsPlus

Dropped Tables (4):

  • Categories
  • Image0x
  • WebCat
  • WebParts

Rest of the tables, 78 of them, have their schema modified. So, as you can see, pretty much every table has been re-done. Start making your changes to get ready for 2010. Good times.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Raja Ayyapusetty

Raja is a software consultant with over 9 years of experience in designing, developing and testing complex solutions using Microsoft technologies. Throughout his career he has worked primarily on SharePoint and .NET technologies. Raja has worked with SharePoint since the 2003 version and has deep understanding of its features and capabilities. Raja is also a certified Sitecore developer.

More from this Author

Follow Us