Loading data from one table to another
От | Sabyasachi Mukherjee |
---|---|
Тема | Loading data from one table to another |
Дата | |
Msg-id | DB7PR03MB378887A0840FDAECF62410CD8C7B2@DB7PR03MB3788.eurprd03.prod.outlook.com обсуждение исходный текст |
Ответы |
RE: Loading data from one table to another
Re: Loading data from one table to another Re: Loading data from one table to another |
Список | pgsql-admin |
Dear All,
We have a Postgres DB with 99 GB of data. The query performances are slow as expected. I am trying to introduce monthly partitions for this table.
To copy the data - the command that I am trying to execute is (Insert into ...(Select * from )) using PGAdmin
The DB is hosted in Windows server having 8 GB of RAM.
Note - we do not have any surrogate key in this table. And the event time recorded is also duplicated.
The command fails every time.
Can you please advise some strategy to get this done?
Once the pgadmin lost connection.
Another error that I have got is,
ERROR: Failed on request of size 1048576 in memory context "AfterTriggerEvents".out of memory
ERROR: out of memory
SQL state: 53200
Detail: Failed on request of size 1048576 in memory context "AfterTriggerEvents".
Thanks & regards
Sabyasachi Mukherjee
В списке pgsql-admin по дате отправления: