Discovery Guide > Using and Configuring Discovery > Defining a Data Source for Discovery
 
Defining a Data Source for Discovery
Follow the instructions in the “Working with Data Sources” chapter in the TDV User Guide to define a data source. Generally, TDV-supported relational data sources are supported by Discovery. But some TDV-supported data sources are not supported by Discovery. See Supported and Unsupported Data Sources for more information.
When you define a data source, its metadata is introspected and stored in the TDV metadata repository. Discovery uses the metadata discovered during introspection to understand the structure and data definitions in the data source.
When you define a data source, you select the resources that you want to introspect and include in the data source definition. This process lets you limit the catalogs, schemas, and tables that are included and introspected at data source definition time. This is important for Discovery, because all resources must be indexed to be included in relationship discovery. Indexing can be time-consuming, so it is a good idea to deselect or filter out resources that you know are not needed.
General steps to configure a data source in Discovery
1. Define the data source (see Defining a Data Source for Discovery):
a. Create a new data source and define its access credentials.
b. Select the data source resources you want to include in your models.
c. Optionally, filter the objects and relationships to discover in the data source.
2. Index and discover the data source (see Running Indexing and Relationship Discovery.)
Note: If you scheduled re-introspection for a data source that is used in a Discovery model, you need to reindex and rediscover relationships in that data source.
See these topics for more information about editing data sources in Discovery:
Modifying a Data Source Definition
Deleting a Resource Used by Discovery