Migrating to MariaDB from PostgreSQL
Strategies for moving data from PostgreSQL to MariaDB, using the CONNECT storage engine with ODBC/JDBC or foreign data wrappers.
MariaDB's CONNECT Storage Engine
Tables with ODBC table_type
CREATE TABLE psql_tab (
id INT,
str VARCHAR(50)
) ENGINE = CONNECT
table_type=ODBC
tabname='tab'
CONNECTION='DSN=psql_server';
CREATE TABLE tab (
id INT,
str VARCHAR(50)
) ENGINE = InnoDB;
INSERT INTO tab SELECT * FROM psql_tab;Tables with JDBC table_type
PostgreSQL's Foreign Data Wrappers
mysql_fdw
PostgreSQL's COPY TO
MySQL Workbench
Known Issues
Migrating Functions and Procedures
See also
Last updated
Was this helpful?

