CHDS

Explore Our Tech Thinking

Stay updated with the latest trends and tips in CHDS.

MigratingSQLServerToPgSQL-CrossTypeEqualit

Handling Cross-Type Equality in SQL Server to PostgreSQL Migration with Custom Operators

Migrating a database from SQL Server to PostgreSQL introduces some key differences, particularly in how the systems treat comparisons between mismatched types such as text, varchar, integer, and timestamp. SQL Server is liberal in allowing these comparisons through implicit casts, whereas PostgreSQL is more strict but often still allows common cases via its own casting rules.

Google Cloud Engineering

A Practical Guide to Data Engineering with Google Cloud

If you’re new to Google Cloud or you’ve only used one or two services, it can feel like there are a lot of moving parts. The good news: Google Cloud’s data stack is opinionated, integrated and battle-tested. This post maps the landscape so you can pick the right tools for ingestion, storage, processing, orchestration, governance, and analytics without getting lost in product sprawl.

Sep 27, 2025

SQL Google Cloud

From Legacy to Leading Edge: The Case for CloudSQL on Google Cloud

Modern businesses are under constant pressure to lower costs, boost performance, and stay agile in a rapidly changing environment. Traditional, on-premise databases—though dependable—struggle to scale and adapt to these new demands. CloudSQL on Google Cloud offers a powerful solution, enabling enterprises to leave legacy systems behind and embrace a flexible, cloud-native future.

Sep 19, 2025

Website

The Dynamic Filtered Indexes

I have struggled with one client on queries that were dealing with date ranges or type ranges or many filters, on very large tables with low density in many cases, and you knew one index would really improves it but it was based on some filter that was undeterministic.

Feb 20, 2020

Monitor SQL server jobs

How to Monitor Your SQL Server Jobs

When the company’s organization become large and production database servers have hundreds of jobs running with different schedule, the DBA might lose track of what job must be run successfully and in a timely matter.

Jan 28, 2020

Excel

SQL Server: Use of Views and Filtered Indexes

I have been working lately with several companies, within Ecommerce, telecommunications and payments industries and they all had a team that needed to work on looking at last week or last month invoicing and ordering from clients.

Feb 13, 2019

Purging data

SQL Server: Purging Data Using Switch Out

On very large database tables, most of my clients have decided to archive the data by extracting them first and then purging old data based on a Date column using something like :

Nov 04, 2018

Centerlized database

Should You Shard or Centralize Your Database ?

Nowadays, business tends to get very big database very quickly and they usually need to find ways to manage functionally and physically data in a more efficient matter, both for security and performance reasons.

Sep 07, 2018

Encrypted

Phase 2: AE and Search Patterns

This time, I implemented the same code but with encryption and hashing, encryption with a symetric key for the email addresses and hashing for the dictionary.

Jul 04, 2018

GDPR

Phase 1: AE and Search Patterns

As I was saying in an earlier article, Always Encrypted is a key element of the GDPR compliance implementation: how to encrypt and be able to search the personal data.

Jul 01, 2018

Database management

Data vs Database management

I wrote this article a few years ago nothing a change in paradigm where data was more important than database.

Jan 01, 2018