Metadata Modeling in the Database with Analytic Views