Re: [GENERAL] COPY: row is too big

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: [GENERAL] COPY: row is too big
Дата
Msg-id CAFj8pRB0J=Ln97yQCY8tq4DK7GO5jOzH8BvXXHS7UZERN0ApAg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] COPY: row is too big  (vod vos <vodvos@zoho.com>)
Список pgsql-general


2017-01-05 13:44 GMT+01:00 vod vos <vodvos@zoho.com>:
I finally figured it out as follows:

1. modified the corresponding data type of the columns to the csv file

2. if null values existed, defined the data type to varchar. The null values cause problem too.

int, float, double can be null too - null needs same space (1bit) for all types

Regards

Pavel
 
so 1100 culumns work well now. 

This problem wasted me three days. I have lots of csv data to COPY.



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

Предыдущее
От: marcin kowalski
Дата:
Сообщение: Re: [GENERAL] vacuum of empty table slows down as database tablecount grows
Следующее
От: junior
Дата:
Сообщение: Re: [GENERAL] Queries on very big table