oracle-fdw

postgresql 9.5 - decode / select case to solve error with utf8 doesnt work

自古美人都是妖i 提交于 2019-12-25 09:14:46
问题 In continuned to my last post - "migration oracle to postgresql invalid byte sequence for encoding “UTF8”: 0x00" Im trying to insert into a local postgresql table data from remote oracle table(via oracle_fdw extension). My oracle table has a column named street and it has valid string values and sometimes the next invalid (in postgresql) string : ' ' (space). When I try to copy the column value I get the error I mentioned above and in my last post. I understood that I need to change the

Slow cross-loading from oracle (oracle-fdw) into PostgreSQL

房东的猫 提交于 2019-12-25 08:47:30
问题 I created multiple posts in the forum about the performance problem that I have but now after i made some tests and gathered all the info that is needed I'm creating this post. I have performance issues with two big tables. Those tables are located on an oracle remote database. I'm running the quert : insert into local_postgresql_table select * from oracle_remote_table. The first table has 45M records and its size is 23G. The import of the data from the oracle remote database is taking 1 hour

could not load library for oracle_fdw

岁酱吖の 提交于 2019-12-12 02:42:50
问题 I am facing issue while creating oracle_fdw. I have copied oracle_fdw.dll to postgres lib folder * both .sql file and control file to shrared/extension now when I connect to psql with superadmin user & make an query create extension oracle_fdw; I am getting response ERROR: could not load library "D:/postgresdb/lib/oracle_fdw.dll": The specified procedure could not be found. 回答1: From the error it seems that the oracle_fdw library is not available in the lib folder of postGreSQL installation

migration oracle to postgresql invalid byte sequence for encoding “UTF8”: 0x00

天大地大妈咪最大 提交于 2019-12-11 16:58:03
问题 Im migrating an application from oracle to postgresql. In one of the functions that I already migrated I copy data from a different oracle db (db link in oracle, oracle_fdw extension in postgresql) from a few tables into a local table in my postgresql db. However, I`m getting the next error : invalid byte sequence for encoding "UTF8": 0x00 I saw that some people had this kind of issue in this forum but they didnt try to copy the data directly from a remote database (they loaded data from a