Marcin Kaczyński
Home
This Blog
All Tags All Posts

Recent posts

Let AI Find the Code Behind a SQL Query

Aug 22, 2025

2 mins read

AI SQL Performance Developer Productivity

A small, practical trick: use a local AI agent to find the code that generates a SQL query.

Continue reading

Scalar User Defined Functions Pitfalls

Dec 29, 2023

4 mins read

MSSQL Query Performance Advanced

In this post, we'll investigate how Scalar User Defined Functions affect SQL Server performance and explore solutions to mitigate these issues.

Continue reading

How to Measure Query Performance

Dec 26, 2023

7 mins read

MSSQL Query Performance

With this article you will find out how to correctly measure and compare SQL queries performance with IO STATISTICS.

Continue reading

Implicit Conversion From Incorrect ORM Mappings

Jun 16, 2023

7 mins read

MSSQL NHibernate .NET C# Query Performance

Incorrect ORM mapping can lead to significant performance issues, which can be difficult to diagnose and fix. One of the common problems related to mapping is the implicit conversion problem, which we'll focus on in this post. This issue can lead to scanning the entire table, we'll explore how to fix this by enforcing correct column mapping.

Continue reading

Stack Overflow Exception From Simple LINQ Operations

May 8, 2023

7 mins read

.NET C# Memory Dump Windbg

Stack overflow exception from LINQ deferred execution.

Continue reading

See all

Copyright © Marcin Kaczyński.
Powered by Hugo. Theme Ramium. | Privacy