Creating Databases
It is required to create a System and Application database. Optionally, a Transaction database can be created to log all transactions made in an application.
- A system database is required for the AMT Control Center to function.
- An application database is required for an AMT application to function.
- A transaction logging database can be created to log transactions made in an AMT application.
Suggested database naming conventions:
Database Type | Suggested Name |
System Database | AMT_SYSTEM |
Application Database | AMT_<Application Name> |
Transaction Logging Database | AMT_TRANLOG |
Create a System database.
- Create a database User.
- Ensure that the Can Login setting is enabled.
- Create a Database for the AMT system and add the user as owner.
- Set the database encoding to UTF-8.
- Add a Schema to the database with the exact same name as the database itself, and the previously created user as owner.
Before newly created databases can be used, the databases need to be defined. Define the System database in the cc-config.yaml file for the Control Center. Thereafter, the database must be reorganized.
Reorganizing a Transaction Database |
---|
The Transaction Logging setting must be enabled in the Control Center before it is possible to reorganize a transaction database. |