Unit-specific ROLAP tables
Working prototype of database generation