Ora2pg. тип CLOB. Ошибка Out Of Memory!

Ошибка " Out Of Memory!" при экспорте данных из столбца CLOB (Oracle) в столбец text (Postgresql) при помощи Ora2pg. Происходит даже когда в таблице одна строка с небольшим количеством данных.
Если увеличивать значение LONGREADLEN, то выдает ошибку "DBD:: ORA-01062: unable to allocate memory for the define buffer".
В controlfile(ora2pg.conf) установлены след. параметры:
###DATA SECTION (Control data export behaviors):

DATA_LIMIT 10000, BLOB_LIMIT 500 ,NOESCAPE 0, TRANSACTION serializable, STANDARD_CONFORMING_STRINGS 1, LONGREADLEN 1047552, LONGTRUNCOK 0, NO_LOB_LOCATOR 1.

Если кто-то сталкивался, подскажите в чем дело, пожалуйста.

Опции просмотра комментариев

Выберите предпочитаемый вами способ показа комментариев и нажмите "Сохранить настройки" для активации изменений.

http://search.cpan.org/~pythian/DBD-Oracle-1.22/Oracle.pm#Data_I

Документация по ora2pg говорит следующее
As the name implies this is the simplest way to use this interface. DBD::Oracle just attempts to get your LONG datatypes as a single large piece. There are no special settings, simply set the database handle's 'LongReadLen' attribute to a value that will be the larger than the expected size of the LONG or LONG RAW. If the size of the LONG or LONG RAW exceeds the 'LongReadLen' DBD::Oracle will return a 'ORA-24345: A Truncation' error. To stop this set the database handle's 'LongTruncOk' attribute to '1'. The maximum value of 'LongReadLen' seems to be dependant on the physical memory limits of the box that Oracle is running on. You have most likely reached this limit if you run into an 'ORA-01062: unable to allocate memory for define buffer' error. One solution is to set the size of 'LongReadLen' to a lower value.

Опции просмотра комментариев

Выберите предпочитаемый вами способ показа комментариев и нажмите "Сохранить настройки" для активации изменений.

Back to top

(С) Виктор Вислобоков, 2008-2023