Re: array size exceeds the maximum allowed (1073741823) when building a json
От | Nicolas Paris |
---|---|
Тема | Re: array size exceeds the maximum allowed (1073741823) when building a json |
Дата | |
Msg-id | CA+ssMOSdHUTMWqswZ4njAgtf4vpAkuZ8duH7znB0G5pEswa38w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: array size exceeds the maximum allowed (1073741823) when building a json ("David G. Johnston" <david.g.johnston@gmail.com>) |
Ответы |
Re: array size exceeds the maximum allowed (1073741823)
when building a json
|
Список | pgsql-performance |
2016-06-07 14:39 GMT+02:00 David G. Johnston <david.g.johnston@gmail.com>:
2016-06-07 14:31 GMT+02:00 David G. Johnston <david.g.johnston@gmail.com>:Hello,
I run a query transforming huge tables to a json document based on a period.
It works great for a modest period (little dataset).
However, when increasing the period (huge dataset) I get this error:SQL ERROR
[54000]
ERROR: array size exceeds the maximum allowed (1073741823)Maximum Field Size: 1 GBIt means a json cannot exceed 1GB in postgresql, right ?YesThen I must build it with an external tool ?You have to do something different. Using multiple columns and/or multiple rows might we workable.
Certainly. Kind of disappointing, because I won't find any json builder as performant as postgresql.
Will this 1GO restriction is supposed to increase in a near future ?
Will this 1GO restriction is supposed to increase in a near future ?
David J.
В списке pgsql-performance по дате отправления: