Skip to content
ITNotes ITNotes

From Terminal to Cloud

  • AI
  • DevOps
  • HomeLab
  • Linux
  • Networking
  • Programming
  • English
    • English
    • Tiếng Việt
    • 日本語
  • AI
  • DevOps
  • HomeLab
  • Linux
  • Networking
  • Programming
  • English
    • English
    • Tiếng Việt
    • 日本語
Home » Database Design
Database tutorial - IT technology blog
Posted inDatabase

ERD Design with dbdiagram.io: From Concept to Auto-Generated SQL

June 24, 2026
Jumping straight into SQL without a plan leads to messy schemas that are painful to refactor later. This guide walks through designing an ERD with dbdiagram.io using DBML syntax, then automatically exporting production-ready SQL — no boilerplate required.
Read More
Database tutorial - IT technology blog
Posted inDatabase

PostgreSQL Database Design Patterns: Polymorphic Association vs EAV vs JSONB for Flexible Schema

June 13, 2026
Comparing Polymorphic Association, EAV, and JSONB in PostgreSQL for flexible schema design — from a real 2 AM production incident. Includes migration guide from EAV to JSONB and practical code examples.
Read More
Database tutorial - IT technology blog
Posted inDatabase

Soft Delete Pattern in Database: Safe Record Deletion, Recovery, and Index Optimization with PostgreSQL and MySQL

May 21, 2026
Soft delete pattern lets you mark records as deleted instead of physically removing them — enabling safe recovery, audit trails, and GDPR-compliant data retention. This guide covers practical implementation in PostgreSQL and MySQL, including partial indexes, unique constraint handling, and cleanup strategies.
Read More
Database tutorial - IT technology blog
Posted inDatabase

PostgreSQL Multi-tenancy: Choosing Between Schemas and RLS for Your SaaS

April 20, 2026
How do you ensure data isolation in a SaaS app? We compare PostgreSQL Schema-based isolation and Row-Level Security (RLS) with concrete examples and performance tips.
Read More
Database tutorial - IT technology blog
Posted inDatabase

Scaling PostgreSQL to Billions of Rows: A Practical Guide to Partitioning

April 12, 2026
Scale your PostgreSQL database effectively. This guide covers range, list, and hash partitioning with practical code examples and automation strategies for billion-row tables.
Read More
Database tutorial - IT technology blog
Posted inDatabase

Database Normalization: From ‘God Tables’ to Clean Architecture (1NF to 3NF)

March 31, 2026
Transform messy 'God Tables' into efficient database schemas. Learn the practical steps to reach 1NF, 2NF, and 3NF with SQL examples and real-world trade-offs.
Read More
Copyright 2026 — ITNotes. All rights reserved.
Privacy Policy | Terms of Service | Contact: [email protected] DMCA.com Protection Status
Scroll to Top