Industry / Retail & E-Commerce
Analytics on
order, product and shopper data
Retail and e-commerce companies collect data from their storefronts and apps, from orders and payments, and from the brands and sellers they work with. Operators, analysts, partners, apps and AI agents all ask questions of it, often over billions of events that arrive as streams, database changes and files.
Use cases
What retail and e-commerce teams do with their data
From the sale itself to the brands and sellers on the platform to the rest of the business.
During the sale
Orders, visits and payments arrive fastest during a sale, which is when people most need the numbers.
Watch a sale while it runs
Follow orders, payments and visitors by channel and city minutes after they happen, so a flash sale can be adjusted while it is still on, not after the next day's report.
Example: AlibabaCount unique shoppers exactly
Count distinct visitors and visit-to-purchase rates by channel, city and audience segment with no approximation, and without precomputing every combination someone might ask about.
Example: AlibabaSpot products about to run out
Compare stock on hand with orders in flight and recent sell-through by warehouse and SKU, so a product running low shows up while there is still time to restock it.
With brands and sellers
Marketplaces and retailers share data with the brands and sellers on their platform, who expect it to be current.
Give every brand its own dashboard
Show each brand its sales, impressions, searches and conversions by city and product, including today's, and keep pages fast while many brands use them at once.
Example: ZeptoServe data to apps through APIs
Let teams define an API over data lake tables and answer each call from a result prepared in advance, instead of running the full query, and waiting in a queue, every time.
Example: ShopeeReport sales and payouts to each seller
Give each seller its orders, returns, fees and payouts from the same tables everyone else uses, with every seller seeing only its own rows.
Across the business
The same data feeds analysts, finance and, more and more often, AI agents.
Self-serve analytics on the data lake
Let analysts and dashboards query billions of events in data lake tables directly and join across domains, instead of keeping a denormalized copy for each team in a separate system.
Example: FanaticsMonth-end reporting for finance
Serve reports to thousands of finance users at the same time during close, over hierarchies that join many tables, and add compute for the peak instead of paying for it all month.
Example: AmazonAI agents that answer questions on your data
An agent that writes its own SQL asks questions nobody planned for, across orders, products and shoppers. Each query has to come back fast enough for the person asking to keep going.
Example: FanaticsStories
Retail and e-commerce companies doing this today
Live analytics for operators running flash sales.
Alibaba
T+1→min data freshness, from next day to minutes
Read the story
Same-day sales dashboards for the brands on a quick-commerce app.
Zepto
<500 ms P99 query latency in the evaluation, on 300M+ rows
Read the story
Self-serve analytics across more than 900 online stores.
Fanatics
~90% cost reduction after consolidating use cases
Read the story
Shop, order and SKU queries that business users build themselves.
Shopee
3–10x faster join queries than its previous setup
Read the story
PhoenixAI for Retail & E-Commerce
A real-time analytical database for order and shopper data
PhoenixAI keeps streaming and historical data in one SQL layer, for queries from analysts, apps and AI agents.
Fresh data that can change
Streams from Kafka and changes from operational databases land in tables that take updates and deletes, queryable within seconds.
Real-time analyticsQuestions nobody planned for
A cost-based optimizer runs multi-table joins on detailed data directly, so a new question from an analyst or an agent doesn’t wait for a new pre-computed table.
AI & agentsOne query layer over the data lake
Query Apache Iceberg and Hive tables in place, and give each workload its own compute so dashboards, ad-hoc analysis and agents don’t compete.
Lakehouse analyticsWorks with your retail data stack
Standard SQL over the MySQL protocol. No proprietary query language.
Streams and databases
Data lake
Tools and agents
Further reading
How it works underneath
Making real-time precomputation truly incremental
How incremental materialized views keep order, payment and refund aggregates fresh as new rows arrive, without recomputing history.
Read the postReal-time analytics for customer-facing applications
A white paper on serving analytics inside your product, for example to brands and sellers, with fresh data and fast queries at high concurrency.
Read the white paperReal-time analytics infrastructure for AI agents
A white paper on what agents need from the data layer: freshness, concurrency and SQL that nobody planned for.
Read the white paperQuestions
Common questions
- How does PhoenixAI handle flash-sale and holiday traffic?
Each workload can run on its own warehouse: dashboards, loading and ad hoc analysis use separate compute over the same data, so a rush on one doesn’t slow the others. Warehouses scale out when CPU use or query queue length passes a limit you set, and back in afterwards. New orders are queryable within seconds. More on warehouses.
- Can PhoenixAI count unique shoppers exactly on live data?
Yes. Exact distinct counts run at query time, including rows loaded seconds before, for any slice such as channel, city or campaign. For the counts asked most often, bitmap columns keep them fast. See how Alibaba counts unique visitors.
- How does PhoenixAI give brands and sellers their own sales analytics?
A portal for brands or sellers can query the same order tables the business uses, with many partners at once and no copy per partner. A row access policy filters every query by the current user or role, so each partner sees only its own rows; such tables can’t be the base of a materialized view. See Customer-facing analytics.
- What do retailers and marketplaces build with PhoenixAI?
Common builds are live dashboards for a flash sale or holiday event, sales portals for brands and sellers, exact counts of unique visitors and conversions by channel and city, and month-end reporting for finance teams with many users at once. See the Retail & E-Commerce stories.