Re: Error: out of memory in create table as

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error: out of memory in create table as
Дата
Msg-id 24021.1154633827@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Error: out of memory in create table as  (jason nordwick <jason@adapt.com>)
Список pgsql-sql
jason nordwick <jason@adapt.com> writes:
> ERROR:  out of memory
> DETAIL:  Failed on request of size 856.
> CONTEXT:  SQL statement "create table gwt as select * from gworktick"
> PL/pgSQL function "processadd" line 30 at SQL statement

What PG version?  What does "explain select * from gworktick" say?
Can you get explain analyze results, or does that fail with the same
error?

> work_mem = 512000            # min 64, size in KB

This could well be excessive for complicated views.  You're promising
that you can provide half a gig of RAM for *each* sort or hash in the
plan.
        regards, tom lane


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

Предыдущее
От: jason nordwick
Дата:
Сообщение: Error: out of memory in create table as
Следующее
От: Tom Lane
Дата:
Сообщение: Re: alter column type from boolean to char with default