Przygody z oprogramowaniem
  • Start
  • Szkolenia
    • Szkolenia otwarte
    • Katalog szkoleń
  • Usługi
    • Konsulting
    • Mentoring
    • Research & Development
  • Blog
  • Wiedza
    • Strefa wiedzy
    • BFsharp
    • SaaS
  • Klienci
  • Kontakt
0

SQL Editions Testing

1 June, 2009-SQL

Remember to test your applications not only using SQL Server Developer Edition. Check how it is working under different editionsversions.

Today I was helping one team to speedup a mysterious long running report. Under local testing environment the report took about 90 seconds to complete. However at the client site, it was unable to complete (it was stopped after 30 minutes or so). It was the same database and better hardware. Report seemed very simple – several joins, several aggregates and one big non-correlated subquery (joins and except).

It turned out to be the suboptimal plan generated by standard edition. The query was split, subquery saved to a temp table and then used in the outer query. Running time: 30 seconds.

Kategorie

Architecture BFsharp Blog Business Framework C# CqRS DDD Debugging DSL EntityFramework Formula JavaScript Linq NHibernate SaaS Silverlight SQL Visual Studio WPF Wzorce

O mnie


RSS Feed

© macmichal.pl 2011 Wszystkie prawa zastrzeżone

Używamy ciasteczek, jeśli kontynuujesz zwiedzanie strony, zakładamy, że wyrażasz zgodę na ich używanie.RozumiemCzytaj więcej