November 26, 2012 at 3:19 am
All,
what are all the new "Optimization Techniques" available in SQL 2012 which is not available in SQL 2008?
karthik
November 26, 2012 at 7:33 am
There are lots and lots of new things in SQL Server 2012. Here's a fairly complete listing. What specifically are you after?
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
November 26, 2012 at 3:09 pm
karthik M (11/26/2012)
All,what are all the new "Optimization Techniques" available in SQL 2012 which is not available in SQL 2008?
On the new T-SQL optimization I highly recomend Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions by Itzek Ben-Gan. There are some powerful new Windows functions in the 2012 version of T-SQL; this book details them quite nicely with some awesome examples.
-- Itzik Ben-Gan 2001
November 26, 2012 at 10:03 pm
say for example,
I have a procedure in SQL 2008 & 2012.
If I fine tune the procedure in SQL 2012, I would know what are all the new "Optimiztion Techniques introduced in Sql 2012 which is not available in sql 2008".
karthik
November 26, 2012 at 10:21 pm
karthik M (11/26/2012)
say for example,I have a procedure in SQL 2008 & 2012.
If I fine tune the procedure in SQL 2012, I would know what are all the new "Optimiztion Techniques introduced in Sql 2012 which is not available in sql 2008".
But you would't necessarily find out that some of the new functions are slower than some of the tricks people had to pull to get the same job done in 2005 and 2008. For example, the 2012 SUM widowing function for doing running totals is still quite a bit slower than the Quirky Update (an admittedly unsupported feature).
Because of that, I'm not sure I'd refer to such functions as "optimizations". "Feature additions", sure. But not "optimizations". The new "Selective XML Indexing" could also be perceived as an "optimization" because it allows for faster indexing and takes less space than standard XML indexing. Of course, if you really want to save some space, normalize the data to get rid of the tag bloat and index it properly. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2012 at 10:56 pm
But you would't necessarily find out that some of the new functions are slower than some of the tricks people had to pull to get the same job done in 2005 and 2008
Thats True. I agree your point 🙂
For example, the 2012 SUM widowing function for doing running totals is still quite a bit slower than the Quirky Update (an admittedly unsupported feature).
oh..Really !!!
"Quirky Updates" still Win & Run in the market. I think it is a horse with 6 legs 🙂
karthik
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply