20 Guides · Databases

Database Tutorials

In-depth guides on Hibernate ORM, SQL Server performance and administration, database migration from legacy systems, MongoDB vs PostgreSQL trade-offs and distributed database patterns.

Hibernate ORM

Intro

Hibernate for Senior Developers: Advanced ORM Guide

Comprehensive Hibernate guide for experienced developers: Session management, entity states, criteria API, native queries and architectural patterns.

Read guide →
Tutorial Series

Complete Hibernate Tutorial Series

Step-by-step Hibernate tutorial: configuration, mappings, relationships (OneToMany, ManyToMany), HQL, criteria queries and best practices.

Read guide →
Learning Roadmap

Hibernate Learning Roadmap

Structured path from Hibernate beginner to expert — what to learn, in what order, with resources and milestones for each level.

Read guide →
Caching

Hibernate Caching Strategies

First-level and second-level cache, query cache, Ehcache and Redis integration, cache regions and eviction strategies for high-throughput apps.

Read guide →
Performance

Hibernate Performance Optimization

N+1 query detection and fixes, batch fetching, fetch strategies, connection pool tuning, slow query logging and profiling with Hibernate Statistics.

Read guide →
Enterprise Patterns

Hibernate Enterprise Architecture Patterns

Repository pattern, Unit of Work, multi-tenancy strategies, soft deletes, audit logging with Envers and domain-driven design with Hibernate.

Read guide →
Migration

Hibernate Migration Guide

Upgrading Hibernate 5 to 6, breaking changes, Jakarta EE namespace migration, deprecated API replacements and Flyway schema migration patterns.

Read guide →

SQL Server

Install

Install SQL Server, SSMS and Azure Data Studio

Step-by-step download and install guide for SQL Server, SQL Server Management Studio and Azure Data Studio on Windows.

Read guide →
Playground

SQL Server 2017 Complete Playground

All major SQL Server topics with ready-to-run scripts: DDL, DML, indexes, views, stored procedures, triggers and window functions.

Read guide →
Performance

SQL Server Query Performance Tuning

Reading execution plans, index seek vs scan, missing index hints, query rewrites, statistics updates and query store analysis.

Read guide →
Always On AG

SQL Server Always On Availability Groups

Setup, configuration and monitoring of Always On AG — replica types, automatic failover, listener configuration and health checks.

Read guide →
Backup & Recovery

SQL Server Backup and Recovery Strategy

RPO and RTO planning, full/differential/log backup schedules, Ola Hallengren scripts, restoring databases and disaster recovery testing.

Read guide →
Version Migration

SQL Server Version Migration Guide

Migrating between SQL Server versions: compatibility levels, deprecated features, data loss prevention, testing strategy and rollback plan.

Read guide →

Legacy Database Migration: CapLease Finance Case Study

Schema Design

Designing a Legacy Asset Finance Database

4GL to SQL Server 2019 schema migration: entity mapping, normalisation decisions and handling Progress 4GL data type quirks.

Read guide →
COBOL Integration

COBOL VISION Files and SQL Server

Reading COBOL VISION flat files with copybook definitions, mapping PICTURE clauses to SQL types and loading via SSIS or bcp.

Read guide →
FK Strategy

No Foreign Keys: Application-Managed Relationships

Why legacy systems skip FK constraints, risks of application-managed referential integrity and a migration strategy for adding FK validation.

Read guide →
Migration Plan

Migrating DemoBank Finance: Legacy to SQL Server

End-to-end SSIS migration plan for a Progress 4GL finance system — extraction, transformation, load validation and cutover strategy.

Read guide →
Before vs After

Before vs After: Legacy Finance Database Modernisation

Benchmark comparison of Progress 4GL vs SQL Server 2019 — query speed, reporting capability, maintenance cost and developer experience.

Read guide →

NoSQL and Distributed Databases

Comparison

MongoDB vs PostgreSQL 2026

When to use document vs relational storage — real benchmarks, schema flexibility, ACID compliance, scaling and total cost of ownership.

Read guide →
Distributed

Distributed Databases and CRDTs

CAP theorem, eventual consistency, CRDT data structures, Redis, Riak and Akka — building conflict-free distributed data systems.

Read guide →