Re: [GENERAL] Migration Query

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: [GENERAL] Migration Query
Дата
Msg-id oermh0$1hr$1@blaine.gmane.org
обсуждение исходный текст
Ответ на [GENERAL] Migration Query  (PAWAN SHARMA <er.pawanshr0963@gmail.com>)
Список pgsql-general
PAWAN SHARMA schrieb am 08.05.2017 um 17:13:
> Does one any having list of bottlenecks and workarounds while migrating data
> from Oracle to Postgresql. like what are thing which we can migrate from Oracle database to Postgresql and what we
can't?

One thing I have seen regularly is the wrong translation of Oracle's NUMBER data type to the corresponding Postgres
type. 

e.g. NUMBER(22) is very often translated to a numeric in Postgres but it should be translated to integer or bigint.

numeric is slightly slower and takes more space then integer or bigint.

You also need to think about how you used the DATE data type in Oracle.
If you rely on the time part, you have to translate that into a TIMESTMAP in Postgres.

Thomas


В списке pgsql-general по дате отправления:

Предыдущее
От: Venkata B Nagothi
Дата:
Сообщение: Re: [GENERAL] Migration Query
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: [GENERAL] Python versus Other Languages using PostgreSQL