Environments & Data Sources
Environments and data sources control how SEI connects to your databases.
An environment represents a working context for a specific stage of your workflow. For example, you might have a Production environment for live data, a Test environment for validating changes, and a Development environment for building new content. A data source defines the actual database connection used within that environment. Each data model in SEI uses one data source, and you can assign multiple data sources to a single environment.
You can switch environments at any time using the environment selector in the navigation panel. The selected environment applies to all open views.
When to use environments
- Controlling data access: Restrict or grant access to specific data and reports based on the active environment.
- Separating work contexts: Maintain distinct environments for development, testing, and production so you can validate changes before they go live.
When to create data sources
- Connecting to multiple systems: Add data sources for platforms such as SQL Server, Oracle, and Snowflake.
- Organizing connections: Keep your database connections grouped by purpose, such as reporting, analytics, or integrations, so they are easier to manage.
Add an environment
You can create as many environments as you need. If you created dedicated Oracle or SQL Server database users during installation, make sure to add them to SEI before assigning them to an environment. Assign a unique color to each environment. The color appears around the environment name in the navigation panel, which helps users quickly identify which environment they are working in.
- In the navigation panel, select the gear icon to open the Administration page.
- Select Env. & Data Sources.
- In the Environments panel, click the + icon.
- Enter an environment name and abbreviated name.
- Choose a color by selecting Apply, or enter a HEX code manually.
- Click Confirm.
To set an environment as the default for new users, select it from the list and click Set as Default.
Add the production environment
- In the navigation panel, select the gear icon to open the Administration page.
- Select Env. & Data Sources.
- In the Environments panel, click the + icon.
- Enter
Productionas the Environment Name. - Enter
Prodas the Abbreviated Name. - Choose a color and select Apply.
- Click Confirm.
- When you create the production data source, use the administrative user and the minimum permissions for the SEI Schema.
Add the administration environment
- In the Environments panel, click the + icon.
- Enter
Administrationas the Environment Name. - Enter
Adminas the Abbreviated Name. - Choose a color and select Apply.
- Click Confirm.
- When you create a admin data source, use the administrative user credentials for the SEI Schema.
Rename an environment
- In the Environments panel, select the environment you want to rename.
- Click the pencil icon.
- Enter the new name and click Confirm.
Create a data source
- Select the environment where you want to add the data source.
- In the Data Sources panel, click the + icon.
- Enter the required configuration details in the Data Source Definition panel.
- Click Validate, then Save.
Data Source Definition properties
| Property | Description |
|---|---|
| Data Source Description | Enter a unique name for your data source. A clear name helps you identify the connection when you manage multiple sources. |
| Type | Select the database type you are connecting to:
|
| Server | Enter the name of the database server. This is usually the server hostname or network address. |
| Database Name | Enter the warehouse or database name. This field is case-sensitive. For Oracle, enter the Oracle SID. |
| Extra connection string properties | Add any additional connection string parameters required by the database provider. |
| Transaction With (No Lock) | Available for SQL Server and iSeries. Allows reading data without waiting for locks to be released, which can improve performance on busy systems. Note that this option may return uncommitted or incomplete data. |
| Database Schema Name | Define the schemas available to data models. Add more than one schema if needed. Use the following format:
|
| Force Translation | iSeries only. Enables the connector's Force Translate property when required by your environment. |
| Port | Available for Oracle only. Enter the port number used by the Oracle instance. |
| Path | Available for Access only. Enter the full file path to the Access database file. |
| Pooling | Available Oracle only. Enable and configure connection pooling to improve performance. Default values are:
|
| SEI Schema | Enter the schema used by SEI components. This defines where the application stores and reads its internal objects. |
| Authentication Strategy | Choose how to connect to the database:
|
Set a data source as data warehouse
If you plan to use OLAP cubes, you need to designate one data source as the data warehouse. This tells SEI where to store and process cube data.
- In the Data Sources panel, select the data source.
- Click Set as Data Warehouse at the bottom of the panel.
Additional fields appear in the Data Source Definition panel. - Enter the Data Warehouse Schema. This value usually matches your custom schema.
- If you are using SQL Server, enable Use MARS during the cube loading to allow multiple active result sets to run at the same time.
Before version 8.0.1, MARS was enabled by default. For more information, see Using Multiple Active Result Sets (MARS).