Every time you boot up your PlayStation and your game library loads — every Final Fantasy title, every Crash Bandicoot remaster, every indie gem you impulse-bought at 2 A.M. — there’s a system working behind the scenes to confirm you own what you own.
Sony Interactive Entertainment calls this the Entitlements service. It covers more than 350 million accounts and supports services that drive billions of dollars in revenue. While Playstation has many eager fans, they also have limited time and attention and low switching costs. Entitlements has to be consistent, instant, and always available, ensuring them game access without sacrificing accuracy or security for Sony.
Sony Interactive recently rebuilt Entitlements from the ground up on Google Cloud Spanner, cutting storage by 91%, reducing costs by half (~48%), and completing the entire migration with zero downtime on a live production system.
In this post, we’ll share how we managed to beat our own high scores and expectations for what this migration could achieve.
For Sony, it’s game time
The Entitlements architecture had run on a pair of databases, Apache Cassandra and Oracle, for years. As the PlayStation user base and content library grew, the system struggled to keep pace, resorting to storing the same data many times over. This technique, called denormalization, had ballooned storage past 530 TB, most of it redundant copies.
The trade-offs showed up where they mattered most. Players with the biggest game libraries — and thus Sony’s most loyal and valuable customers — had the slowest experience. A simple catalog update, like a new addon, appended to the game took days to propagate. Sony Interactive’s engineering leadership wanted something better: a system that could scale horizontally while still maintaining strong data consistency. They wanted a solution without compromises.
One copy of the truth
Sony Interactive was seeking something they couldn’t get from their legacy architecture: the ability to normalize their data model at global scale. With Spanner, they were able to change the equation. As a distributed SQL database, Spanner allowed Sony Interactive to shift from hundreds of redundant copies to creating one clean version of the truth.
The team separated fast-changing entitlement data from more static catalog data, then co-located each player’s entitlements with their primary account record. That meant a single, fast query could pull a player’s entire library. The 500+ TB search index that previously required expensive manual updates? Eliminated entirely. Per-player storage dropped from roughly 3 MB to 0.12 MB.
Spanner’s distributed SQL engine did the heavy lifting at the data layer, which meant Sony Interactive’s engineers could simplify their application logic rather than build around database limitations.
Buy a game in Tokyo, play it in Toronto
With the data model rebuilt, Sony Interactive turned to one of Spanner’s defining capabilities: global consistency powered by TrueTime, Google’s globally synchronized clock.
When a player purchases a game, TrueTime ensures the transaction is committed and visible across every region, instantly. No sync lag. No complex application logic to handle eventual consistency. You buy a game on your phone during your lunch break, and it’s ready on your console when you get home.
Sony Interactive also used Spanner’s geo-partitioning to match data locality with player geography, serving each player from the nearest optimal location while maintaining a single, consistent view of their data.
And the system is built for what comes next. Spanner’s architecture means Sony Interactive can scale from a single-node regional database to a 500-node multi-region deployment without downtime or application re-architecture.
Transformative results
The migration delivered measurable gains across every critical metric:
|
Metric |
Legacy Solution (NoSQL/Cassandra) |
New (Google Cloud Spanner) |
Improvement |
|
Total Storage |
538 TB |
48 TB |
~91% Reduction |
|
Search Indexes |
Required Per Account |
None Needed |
Operational Simplicity |
|
Service Compute |
100% |
50% |
50% Reduction |
|
Service Memory |
100% |
25% |
75% Reduction |
|
Update Process |
Massive Throttled Process |
Efficient, Fast Updates |
Improved Data Freshness |
For players, the experience got meaningfully faster and more reliable. For Sony Interactive’s engineering team, the win was just as significant: they could stop maintaining legacy infrastructure and focus on building what comes next.
Beyond gaming
Three hundred fifty million players expect their PlayStation libraries to just work — even when you stop to consider that adds up to billions upon billions of titles. Thanks to our migration to Spanner, the system powering those experiences for hundreds of millions of households worldwide is now smaller, faster, and significantly less expensive to operate.
The principle at the core of Sony Interactive’s approach applies well beyond gaming. Any organization managing critical data at global scale — entitlements, ledgers, inventory, financial records — can benefit from a database that doesn’t force a choice between scale and consistency. Spanner makes it possible. Explore the in-depth Google Cloud Spanner page to learn more.



