Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Live Search | ||||||||
---|---|---|---|---|---|---|---|---|
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
This page is for data modellers who want to connect to an external database, either to load data or to export processed data back to it.
Overview
A datasource is a modelling object whose properties provide the information needed to connect to an external database. You must have one datasource for each type of database to which you need to connect. In an analysis model, you can add:
- a Database Collector Properties to load data from a database.
- a Database Exporter Properties to update the database with processed data from the model.
The datasources you create appear in the Basic Settings → Datasource list in collector and exporter properties.
Each datasource must have at least one datasource instance. You can add several instances if you want to configure different settings. For example you may want to connect to the same database using a different username and password for different scheduled tasks.
In the properties for collectors and exporters, you can optionally specify the datasource instance using the Advanced → Datasource Instance Expression.
DatasourceBasic Settings
In addition to the standard icons, the properties toolbar includesAnalysis Models
This section has a toolbar with standard buttons.
The grid contains a list of analysis models that use this datasource. Double-click on a row to open the analysis model properties.jdbc:sqlserver://hostname\myservice
;databaseName=phixflow