Posts tagged “mvcc”

  1. Why does one long-running transaction slow down the whole database?

    Databases keep old row versions for as long as any open transaction might need them. One idle transaction on an unrelated table made PostgreSQL's busiest table 200× bigger and its writes 3× slower; in MySQL it made the old transaction's own reads 250× slower. Measured, with the settings that…

    · 10 min read · Databases