Performance Aaron Bertrand in Performance Normalize strings to optimize space and searches While this article is specifically geared to SQL Server, the concepts apply to any relational database platform. The Stack Exchange... 02 October 2023 9 min read
T-SQL Programming Itzik Ben-Gan in T-SQL Programming T-SQL Fundamentals: Controlling Duplicates When people start learning a new field, for example T-SQL, it’s tempting to spend very little time trying to understand... 28 September 2023 20 min read
MySQL Robert Sheldon in MySQL MySQL joins Executive Summary MySQL joins combine rows from two or more tables based on related column values. This article covers all... 25 September 2023 27 min read
Database Administration Adrien Muhlemann in Database Administration Analyze and Tune SQL Server Statistics Over the years, SQL Server Statistics have been discussed in countless blog posts, articles, and presentations, and I believe that... 22 September 2023 34 min read
T-SQL Programming Drupal Grupal in T-SQL Programming Alternatives To SQL Server 2022 Built-in function GREATEST If you haven’t already heard, SQL Server 2022 introduced a new built-in system function called GREATEST. Simply put, it is... 18 September 2023 14 min read
MySQL Robert Sheldon in MySQL Working with MySQL constraints MySQL provides a set of constraints that you can include in your table definitions to help ensure the integrity of... 07 September 2023 30 min read
MySQL Muhammed Ali in MySQL Orchestrating a MySQL Container on Kubernetes If you’ve been using MySQL for a while and want to learn how to orchestrate MySQL containers, you’ve come to... 05 September 2023 9 min read
MySQL Aisha Bukar in MySQL A Beginners Guide to MySQL Replication Part 5: Group Replication MySQL Group replication is a remarkable feature introduced in MySQL 5.7 as a plugin. This technology allows you to create... 28 August 2023 7 min read
Blogs Louis Davidson in Blogs Yet Another Reason to Not Use sp_ in SQL Server Object Names In 2012, Aaron Bertrand said most everything I knew (and a bit more) about the issues with using the sp_... 25 August 2023 6 min read
PostgreSQL Grant Fritchey in PostgreSQL Introducing VACUUM: Learning PostgreSQL With Grant While there are many features within PostgreSQL that are really similar to those within SQL Server, there are some that... 21 August 2023 11 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Working around schema drift in SQL Server At Stack Overflow, our environment has multiple implementations of a largely – but not 100% – identical schema. (By “schema,”... 14 August 2023 10 min read
PostgreSQL Mohan Saraswatipura in PostgreSQL Database Concurrency in PostgreSQL Concurrency control is an essential aspect of database systems that deals with multiple concurrent transactions. PostgreSQL employs various techniques to... 11 August 2023 19 min read
Blogs Aisha Bukar in Blogs A Beginners Guide to MySQL Replication Part 4: Using GTID-based Replication Welcome back to another replication series! As a quick reminder, we explored various methods of using MySQL’s replication capabilities in... 08 August 2023 11 min read
PostgreSQL Henrietta Dombrovskaya in PostgreSQL What Is an Execution Plan and How to Find It in PostgreSQL In the last blog (When PostgreSQL Parameter Tuning is not the Answer), we compared several execution plans for a SQL... 07 August 2023 13 min read
Blogs Ben Johnston in Blogs SQL Server Row Level Security Deep Dive. Part 1 – Introduction and Use Cases My initial goal of documenting and exploring SQL Server Row Level Security (RLS) was to show the basic functionality and... 01 August 2023 17 min read
Database Administration Edward Pollack in Database Administration Running Queries Across Many SQL Server Databases Running T-SQL across multiple databases on a SQL Server instance is a common DBA task – health checks, object searches,... 31 July 2023 15 min read
MySQL Robert Sheldon in MySQL MySQL SELECT INTO OUTFILE: Export Data to CSV/Text Complete guide to MySQL SELECT INTO OUTFILE for exporting query results to CSV, TSV, and text files. Covers syntax, FIELDS... 27 July 2023 22 min read
PostgreSQL Grant Fritchey in PostgreSQL Querying PostgreSQL: Learning PostgreSQL with Grant Writing queries to retrieve the data from a database is probably the single most common task when it comes to... 24 July 2023 9 min read
MySQL Lukas Vileikis in MySQL Optimizing Queries in MySQL: Optimizing Updates In the previous parts of these MySQL optimization series, we’ve told you how queries work on a high level, then... 20 July 2023 11 min read
Blogs Aisha Bukar in Blogs A Beginners Guide to MySQL Replication Part 3: Multi-Source Replication Welcome back to the world of MySQL Replication! If you’ve been following this series, thank you for your support! And... 18 July 2023 11 min read