SQL Server 2012 : Changes to system objects in RC0

As with every new major milestone, one of the first things I do is check out what has changed under the covers. Since RC0 was released yesterday, I've been poking around at some of the DMV and other system changes. Here is what I have noticed:

New objects in RC0 that weren't in CTP3

Quick summary:

  • We see a bunch of new aggregates for use with geography and geometry. I've stayed away from that area of programming so I'm not going to dig into them.
  • There is a new extended procedure called sp_showmemo_xml. The name could send me all over the place guessing whether it has something to do with Access, straight XML handling, or something else. This one doesn't seem to be documented in Books Online so, for now, I'm going to leave it alone.
  • The undocumented stored procedure sp_MSgetversion has returned. I observed previously that this procedure had been dropped, and brushed it aside – being undocumented and unsupported, it shouldn't be all that prevalent. Who knew that Microsoft's own replication code relied on it?
  • There are some new AlwaysOn DMVs and a validation stored procedure.
  • There is a new DMV and catalog view around Resource Governor, reflecting one of the changes I outlined last month.
  • By far the most interesting to me are the extended stored procedures around parallel nested transactions. Thus far these are undocumented and I would not be shocked if they remain so for the time being. I would hazard a guess as to what these are for but I don't want to sound like a fortune teller so, again, I'll leave them alone – for now.

New columns in existing DMVs

Some relatively self-explanatory new columns for the AlwaysOn and Resource Governor DMVs:

 

Columns that have changed definition

Several DMV columns have been expanded in size, except in the case of one, which was made smaller. These are all NVARCHAR columns:

 

Modules that have been modified

It's impossible to tell which modules have been modified since the previous CTP, since all but a few system and internal objects get a new create_date when a new build is produced. But at least for objects represented in sys.sql_modules, we can obtain a list of objects where the size of the definition has changed, meaning there may be some meaningful changes we want to investigate further. I definitely spot a few that I am going to check out more thoroughly:

         

Hope this information is useful. Let me know if you spot any under-the-cover changes I haven't noticed. 
 

Aaron Bertrand

I am a passionate technologist with industry experience dating back to Classic ASP and SQL Server 6.5. I am a long-time Microsoft MVP, write at Simple Talk, SQLPerformance, and MSSQLTips, and have had the honor of speaking at more conferences than I can remember. In non-tech life, I am a father of two, a huge hockey and football fan, and my pronouns are he/him. If I've helped you out, consider thanking me with a coffee. :-)

2 Responses

  1. rt says:

    fdsgsdfgd

  2. cinahcaM madA says:

    sp_begin_parallel_nested_tran ? That's intriguing…