SQLpassion BLOG

Understanding Text Data Types in PostgreSQL and SQL Server

When working with PostgreSQL, understanding its text data types is essential, especially for those coming from a Microsoft SQL Server background. While both database systems support text storage, they handle it in fundamentally different ways. PostgreSQL provides several text-related data types, each with its own purpose and behavior, and understanding their nuances can help avoid …

Understanding Text Data Types in PostgreSQL and SQL Server + read more

Understanding Query Plan Caching in PostgreSQL and How It Differs from SQL Server

When it comes to database performance, query execution planning is one of the most critical factors. Every time a database receives a query, it must decide how to execute it in the most efficient way possible. This decision making process – known as query planning – can be expensive in terms of computation time, especially …

Understanding Query Plan Caching in PostgreSQL and How It Differs from SQL Server + read more

Understanding Fill Factor in SQL Server and PostgreSQL

When it comes to fine-tuning database performance, small settings often make a big difference. One such setting – frequently discussed but not always fully understood—is the fill factor. Both SQL Server and PostgreSQL support this concept, yet they approach it differently. If you’re managing databases in either of these systems, understanding how fill factor works can …

Understanding Fill Factor in SQL Server and PostgreSQL + read more

Online Recording: Exploring PostgreSQL for SQL Server Developers and DBAs

On January 9 I have done an online presentation about Exploring PostgreSQL for the SQL Server Developers and DBAs for the Cloud Data Driven User Group. You can find the recording of the whole session (around 105 minutes) here to watch: If you’d like to explore the differences between SQL Server and PostgreSQL in greater depth, …

Online Recording: Exploring PostgreSQL for SQL Server Developers and DBAs + read more

Understanding Concurrency Control in SQL Server and PostgreSQL: A Comparative Analysis

Concurrency control is a cornerstone of database management systems, ensuring data consistency and integrity when multiple users access or modify data simultaneously. SQL Server and PostgreSQL implement concurrency control differently, reflecting their distinct architectural philosophies. In this blog post, I will explore the concurrency methods used by these systems, focusing on the methods of pessimistic …

Understanding Concurrency Control in SQL Server and PostgreSQL: A Comparative Analysis + read more