Re: Fwd: restoring table

Поиск
Список
Период
Сортировка
От sharilalipv
Тема Re: Fwd: restoring table
Дата
Msg-id CA+i1o4bHAXqz2-NG5Wm8vZHcUrwode1j=hFRgXLOwRPdT2scwA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fwd: restoring table  ("Doom.zhou" <zzepaigh@gmail.com>)
Список pgsql-admin
4 GB  RAM and Quad core xeon processor .

I  made following  changes in  default  postgresql.conf  file.

shared_buffers = 768MB
work_mem = 5MB
checkpoint_segments = 20
effective_cache_size = 1536MB

Sharil







On Thu, Jan 2, 2014 at 12:36 PM, Doom.zhou <zzepaigh@gmail.com> wrote:
your server resource & your configure file ?


On Thu, Jan 2, 2014 at 2:52 PM, sharilalipv <sharilalipv@gmail.com> wrote:
Dear Team,

Postgresql Version:8.4

I could not  restore a table (4.1GB) in postgresql database server.

This is  the command I  used to  take table dump,

pg_dump   databasename  -t tablename  --format plain --data-only > ~/backup.sql

Restore command

 psql   -U  username  -d databasename -f  backup.sql

I  am  getting  below error,

2014-01-01 17:43:53 IST LOG:  autovacuum launcher started
2014-01-01 18:09:41 IST ERROR:  canceling autovacuum task
2014-01-01 18:09:41 IST CONTEXT:  automatic vacuum of table "tablename"
2014-01-01 18:12:31 IST LOG:  server process (PID 60667) was terminated by signal 9: Killed
2014-01-01 18:12:31 IST LOG:  terminating any other active server processes
2014-01-01 18:12:31 IST WARNING:  terminating connection because of crash of another server process
2014-01-01 18:12:31 IST DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2014-01-01 18:12:31 IST HINT:  In a moment you should be able to reconnect to the database and repeat your command.
2014-01-01 18:12:31 IST LOG:  all server processes terminated; reinitializing
2014-01-01 18:12:32 IST LOG:  database system was interrupted; last known up at 2014-01-01 18:12:04 IST
2014-01-01 18:12:32 IST LOG:  database system was not properly shut down; automatic recovery in progress
2014-01-01 18:12:32 IST LOG:  redo starts at 5/2800EE48
2014-01-01 18:12:34 IST LOG:  unexpected pageaddr 5/13240000 in log file 5, segment 53, offset 2359296
2014-01-01 18:12:34 IST LOG:  redo done at 5/3523FFA8
2014-01-01 18:13:01 IST LOG:  database system is ready to accept connections
2014-01-01 18:13:01 IST LOG:  autovacuum launcher started


Sharil






--
Sharil




--
Sharil

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

Предыдущее
От: "Doom.zhou"
Дата:
Сообщение: Re: Fwd: restoring table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fwd: restoring table