Traditionally the metadata for a Virtual Database is built by Teiid Designer and supplied to Teiid engine through a VDB archive file. This VDB file contains .INDEX metadata files. By default they are loaded by a MetadataRepository with the name INDEX. Other built-in metadata repositories include the following:
NATIVE
This is only applicable on source models (and is also the default), when used the metadata for the model is retrieved from the source database itself.
Copy to ClipboardCopied!Toggle word wrapToggle overflow
DDL is applicable to both source and view models in zip VDB deployments. See DDL Metadata for more information on how to use this feature.
Chaining Repositories
When defining the metadata type for a model, multiple metadata elements can be used. All the repository instances defined are consulted in the order configured to gather the metadata for the given model.