About:

Radim Marek is a consultant and educator passionate about SQL and PostgreSQL, offering resources and insights to help developers master these technologies.

Website:

Specializations:

Interests:

SQL PostgreSQL Application management Educational resources

Outgoing Links:

brandur.org
Subscribe to RSS:
The text explains the complexities of working with time in PostgreSQL, including the differences between timestamp and timestamptz, time zones, time functions, intervals, and timestamp ranges. It provides examples and practical us...
The text discusses the power of database VIEWs and how they can make developers' lives easier by organizing and reusing common logic. It also explores how PostgreSQL can optimize these views through a process called 'inlining', ma...
The article discusses the complexities of DELETE operations in databases, the impact of DELETEs on database performance, and strategies to handle DELETE operations effectively. It explains the intricacies of DELETE commands, the r...
The text discusses the use of text identifiers in PostgreSQL database design, highlighting the reasons for and against using them, and strategies for using them effectively. It emphasizes the need for a balance between leveraging ...
The article discusses the use of ENUMs in PostgreSQL, highlighting the improvements in support over the years. It explains how ENUMs are implemented, their lifecycle, and limitations. It also explores using CHECK constraints and r...
The article discusses the MERGE command in PostgreSQL, comparing it with traditional upsert methods and examining how it can streamline database operations. It provides practical examples and explains how MERGE can simplify comple...
This article provides a gentle introduction to window functions in PostgreSQL, explaining their importance in analyzing data and their differences from aggregate functions. It covers the syntax, components, and practical applicati...
The article discusses the importance of job scheduling in PostgreSQL and explores two distinct PostgreSQL-specific tools for scheduled task automation: pg_cron and pg_timetable. It compares the features of both tools and provides ...
The text is the third part of a series called 'Deep Dive into PostgREST' and focuses on authentication and authorization options. It discusses using pgcrypto extension for password hashing, JWT authentication, and fine-grained aut...
The article explores the pgrx framework, which simplifies the creation of custom PostgreSQL extensions using Rust. It discusses the system load average and how to create a PostgreSQL extension with a function called sys_loadavg() ...
The text is a detailed guide on using PostgREST to create a dedicated API schema for a 'Time Off Manager' application. It covers setting up the schema, creating views, implementing business logic, and managing workflow for time of...
The text is a detailed guide on building a Time Off Manager application using postgREST, focusing on the application logic and exposing raw data. It covers creating a database, setting up the users model, exposing users using post...
The text discusses the complexities of changing a column type in PostgreSQL, highlighting the discrepancy between practice and theory, and the challenges involved in the process. It provides a step-by-step guide to properly change...
The article discusses the challenges of table bloat in PostgreSQL databases and compares two solutions, pg_repack and pg_squeeze, to help users decide which one is better for their specific use case. It explains the limitations of...
The author reflects on their past perception of databases as boring and unnecessary, and how they have come to appreciate the reliability and importance of databases, particularly PostgreSQL. They emphasize the enduring significan...
The text explains why PostgreSQL indexes might be ignored, including cases of missing conditions, the importance of column order, low selectivity, and outdated statistics. It emphasizes the need for thoughtful implementation and m...