The spend cube is the category-management foundation. PharmaDB aggregates procurement spend across molecule × origin × supplier, computes concentration and leverage metrics, and surfaces the categories where consolidation or diversification drives value. The view is company_trade_exports_by_molecule; the join is to global_companies and the molecule catalog.