Saturday, June 27, 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

Polymarket Curbs Insider Bets: No Stolen Info, No Illegal Tips, No Outcome Influencers

Related Posts

Apple Vision Pro exec to OpenAI, but Polymarket still has Anthropic at 85.5%
Blockchain

Apple Vision Pro exec to OpenAI, but Polymarket still has Anthropic at 85.5%

June 27, 2026
Trump curbs OpenAI launch as Polymarket prices Newsom at 20.7%
Blockchain

Trump curbs OpenAI launch as Polymarket prices Newsom at 20.7%

June 26, 2026
How to Become a Blockchain Intelligence Analyst
Blockchain

How to Become a Blockchain Intelligence Analyst

June 24, 2026
Dollar spikes on hawkish Warsh Fed, Polymarket keeps SpaceX atop 2026 IPO
Blockchain

Dollar spikes on hawkish Warsh Fed, Polymarket keeps SpaceX atop 2026 IPO

June 24, 2026
NVIDIA (NVDA) Powers 81% of World’s Fastest Supercomputers
Blockchain

NVIDIA (NVDA) Powers 81% of World’s Fastest Supercomputers

June 23, 2026
Micro AGI’s in-home robot data push as Polymarket keeps Anthropic at 95%
Blockchain

Micro AGI’s in-home robot data push as Polymarket keeps Anthropic at 95%

June 22, 2026
Next Post
Polymarket Curbs Insider Bets: No Stolen Info, No Illegal Tips, No Outcome Influencers

Polymarket Curbs Insider Bets: No Stolen Info, No Illegal Tips, No Outcome Influencers

Bitmine Locks 68% of Ethereum Holdings As Staking Position Surpasses .75B

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

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

  • Bitcoin Slides Toward $58,000 As ETF Outflows And Options Expiry Add Pressure
  • Apple Vision Pro exec to OpenAI, but Polymarket still has Anthropic at 85.5%
  • Finovate Global India: Raising Capital, Fighting Fraud, and Innovating in Payments
  • 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.