Full web-app lesson: Nginx → PHP-FPM → C# → SQL Server

PHP renders this page from API responses. Inventory is real lab data; the B+ tree diagram is a C# teaching model, not a view of actual SQL Server pages.

Reservation and undo buttons change shared demo inventory. Insert and reset change the shared tree model. Quote buttons only explain a policy decision; they send no email. Trace a read-only request first →

⚡ Interactive 8,192-Byte (8 KB) B+ Tree & Page Split Teaching Model

Left column inside each Leaf Page = 128-Byte Physical Rows (Arrival Order ↓) · Right column = 2-Byte Slot[] Pointers (Sorted Order ↑) · Crossed glowing wires = Pointer Indirection!
ONE-CLICK PAGE SPLIT DRILL:
Initialized Page #10 with 3 out-of-order inserts ('00500' at Byte 96, '00100' at Byte 224, '00300' at Byte 352). Notice how the 128B rows stay where they landed, while the 2B Slot[] array at Bytes 8186..8190 sorts them! Insert 2 more SKUs to trigger a PAGE SPLIT!

Scroll horizontally to inspect the simulated pages and pointers.

ROOT INDEX PAGE #0 (VSAM INDEX SET | 8,192 BYTES) — GROWS UPWARD ON SPLIT ALL SKUs (No Split Yet) ↓ Jump Page #10 LEAF PAGE #10 (3/4 Slots) Bytes 0..95 (96B Hdr) | FreeTop: 480 | NextPage: NULL ↓ PHYSICAL 128B ROWS (Arrival Order) ↑ 2B SLOT[] (Sorted) Byte 96..223 SKU '00500' Byte 224..351 SKU '00100' Byte 352..479 SKU '00300' Slot[0] (@Byte 8190) →224 ('00100') Slot[1] (@Byte 8188) →352 ('00300') Slot[2] (@Byte 8186) →96 ('00500') FREE 8KB WORKBENCH SPACE: Bytes 480..8185 7,706 / 8,192 Bytes Unallocated (Slot Fill: 75%)

Live SQL Server 2025 Catalog (dbo.Products)

Real-time rows backed by lab_warehouse_sql · Active Projection: SLEDS
Pages ÷ 9:
SKU Description Depot / Media Public Price / MAP Gate VSAM CI Stock Tech Dispatch Net Allocatable Expediter Action
SLDS-9200 (00125) Xerox 9200 Duplicator Field Wiring Schematic ROCHESTER / MANUAL $22.99 120 50 70
SLDS-9700 (00126) Xerox 9700 Laser Printing Optics & Fuser Doc EL SEGUNDO / FICHE $19.99 50 0 50
SLDS-ALTO (00127) Xerox PARC Alto 3Mbps Ethernet Service Spec XEROX PARC / BINDER $14.50 300 50 250
SLDS-VSAM (00128) IBM OS/VSAM KSDS Control Interval Spec SUN-BASMARK / TAPE
150 0 150
SLDS-CISAM (00129) Informix C-ISAM B+ Tree (.dat/.idx) Manual UNIX SYS-V / MANUAL $21.70 90 0 90
SLDS-1075 (00412) Xerox 1075 Marathon Copier Logic Board Guide WEBSTER NY / FICHE $3.49 800 100 700
1937-RON (1937-RON) Ronald Platten 1978 Master SLDS Source Tape PLATTEN GEN1 / REEL
1998 0 1998
SLDS-PROBE (40001) Xerox Field Tech Oscilloscope & Logic Kit XEROX GLOBAL / CASE $52.00 15 5 10

Zone 2 SQL Quarantine (Batch #2)

5 Poison CSV Rows Blocked from dbo.Products
CSV LineSKUCostQuarantine Reason
#5 40001 38.00 REJECT_DUPLICATE_SKU_IN_FEED
#6 40001 41.00 REJECT_DUPLICATE_SKU_IN_FEED
#7 00130 -12.00 REJECT_NEGATIVE_OR_ZERO_COST
#8 00131 PENDING REJECT_NON_NUMERIC_COST
#9 00132 85.00 REJECT_INVALID_UOM: Allowed (SQYD, SQFT, CARTON)

Lineage & Architecture Easter Egg Vault

Unlock generation stories & architecture notes (SLDS, 1937, 1998, KETO, TEXTBOOKS):

Want to practice SQL queries visually?
Fill in blanks & watch 8 KB pages filter/join live:
Launch SQL Dojo →