A Method of Archiving History Data Based on XML

Analyzed radical problem of historical data archiving in data warehouse is presented, applying XML into archiving. Arithmetic of getting information about structuring XML pattern from data dictionary and arithmetic of structuring level direct graph were provided. The arithmetic of mapping from database structure to XML Schema based on level direct graph was implemented. In the meantime, the ways to ensure XML semantic integrity were provided. This schema can adapt to data analysis under MapReduce very well.