馃毃 The Hidden Pitfall That Sabotages SQL Performance: Functions on Indexed Columns 馃搲

Introduction As data engineers and analysts, we rely heavily on SQL databases to store and query our data efficiently. To speed up our queries, we often create indexes on frequently filtered columns. However, there鈥檚 a common gotcha that can cause our queries to run slower than expected, even with appropriate indexes in place. In this post, we鈥檒l explore how applying functions to indexed columns in the WHERE clause can prevent SQL optimizers from utilizing those indexes effectively....

February 5, 2025 路 6 min 路 1250 words 路 Vesko Vujovic

DuckDB Inside Postgres: The Unlikely Duo Supercharging Analytics

DuckDB Inside Postgres: The Unlikely Duo Supercharging Analytics If you work in data engineering, you know that the field moves at a dizzying pace. New tools and technologies seem to pop up daily, each promising to revolutionize how we store, process, and analyze data. Amidst this constant change, two names have remained stalwarts: Postgres, the tried-and-true relational database, and DuckDB, the talented new kid on the block for analytics workloads....

October 30, 2024 路 9 min 路 1730 words 路 Vesko Vujovic