Provide a solution to migrate from MySQL or MSSQL to PostgreSQL #881
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Extra attention is needed
p2
Non-critical bugs, and features that help organizations to identify and reduce risk
size/XL
Higher effort
Hyades will exclusively support PostgreSQL. Support for MySQL and MSSQL will be dropped.
The reasoning behind this decision is as follows:
JSON
/JSONB
column type, MSSQL merely has functions to process text as JSONINSERT
andUPDATE
statements, MySQL and MSSQL merely return the number of modified rows, or the IDs of modified rows at mostUsers of DT 4.x that use any of those RDBMSes will need to migrate, and we need to provide guidance on how to do it.
A while back I documented how this can be achieved using pgloader, moving from MySQL to PostgreSQL:
https://gist.github.com/nscuro/1d32c6099a8a82f98f737fffa936b416#file-instructions-md
Because we have introduced changes to the database schema since branching off from DT v4.x, using off-the-shelf solutions like
pgloader
is not an option anymore. We will need to write a custom tool that performs the migration.The text was updated successfully, but these errors were encountered: