db-Berater GmbH
  • Home
  • Services
  • Workshops 
  • Referenzen
  • Blog
  • Download
  • Kontakt
Seite wählen

Pleasant side effect of EXISTS vs. JOIN

von Uwe Ricken | Jan. 3, 2025 | DB Engine, Indexierung, SQL Blog, Tipps und Tricks

This blog post was inspired by a post by Eric Darling on LinkedIn, where he shared his video on the topic of [NOT] EXISTS. A pleasant side effect of using EXISTS over JOIN concerns automatically created statistics in Microsoft SQL Server. Task description Find all...

Temporary Table or Table Variable, that is the question.

von Uwe Ricken | Dez. 28, 2024 | DB Engine, Optimierung, SQL Blog, Statistiken, Tipps und Tricks

Which technique do you prefer when you create a stored procedure and need to work with temporary data? We know there is no definitive answer to this, but there are workloads where a Table Variable is always preferable to a Temporary Table. Workload The stored...
Optimize search for a random key value from a table

Optimize search for a random key value from a table

von Uwe Ricken | Nov. 20, 2024 | DB Engine, Optimierung, SQL Blog, Tipps und Tricks

Unit tests/demos in workshops and conference sessions sometimes require a random key value from an existing table. In this article I present a solution that accomplishes this task quickly and in a resource-efficient manner. Why an existing – random – key?...
LOB Daten und nonclustered indexes

LOB Daten und nonclustered indexes

von Uwe Ricken | Sep. 9, 2024 | Administration, DB Engine, SQL Blog, Tipps und Tricks

Wenn es um die Speicherung von „Large Object Data“ in Microsoft SQL Server geht, gehen viele Entwicklungen in die falsche Richtung. Applikationen speichern Dokumente, Bilder, .. immer noch IN der Datenbank. Microsoft stellt dazu die Datentypen...
Technischer Firlefanz in sozialen Netzen – #1

Technischer Firlefanz in sozialen Netzen – #1

von Uwe Ricken | Feb. 26, 2024 | DB Engine, Informationen, SQL Blog, Statistiken, Tipps und Tricks

Ich benutze regelmäßig das berufliche Netzwerk LinkedIn, um mich mit Kollegen auszutauschen oder um innovative neue Ideen, Tipps und Tricks von geschätzten Kollegen in meinem Netzwerk zu erhalten. Viele Beiträge in meinem persönlichen Feed verweisen dann auf...
Deadlock durch ungeeigneten Index

Deadlock durch ungeeigneten Index

von Uwe Ricken | Feb. 20, 2024 | DB Engine, Optimierung, SQL Blog, Tipps und Tricks

Deadlocks kennt fast jeder DBA, der täglich Datenbanken betreuen muss. Der klassische Deadlock wird – meistens – durch falsche Aufrufe von Prozessen verursacht. Diese Art von Deadlocks sind schnell und relativ einfach zu lösen. Wie aber sieht es aus, wenn...
« Ältere Einträge

db SQL Blog

  • Table Hint UPDLOCK and LOCK ESCALATION
  • Auto Update Statistics and Trivial Execution Plans
    Execution process of trivial plans with simple parameterization
  • When „Auto Update Statistics“ will not update your statistics
  • Is SWITCH PARTITION a bad idea?
  • Pleasant side effect of EXISTS vs. JOIN
  • INDEX REBUILD is not FREEPROCCACHE
  • Automatically Created Statistics – know the caveats
  • Temporary Table or Table Variable, that is the question.
  • AUTO_UPDATE_STATISTICS and thresholds
  • Helper function for determining the update threshold for statistics
  • Partitioning and LOCK_ESCALATION = AUTO
  • The role of a DBA is NOT Tuning but Operations
  • Foreign Key Constraints – JOIN Elimination
  • Foreign Key Constraints – Part II
  • Use Foreign Key Constraints in your Databases – Part I
  • Datenschutzerklärung
  • Impressum
  • Sitemap
  • Download
  • RSS

db Berater GmbH | | Büchenweg 4 | 64390 Erzhausen | Phone: +49 (0) 6150 5082955 | E-Mail: info@db-berater.de Amtgericht Darmstadt: HRB86305 |    Umsetzung