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.

Order, product and shopper data in PhoenixAI, a real-time analytical databaseStorefront views, add-to-cart events and orders stream into PhoenixAI tables, along with changes to orders and payments and files from brands and suppliers. PhoenixAI, a real-time analytical database, runs SQL over those tables and over order history in Apache Iceberg tables in the data lake, which it queries in place, and serves operators running a sale, dashboards for brands and sellers, and AI agents.STOREFRONT EVENTS · STREAMSVIEWADD TO CARTORDERORDERS ANDPAYMENTSDATABASE CHANGESBRAND ANDSUPPLIER FILESFILESPhoenixAIREAL-TIME ANALYTICAL DATABASEPHOENIXAI TABLESSQLENGINEqueried in placeDATA LAKE · ORDER HISTORYApache IcebergOPERATORSBRANDS & SELLERSAI AGENTS

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: Alibaba

Count 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: Alibaba

Spot 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: Zepto

Serve 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: Shopee

Report 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: Fanatics

Month-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: Amazon

AI 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: Fanatics

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 analytics

Questions 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 & agents

One 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 analytics

Works with your retail data stack

Standard SQL over the MySQL protocol. No proprietary query language.

Streams and databases

Apache KafkaAmazon MSKConfluent CloudApache FlinkFlink CDCMySQLPostgreSQLElasticsearch

Data lake

Apache IcebergApache HudiDelta LakeApache PaimonApache HiveUnity CatalogAmazon S3Azure StorageGoogle Cloud Storage

Tools and agents

TableauPower BIMetabaseSupersetHexdbtPythonMCP

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 post

Real-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 paper

Real-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 paper

Questions

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.

See how this would work on your data.

Meet with our solutions team for a live product walkthrough.