CUSTOMER IMPACT STORIES WITH EDB

Shopcast Settles 1.8 Billion Royalty Records in Seven Minutes with EDB Postgres® AI for WarehousePG

Shopcast settles a 1.8 billion-record quarterly royalty run in about seven minutes on a lakehouse it deployed in three days.

Watch and learn: Best practices

  • How Shopcast settled a 1.8 billion-record quarter in about seven minutes
  • How a lakehouse on EDB Postgres AI (PG AI) for WarehousePG let the team keep raw logs untouched and work in standard SQL
  • How a non-developer CEO uses an AI assistant to ask questions of the same data in Korean
  • What's next as Shopcast brings copyright technology and rights holders onto the same data

Shopcast, founded in 2005, provides in-store music to 70,000 stores across Korea, settles royalties for music platforms and rights associations, and builds music copyright technology. At EDB Postgres AI Summit Seoul 2026, CEO Jeonghwan Lee shared how PG AI for WarehousePG and a data lakehouse changed everyday royalty settlement.

"We did not fit the data to the system. The data stayed put, and the system did all the changing."

—Jeonghwan Lee, CEO, Shopcast

Billions of records, complex settlement

For Shopcast, a log line is not analytics. It is the accounting ledger. At about 300 plays per store per day, 70,000 stores generate roughly 21 million records a day, 630 million a month, and 7 billion a year. Each quarterly settlement run covers 1.8 billion records.

Settlement has four steps: monthly aggregation, rights-holder matching, joining and expanding to line items, and summing by rights holder. If a single mapping is wrong or newly added, everything from matching onward must be rerun. That is why a runtime under 10 minutes matters, and why Shopcast never alters the usage records the platforms send.

Hadoop helped, but not enough

Shopcast's first fix was to split the data and aggregate it in stages. Hadoop and Hive then brought jobs that ran 16 to 21 hours down to about 40 minutes, which was real progress. But someone had to know how to run the cluster, it took extra plumbing to work alongside the existing databases, and every data request went through a developer. Keeping one set of logs safe meant five copies of data that grows by about 30 terabytes a year.

Three conditions, one lakehouse

Shopcast is not a large enterprise, so it set exactly three conditions for a new system:

  • “Don’t split the 1.8 billion records, don’t preprocess them—please, we just want to use them as is.” No splitting means no merging, and no merging means no errors.
  • Operations and analytics see the same numbers: Settlement is a ledger, and the team did not want to settle which number is right in a meeting.
  • Runs without dedicated infrastructure staff: Operational burden is part of the adoption cost.

A lakehouse met all three. Raw logs keep landing in object storage exactly as before. EDB WarehousePG reads the stored files as tables, so the team works in plain standard SQL, with no new query language, tools, or hires. Shopcast first met PG AI for WarehousePG in June 2026 and installed it on its own servers with a local partner. The CEO, who describes himself as neither a DBA nor a developer, did it himself: “Applying WarehousePG to our actual service took exactly three days—we completed everything, including the full migration.”

From 40 minutes to 7

For Shopcast's quarterly in-store music settlement:

  • Existing system: Did not finish 
  • Hadoop and Hive: About 40 minutes
  • PG AI for WarehousePG: About 7 minutes
Figures as reported by Shopcast for its in-store music settlement.

A 40-minute job is one to start when you leave for the day. A 7-minute job can run several times a day, and as the CEO put it, “If it’s wrong, you just run it again.” Overnight work has fallen away. The same approach carries over to settlement for music rights associations: Raw logs stay live and untouched, so a summary figure can be traced back to a single raw line in the same SQL.

When a non-developer asks the data directly

Shopcast's CEO is now the person who looks at the company's data most often. He asks in Korean and an AI assistant checks the schema, writes and runs the SQL, validates the results, and formats them as tables and charts. Questions that were never worth filing a request for, such as how song choices differ by store type, season, or weather, now get answers.

"I can't write SQL, but these days, our employees come to me asking me to pull data."

—Jeonghwan Lee, CEO, Shopcast

Shopcast names three conditions behind this: The raw data is alive, it is reachable through standard SQL, and operations and analytics sit in one place. It calls the result an agentic lakehouse, a warehouse that moves from passive to an active partner. PG AI for WarehousePG fits because core-based pricing keeps cost predictable when AI fires many queries, workloads are isolated from settlement resources, and AI features such as pgvector and MADlib are part of one engine.

Shopcast is candid about the limits. AI explores and validated code finalizes: Numbers produced by AI go outside the company only after human verification, and the final settlement batch still runs on validated code. As the CEO put it, “The very last mile still needs a human hand.” Next, Shopcast plans to move copyright technology onto the same data, monitor settlement anomalies continuously, and open the data to rights holders so they can ask where and how often their music was played.

Related resources


The Samsung Electronics story


EDB WarehousePG


EDB Postgres AI