structure db