1. A method for translating data in a hierarchical data structure to a relational data structure, the method comprising the steps of: reading a first part of a hierarchical data structure instance using a tree traversal algorithm defined by a mapping so as to derive at least one data element; storing the at least one data element in a first storage; determining when the first storage stores a quantity of data that is greater than a threshold; and in response to determining that the first storage stores a quantity of data that is greater than the threshold, transferring data stored in the first storage into a relational data structure according to the mapping.