May 5, 2018 at 12:38 am
I am working on Postgres performance data capture . I wrote some script to move the Data part from SQL server 2017 to Postgres and it worked fine .
Now I want to move objects /schemas/logins/jobs too , does any one has experience on the same . I know some tool exists but the amount of information on internet is really less.
May 5, 2018 at 3:25 am
RatanDeep Saha - Saturday, May 5, 2018 12:38 AMI am working on Postgres performance data capture . I wrote some script to move the Data part from SQL server 2017 to Postgres and it worked fine .Now I want to move objects /schemas/logins/jobs too , does any one has experience on the same . I know some tool exists but the amount of information on internet is really less.
Haven't found a tool that does all of that automatically.
😎
The process is more or less along these lines:
1. Identify breaking features
2. Script all objects in scope
3. Amend the breaking features whilst editing / transforming the object scripts
4. For SQL Server logins, create the same and let the users set the passwords
5. SQL Server Agent Jobs need to be dissected and created from scratch on the target environment
6. Schemas and objects must be sanitised for the target environment, i.e. changing IDENTITY to SERIAL etc.
etc. etc.
May 7, 2018 at 10:00 pm
This might help: https://wiki.postgresql.org/wiki/Microsoft_SQL_Server_to_PostgreSQL_Migration_by_Ian_Harding
There are tools that do this, but I think most cost money:
https://www.ispirer.com/products/sql-server-to-postgresql-migration
https://www.devbridge.com/articles/migrating-from-mssql-to-postgresql/#
https://dbconvert.com/mssql/postgresql/
May 9, 2018 at 12:25 am
Eirikur Eiriksson - Saturday, May 5, 2018 3:25 AMRatanDeep Saha - Saturday, May 5, 2018 12:38 AMI am working on Postgres performance data capture . I wrote some script to move the Data part from SQL server 2017 to Postgres and it worked fine .Now I want to move objects /schemas/logins/jobs too , does any one has experience on the same . I know some tool exists but the amount of information on internet is really less.
Haven't found a tool that does all of that automatically.
😎The process is more or less along these lines:
1. Identify breaking features
2. Script all objects in scope
3. Amend the breaking features whilst editing / transforming the object scripts
4. For SQL Server logins, create the same and let the users set the passwords
5. SQL Server Agent Jobs need to be dissected and created from scratch on the target environment
6. Schemas and objects must be sanitised for the target environment, i.e. changing IDENTITY to SERIAL etc.
etc. etc.
I tried this method , its hit and miss . But this gave me starting point to get started . Identifying breaking feature was tricky as online tool is not completely accurate .
May 9, 2018 at 12:28 am
Steve Jones - SSC Editor - Monday, May 7, 2018 10:00 PMThis might help: https://wiki.postgresql.org/wiki/Microsoft_SQL_Server_to_PostgreSQL_Migration_by_Ian_HardingThere are tools that do this, but I think most cost money:
https://www.ispirer.com/products/sql-server-to-postgresql-migration
https://www.devbridge.com/articles/migrating-from-mssql-to-postgresql/#
https://dbconvert.com/mssql/postgresql/
Thanks Steve , I tried the first and last tool it worked after few tweaks . The second blog has some interesting points mentioned too .
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply