Set Data Source Properties (SSAS Multidimensional)
In Analysis Services, a data source object specifies a connection to an external data warehouse or relational database that provides data to a multidimensional model. Properties on the data source determine the connection string, a timeout interval, maximum number of connections, and the transaction isolation level.
Set data source properties in SQL Server Data Tools
Double-click a data source in Solution Explorer to open Data Source Designer.
Click the Impersonation Information tab in Data Source Designer. For more information about creating a data source, see Create a Data Source (SSAS Multidimensional).
Set data source properties in Management Studio
Expand the database folder, open the Data Source folder under the database name, right-click a data source in Object Explorer and select Properties.
Optionally, modify the name, description, or impersonation option. For more information, see Set Impersonation Options (SSAS - Multidimensional).
Data Source properties
|Name, ID, Description||Name, ID, and Description are used to identify and describe the data source object in the multidimensional model.
Name and Description can be specified in SQL Server Data Tools or in Management Studio after you deploy or process the solution.
ID is generated when the object is created. Although you can easily modify the name and description, IDs are read-only and should not be changed. A fixed object ID preserves object dependencies and references throughout the model.
|Create Timestamp||This read-only property appears in Management Studio. It displays the date and time the data source was created.|
|Last Schema Update||This read-only property appears in Management Studio. It displays the date and time the metadata for the data source was last updated. This value is updated when you deploy the solution.|
|Query Timeout||Specifies how long a connection request will be attempted before it is dropped.
Type the query timeout in the following format:
This property can be overruled by the DatabaseConnectionPoolTimeoutConnection server property. If the server property is smaller, it will be used instead of Query Timeout.
For more information about the Query Timeout property, see Timeout. For more information about the server property, see OLAP Properties.
|Connection String||Specifies the physical location of a database that provides data to a multidimensional model, and the data provider used for the connection. This information is provided to a client library making the connection request. The provider determines which properties can be set on the connection string.
The connection string is built using the information you provide in the Connection Manager dialog box. You can also view and edit the connection string in Management Studio in the data source property page.
For a SQL Server database, a connection string that contains user ID indicates database authentication; a connection containing Integrated Security=SSPI indicates Windows authentication.
You can change the server or database name if the database was moved to a new location. Be sure to verify that the credentials currently specified for the connection are mapped to a database login.
|Maximum number of connections||Specifies the maximum number of connections allowed by Analysis Services to connect to the data source. If more connections are needed, Analysis Services will wait until a connection becomes available. The default is 10. Constraining the number of connections ensures that the external data source is not overloaded with Analysis Services requests.|
|Isolation||Specifies the locking and row versioning behavior of SQL commands issued by a connection to a relational database. Valid values are ReadCommitted or Snapshot. The default is ReadCommitted, which specifies that data must be committed before it will be read, preventing dirty reads. Snapshot specifies that reads are from a snapshot of previously committed data. For more information about isolation level in SQL Server, see SET TRANSACTION ISOLATION LEVEL (Transact-SQL).|
|Managed Provider||Displays the name of the managed provider, such as System.Data.SqlClient or System.Data.OracleClient, if the data source uses a managed provider.
If the data source does not use a managed provider, this property displays an empty string.
This property is read-only in Management Studio. To change the provider used on the connection, edit the connection string.
|Impersonation Info||Specifies the Windows identity that Analysis Services runs under when connecting to a data source that uses Windows authentication. Options include using a predefined set of Windows credentials, the service account, the identity of the current user, or an inherit option that can be useful if your model contains multiple data source objects. For more information, see Set Impersonation Options (SSAS - Multidimensional).
In Management Studio, the valid values list includes these values:
ImpersonateAccount (use a specific Windows user name and password to connect to the data source).
ImpersonateServiceAccount (use the security identity of the service account to connect to the data source). This is the default value.
ImpersonateCurrentUser (use the security identity of the current user to connect to the data source). This option is only valid for data mining queries that retrieve data from an external data warehouse or database; do not choose it for data connections used for processing, loading, or write-back in a multidimensional database.
Inherit or default (use the impersonation settings of the Analysis Services database that contains this data source object). Database properties include impersonation options.