Database & Persistence8 min read2026

Relational Modeling & Query Optimization: SQL Server & PostgreSQL Lessons

Key lessons from a decade of production databases: indexing strategies, ACID transaction boundaries, and stored procedure optimization.

Frontends are only as fast as the queries backing them. In transactional software with thousands of inventory items and financial installments, bad query plans degrade the entire user experience.

Lessons learned: maintain selective indexes on foreign keys and tenant columns, wrap multi-table state transitions in explicit ACID transactions, and utilize stored procedures for mission-critical batch operations in SQL Server.

NG
Ing. Noé González Mendoza
Senior Software Engineer with 10+ years of software engineering experience, specialized in Full Stack development with React, Next.js, Node.js, multi-tenant SaaS platforms, and relational database systems.

Interested in discussing these engineering patterns?

I am available for remote Senior Software Engineer roles where engineering rigor and real-world system architecture matter.

Recruiter Quick ScanLinkedIn Profile← All Notes