ENع
الدرس 16 · Inside a database

MVCC

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

Multiversion concurrency control is how PostgreSQL lets readers and writers work on the same row without waiting for each other. Follow one row of a stock table: an UPDATE writes a new version instead of overwriting, every version carries xmin and xmax stamps, a reader's snapshot and the commit log decide which version it sees (5, then 5, then 4), and VACUUM finally clears the dead version away.

15 دقيقة9 خطوات5 أسئلةAdvanced
شكل 16 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.