Does anyone have any best practices they can share with regards to storing XML field type data in SQL Server 2008? We have lots of small XML structures, yet some larger (>50MB). We’re finding that things get a little slow on DELETE. Any advice/war stories would be appreciated.
Share
Another vote for outside the database.
In the past, I’ve used an approach similar to what James recommends, but SQL Server 2008 supports a new FILESTREAM storage option, which can store varbinary(max) columns outside the database on NTFS, and might be worth looking into.
SQL Books Online has a lot of good information, starting with “FILESTREAM Overview”.