Monday, March 23, 2026
Catatonic Times
No Result
View All Result
  • Home
  • Crypto Updates
  • Bitcoin
  • Ethereum
  • Altcoin
  • Blockchain
  • NFT
  • Regulations
  • Analysis
  • Web3
  • More
    • Metaverse
    • Crypto Exchanges
    • DeFi
    • Scam Alert
  • Home
  • Crypto Updates
  • Bitcoin
  • Ethereum
  • Altcoin
  • Blockchain
  • NFT
  • Regulations
  • Analysis
  • Web3
  • More
    • Metaverse
    • Crypto Exchanges
    • DeFi
    • Scam Alert
No Result
View All Result
Catatonic Times
No Result
View All Result

Paxos Engineers 371ms Cutover for 21TB Postgres Ledger Migration

by Catatonic Times
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 staff partitioned a 21-terabyte ledger database desk with out taking techniques 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 few 12 months 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

Relatively than copying billions of rows into a brand new construction—the usual partitioning playbook—Paxos constructed the partitioned structure across the present desk. The unique desk grew to become a “historical past” partition whereas new time-range partitions caught incoming knowledge. To exterior techniques, 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 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 gathered.

“In hindsight, this was probably the most operationally demanding a part of the migration—not the cutover, however the scan that made the cutover attainable,” the engineering staff 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 constantly. Database tables backing ledger techniques 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 embody 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 means of 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

Can Smart Contracts Replace Human Counsellors?

Next Post

Bitmine Locks 68% of Ethereum Holdings As Staking Position Surpasses $6.75B

Related Posts

AAVE Price Prediction: Targets 4-120 Recovery by April 2026
Blockchain

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

March 22, 2026
NEAR Price Prediction: Protocol Tests .38 Resistance as Bulls Eye March Breakout
Blockchain

NEAR Price Prediction: Protocol Tests $1.38 Resistance as Bulls Eye March Breakout

March 21, 2026
OpenAI Drops IH-Challenge Dataset to Harden AI Against Prompt Injection Attacks
Blockchain

OpenAI Drops IH-Challenge Dataset to Harden AI Against Prompt Injection Attacks

March 21, 2026
Circle Skills Gives AI Agents Blueprint for Building USDC Cross-Chain Apps
Blockchain

Circle Skills Gives AI Agents Blueprint for Building USDC Cross-Chain Apps

March 20, 2026
101 Blockchains Rejoins Paris Blockchain Week 2026 as an Official Partner
Blockchain

101 Blockchains Rejoins Paris Blockchain Week 2026 as an Official Partner

March 19, 2026
Leonardo AI Unveils Comprehensive Image Editing Suite with Six Model Options
Blockchain

Leonardo AI Unveils Comprehensive Image Editing Suite with Six Model Options

March 19, 2026
Next Post
Bitmine Locks 68% of Ethereum Holdings As Staking Position Surpasses .75B

Bitmine Locks 68% of Ethereum Holdings As Staking Position Surpasses $6.75B

Capital B Acquires 44 Bitcoin, Boosting Holdings To 2,888

Capital B Acquires 44 Bitcoin, Boosting Holdings To 2,888

Leave a Reply Cancel reply

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

Catatonic Times

Stay ahead in the cryptocurrency world with Catatonic Times. Get real-time updates, expert analyses, and in-depth blockchain news tailored for investors, enthusiasts, and innovators.

Categories

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

Latest Updates

  • Will MrBeast Push Crypto on Kids? Senator Warren Raises Alarm Over Banking App
  • XRP Price Crash Far From Over And This Move Could Send It To $0.75
  • Capital B Acquires 44 Bitcoin, Boosting Holdings To 2,888
  • About Us
  • Advertise with Us
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact Us

Copyright © 2024 Catatonic Times.
Catatonic Times 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
No Result
View All Result
  • Home
  • Crypto Updates
  • Bitcoin
  • Ethereum
  • Altcoin
  • Blockchain
  • NFT
  • Regulations
  • Analysis
  • Web3
  • More
    • Metaverse
    • Crypto Exchanges
    • DeFi
    • Scam Alert

Copyright © 2024 Catatonic Times.
Catatonic Times is not responsible for the content of external sites.