PostgreSQL Setup and DB Migration

Important Considerations for Database Migration to PostgreSQL

When installing PostgreSQL, ALWAYS use sql for the superuser:

PostgreSQL superuser password: sql

Postgres Service Users and Migration

  1. Database migration:

The last Standard SQL for V16 is 9132. We highly recommend updating your V16 database to the latest SQLs using TimeLine Server 16 before continuing.

The migrated DB will have the name of the old database - not the name of the profile in TL Server (consider renaming it to v17 before creating the TL Server 17 profile).

Open TimeLine Server 17, right click on the database you want to migrate (Database provider SAOLEDB.17). Attention, this will create a new database, so the ASA Profile will still be working

Migration of ASA17 Database to PostgreSQL
  1. Change the Postgre Adress and Port if they are any different from the default values

Changing PG Adress and Port at DB Migration

Troubleshooting migration issues

  1. Open pgAdmin and check if the database structure was generated.

Hint: if you don’t have any tables listed, there was a problem with the migration. If this happens, do not hesitate to contact us.

pgAdmin4 Database Structure
  1. To check if the database was migrated successfully, verify if the double columns from the ASA17 database are now double precision. Anything else is wrong

ASA17 double data type converted to double precision in PostgreSQL
Incorrect migration of double data type. We had a bug in an old version of the migration tool.
  1. If the migrated database has errors, you can delete the database as follows:

Deleting database from pgAdmin
  1. Create a new server profile in TimeLine Server, as follows:

TL Server Profile setup
  1. Updated the new database (server Profile) with V17 Postgre SQLs only

Updating PostgreSQL Database in TimeLine Server 17

Last updated