To define the release pipeline contents, you configure the project to define the database schema where database objects reside.
- Smaller applications may work with only one schema.
- Medium-sized applications may work with multiple schema.
- Medium-to-large applications may work with multiple databases.
- Large applications may require multiple projects, possibly divided by their function for the application.
Managed Schema and Tracking Schema
The managed schema refers to the schema where managed SQL objects are stored.
The tracking schema is a location for Datical DB to store the operations history.
The operations history (or changelog) is stored in two tables:
- DATABASECHANGELOG
- DATABASECHANGELOGLOCK
Characteristics of Schema Settings
Choose the schema setting that matches the database requirements of your application (or functional sections of it).
Project Type | Characteristics |
---|---|
Single-schema |
|
Multi-schema |
|
Multi-database |
|
Projects, Steps, and Schema
A project defines the managed schema. All steps in the release pipeline use it.
Each project defines the project steps that make up the release pipeline.
Each step contains configuration information:
- Connection to the database
- Schema to use (if multi-schema)
- Configuration settings for the step
Schema Role and Connection by Database Type
The use of schema in database organization varies by database type. The following list summarizes its use and provides a summary of how Datical DB connects to a database of its type.
Oracle
Schema is the top level and is associated with the database user. Database objects are under the schema.
Connection parameters:
Hostname:Port
(default port 1521)- Service Name (default orcl) or SID
- User credentials (or Deferred Credentials setting)
SQL Server
Database is the top level. Schema provide a grouping for database objects. A database may also be managed by a database instance. Multiple database instances are allowed to run on the same host.
Connection parameters:
Hostname:Port
default port 1433)- Application Name (Datical DB)
- Database
- Database Instance (if applicable)
- User credentials (or Deferred Credentials setting)
DB2
Database is the top level. Schema provide a grouping for database objects.
Connection parameters:
Hostname:Port
(default port 50000)- Database
- User credentials (or Deferred Credentials setting)
EDB Postgres
Database is the top level. Schema provide a grouping for database objects.
Connection parameters:
Hostname:Port
(default port 5432)- Database
- User credentials (or Deferred Credentials setting)