Monday, March 23, 2026
No Result
View All Result
The Crypto HODL
  • Home
  • Bitcoin
  • Crypto Updates
    • Altcoin
    • Ethereum
    • Crypto Updates
    • Crypto Mining
    • Crypto Exchanges
  • Blockchain
  • NFT
  • DeFi
  • Web3
  • Metaverse
  • Regulations
  • Scam Alert
  • Analysis
  • Videos
Marketcap
  • Home
  • Bitcoin
  • Crypto Updates
    • Altcoin
    • Ethereum
    • Crypto Updates
    • Crypto Mining
    • Crypto Exchanges
  • Blockchain
  • NFT
  • DeFi
  • Web3
  • Metaverse
  • Regulations
  • Scam Alert
  • Analysis
  • Videos
No Result
View All Result
The Crypto HODL
No Result
View All Result

Paxos Engineers 371ms Cutover for 21TB Postgres Ledger Migration

March 23, 2026
in Blockchain
Reading Time: 3 mins read
0 0
A A
0
Home Blockchain
Share on FacebookShare on Twitter


Iris Coleman
Mar 23, 2026 14:21

Paxos reveals the way it partitioned a 21TB crypto ledger desk with zero downtime, attaining 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 crew 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 dimension restrict, giving engineers a couple of yr earlier than writes would begin failing. For a agency processing stablecoin transactions that may’t tolerate knowledge loss or delays, conventional migration approaches involving prolonged upkeep home windows weren’t viable.

The Technical Strategy

Quite 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 grew to become a “historical past” partition whereas new time-range partitions caught incoming knowledge. 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 suggests 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 through 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 briefly and relaxed timeout thresholds. P50 latency stayed comparatively flat, however P95/P99 degraded considerably as lifeless tuples amassed.

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

Why This Issues for Crypto Infrastructure

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

Paxos additionally tackled a delicate 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 may land in numerous partitions and each succeed—a catastrophe for a monetary ledger that might apply the identical transaction twice.

The answer concerned idempotency checks outdoors the balance-update lock, including lower than 5 milliseconds of latency in inner 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 method displays broader trade motion towards zero-downtime database migrations. Comparable methods have been documented for tables starting from 1.5TB to multi-terabyte scale, usually utilizing views to summary transitions from purposes.

For Paxos, the partitioned construction now allows one-liner archiving via DETACH PARTITION and removes the looming dimension 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



Source link

Tags: 21TB371msCutoverEngineersLedgermigrationPaxosPostgres
Previous Post

This Major Cardano Upgrade Could Change The Network’s Trajectory

Related Posts

HBAR Price Prediction: Hedera Eyes Recovery to $0.13-$0.15 Range Despite Current Bearish Momentum
Blockchain

HBAR Price Prediction: Hedera Eyes Recovery to $0.13-$0.15 Range Despite Current Bearish Momentum

March 23, 2026
HTX Report Maps AI-Crypto Fusion as Agents Choose BTC Over Fiat 90% of Time
Blockchain

HTX Report Maps AI-Crypto Fusion as Agents Choose BTC Over Fiat 90% of Time

March 23, 2026
AAVE Price Prediction: Targets $114-120 Recovery by April 2026
Blockchain

AAVE Price Prediction: Targets $114-120 Recovery by April 2026

March 22, 2026
LDO Price Prediction: Bearish Momentum Points to $0.27 Target by April 2026
Blockchain

LDO Price Prediction: Bearish Momentum Points to $0.27 Target by April 2026

March 22, 2026
HBAR Price Prediction: Targets $0.10 Recovery by April 2026
Blockchain

HBAR Price Prediction: Targets $0.10 Recovery by April 2026

March 22, 2026
SOL Price Prediction: Targets $95-100 by April as Technical Recovery Takes Shape
Blockchain

SOL Price Prediction: Targets $95-100 by April as Technical Recovery Takes Shape

March 22, 2026

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Twitter Instagram LinkedIn Telegram RSS
The Crypto HODL

Find the latest Bitcoin, Ethereum, blockchain, crypto, Business, Fintech News, interviews, and price analysis at The Crypto HODL

CATEGORIES

  • Altcoin
  • Analysis
  • Bitcoin
  • Blockchain
  • Crypto Exchanges
  • Crypto Mining
  • Crypto Updates
  • DeFi
  • Ethereum
  • Metaverse
  • NFT
  • Regulations
  • Scam Alert
  • Uncategorized
  • Videos
  • Web3

SITE MAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2023 The Crypto HODL.
The Crypto HODL is not responsible for the content of external sites.

No Result
View All Result
  • Home
  • Bitcoin
  • Crypto Updates
    • Altcoin
    • Ethereum
    • Crypto Updates
    • Crypto Mining
    • Crypto Exchanges
  • Blockchain
  • NFT
  • DeFi
  • Web3
  • Metaverse
  • Regulations
  • Scam Alert
  • Analysis
  • Videos
Crypto Marketcap

Copyright © 2023 The Crypto HODL.
The Crypto HODL is not responsible for the content of external sites.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In