SQL Service on LinkedIn
SQL Service

Tanken med denna blogg är att våra SQL server konsulter kan dela med sig av sina kunskaper när de stöter på roliga, svåra eller överraskande saker relaterade till SQL Server. På grund av att vi har en hel del besökare från andra delar av världen, är den mestadels på Engelska.

SQL server performance – Death by correlated subqueries

Skrivet den 23 februari i English ,Håkan Winther ,Level 400 ,SQL Server performance ,T-SQL Inga kommentarer

There are many different methods to kill SQL server performance and one of the most bullet proof methods is correleated subqueries. In this blog post I’ll try to explain what correlated subqueries are, why th…

Läs mer

Enable parallellism for specific query

Skrivet den 22 februari i English ,Level 400 ,SQL server 2008 ,SQL Server 2008R2 ,SQL server 2012 ,SQL Server performance ,Steinar Andersen ,T-SQL Inga kommentarer

Many times when we work with SQL Server based applications, we solve performance problems by adjusting parallellism settings to limit the genereration of parallell query plans. However, sometimes we need to do th…

Läs mer

SQL server – Auto update stats part 2

Skrivet den 16 februari i English ,Håkan Winther ,Level 400 ,SQL server 2008 ,SQL Server 2008R2 ,SQL Server performance Inga kommentarer

The last week I posted a blog about auto update stats and this is a sequal to that blog post. I case you haven’t read it you should read it first.

If you tried the script last week, you noticed that  :

  • the statistics d…
Läs mer

Optimizing performance of UPDATE STATISTICS

Skrivet den 14 februari i English ,Level 200 ,SQL server 2008 ,SQL Server 2008R2 ,SQL server 2012 ,Statistik ,Steinar Andersen Inga kommentarer

Recently while working on a TB size SQL Server database, I got the opportunity to verify something that I have suspected for some time, but not yet looked into properly. I am talking about how to optimize UPDATE STATIS…

Läs mer

Extended Stored Procedures

Skrivet den 10 februari i English ,Jan Nieminen ,Level 200 ,SQL Server allmänt Inga kommentarer

I guess most of you don’t use Extended Stored Procedures any more since we now can and should use CLR integration instead.

CLR integration has been around since version 2005 so this is old news, but, as a matter o…

Läs mer

SQL server – Auto update stats part 1

Skrivet den 10 februari i English ,Håkan Winther ,Level 400 ,Okategoriserade ,SQL Server performance ,Statistik ,T-SQL 1 kommentar

In the last couple of weeks I’ve been helping one of our clients with some performance issues in a stored procedure. Somedays it works well and somedays it doesn’t.

After some investigations I found two…

Läs mer

Improving Performance by not querying the database?

Skrivet den 7 februari i English ,Level 300 ,SQL server 2008 ,SQL Server 2008R2 ,SQL server 2012 ,SQL Server performance ,Steinar Andersen Inga kommentarer

Did you ever think that it would be great to cache SQL Server database query results, and only go back to query the database when data has changed? Well, you can do that, using Query Notifications.

Query notifications…

Läs mer

A SQL Azure tip a day (22) – Compatibility assessment

Skrivet den 5 februari i English ,Håkan Winther ,Level 200 ,SQL Azure Inga kommentarer

If you consider to migrate your database into SQL Azure you need to know if your database is compatible. In SQL Azure Labs you find an experimental cloud service called SQL Azure compatibility Assessment.

To test you…

Läs mer
Page 1 of 1912345»10...Last »

COPYRIGHT SQL Service | Strandbergsgatan 61, 112 51 Stockholm

Hemsida av webbdesigner på Grafix Studio