Close Menu
StreamLineCrypto.comStreamLineCrypto.com
  • Home
  • Crypto News
  • Bitcoin
  • Altcoins
  • NFT
  • Defi
  • Blockchain
  • Metaverse
  • Regulations
  • Trading
What's Hot

Vitalik Buterin Labels Ethereum the Economic Infrastructure for AI

May 12, 2026

Exodus wallet sells 1,076 BTC to fund W3C deal

May 12, 2026

Circle adds $3 billion Wall Street Arc token risking an uncomfortable rivalry with Coinbase

May 12, 2026
Facebook X (Twitter) Instagram
Tuesday, May 12 2026
  • Contact Us
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms of Use
  • DMCA
Facebook X (Twitter) Instagram
StreamLineCrypto.comStreamLineCrypto.com
  • Home
  • Crypto News
  • Bitcoin
  • Altcoins
  • NFT
  • Defi
  • Blockchain
  • Metaverse
  • Regulations
  • Trading
StreamLineCrypto.comStreamLineCrypto.com

Paxos Engineers 371ms Cutover for 21TB Postgres Ledger Migration

March 23, 2026Updated:March 23, 2026No Comments3 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Paxos Engineers 371ms Cutover for 21TB Postgres Ledger Migration
Share
Facebook Twitter LinkedIn Pinterest Email
ad


Iris Coleman
Mar 23, 2026 14:21

Paxos reveals the way it partitioned a 21TB crypto ledger desk with zero downtime, reaching a 371ms cutover whereas crypto markets ran 24/7.





Paxos, the stablecoin infrastructure firm behind PYUSD and USDP, has printed technical particulars on how its engineering group partitioned a 21-terabyte ledger database desk with out taking programs offline—a feat that required simply 371 milliseconds for the ultimate cutover whereas crypto markets continued buying and selling across the clock.

The corporate’s ledger desk had grown to roughly two-thirds of Aurora’s per-table measurement restrict, giving engineers a couple of 12 months earlier than writes would begin failing. For a agency processing stablecoin transactions that may’t tolerate information loss or delays, conventional migration approaches involving prolonged upkeep home windows weren’t viable.

The Technical Method

Slightly than copying billions of rows into a brand new construction—the usual partitioning playbook—Paxos constructed the partitioned structure across the current desk. The unique desk turned a “historical past” partition whereas new time-range partitions caught incoming information. To exterior programs, nothing modified; Postgres dealt with routing internally.

The catch? Postgres must confirm each row satisfies partition constraints earlier than attaching a desk, which implies a full desk scan. On a 21TB desk, that is not fast.

Paxos break up this into two phases. First, they added the constraint as NOT VALID—a quick operation that skips verification. Then they ran VALIDATE CONSTRAINT individually, permitting reads and writes to proceed throughout the scan.

9 Hours of Ache

The validation scan took simply over 9 hours. Throughout that point, the lock prevented autovacuum from cleansing up lifeless tuples, inflicting tail latency to climb steadily. The primary try failed when write spikes exceeded timeout thresholds.

On the second try, Paxos coordinated with market makers to pause buying and selling exercise quickly and relaxed timeout thresholds. P50 latency stayed comparatively flat, however P95/P99 degraded considerably as lifeless tuples amassed.

“In hindsight, this was essentially the most operationally demanding a part of the migration—not the cutover, however the scan that made the cutover attainable,” the engineering group wrote.

Why This Issues for Crypto Infrastructure

The migration highlights a rising problem for crypto infrastructure suppliers. Not like conventional finance with scheduled upkeep home windows, crypto markets run repeatedly. Database tables backing ledger programs cannot merely go offline for rebuilding.

Paxos additionally tackled a refined partitioning gotcha: uniqueness constraints throughout partitions. In Postgres, distinctive constraints on partitioned tables solely work globally in the event that they embrace the partition key. In any other case, two inserts with an identical idempotency keys might land in numerous partitions and each succeed—a catastrophe for a monetary ledger that would apply the identical transaction twice.

The answer concerned idempotency checks outdoors the balance-update lock, including lower than 5 milliseconds of latency in inside testing.

Testing at Manufacturing Scale

Staging environments could not replicate the issue. Paxos used Aurora manufacturing cloning to create a full-sized take a look at database, then constructed a “reverse historical past” SQL generator that replayed actual transaction patterns backward to keep away from triggering overdraft failures.

The strategy displays broader business motion towards zero-downtime database migrations. Related methods have been documented for tables starting from 1.5TB to multi-terabyte scale, typically utilizing views to summary transitions from purposes.

For Paxos, the partitioned construction now permits one-liner archiving by way of DETACH PARTITION and removes the looming measurement ceiling as a constraint. The corporate says it is starting a sequence of posts on engineering challenges behind its infrastructure—a sign that stablecoin operators are more and more competing on technical credibility alongside regulatory compliance.

Picture supply: Shutterstock


ad
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Related Posts

What’s Really At Stake In The Market Structure Debate: The BRCA

May 12, 2026

Key XRP Metric Skyrockets 65% In Record Time, Why It Could Change Everything For Buyers

May 12, 2026

DTCC Integrates Chainlink for Tokenized Collateral Platform

May 12, 2026

Senate Confirms Bitcoin-Friendly Kevin Warsh To Fed Board, Clearing Path To Chairmanship

May 12, 2026
Add A Comment
Leave A Reply Cancel Reply

ad
What's New Here!
Vitalik Buterin Labels Ethereum the Economic Infrastructure for AI
May 12, 2026
Exodus wallet sells 1,076 BTC to fund W3C deal
May 12, 2026
Circle adds $3 billion Wall Street Arc token risking an uncomfortable rivalry with Coinbase
May 12, 2026
What’s Really At Stake In The Market Structure Debate: The BRCA
May 12, 2026
Key XRP Metric Skyrockets 65% In Record Time, Why It Could Change Everything For Buyers
May 12, 2026
Facebook X (Twitter) Instagram Pinterest
  • Contact Us
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms of Use
  • DMCA
© 2026 StreamlineCrypto.com - All Rights Reserved!

Type above and press Enter to search. Press Esc to cancel.