In one aspect, this disclosure relates to a method and associated
apparatus that allows a user to obtain a semi-structured data input and a
workload input. An improved semi-structured data storage schema is
selected for a relational schema in response to the semi-structured data
input and the workload input. The semi-structured data is segmented based
on the selected improved semi-structured data storage schema. In one
aspect, the semi-structured data is XML data.