ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] порушилась база PostgreSQL
Date: Wed, 8 Oct 2003 23:48:39 +0900
Message-ID: <20031008234839.3fe10fac.alexei@taf.ru> (raw)
In-Reply-To: <200310081906.10921.viclists@mail.esoo.ru>

On Wed, 8 Oct 2003 19:06:10 +0600
vic ismakaev <viclists@mail.esoo.ru> wrote:

> 8 Октябрь 2003 17:44, vic ismakaev написал:
> > Приветствую!
> > Есть у меня сервер Мастер 2.0 и на нем запупущен
> > postgresql-server-7.2.1-alt2. Каждую ночь в базу добавляется порядка
> > 8 тыс записей .
> > на этот раз при заливке данных в базу переполнился харддиск и
> > похоже,что конец файла таблицы повредился.
> > Когда я пытаюсь сделать запрос к последним данным(за вчерашний день)
> > - получаю ошибку вида
> >
> > --------------------------------------------------------
> > network=> select * from traffic where day='20031007';
> > FATAL 2:  read of clog file 36, offset 212992 failed: Success
> > server closed the connection unexpectedly
> >         This probably means the server terminated abnormally
> >         before or while processing the request.
> > The connection to the server was lost. Attempting reset: Failed.
> > !>
> > ------------------------------------------------------
> 
> > Это как-то лечится?
> 
> Кажется разобрался.Порушился файл лога текущих транзакций в каталоге
> pg_clog. Удалил последний файл и на его место скопировал
> предыдущий.Заработало. Не знаю правда - правильно я поступил или нет. 
> Кто что скажет?

Да, по-идее, ничего особенного могло и не произойти, разве что накрылась
последняя выполняемая транзакция.

Но я бы все же проделал бы операция dump-restore на всякий пожарный
случай.


      reply	other threads:[~2003-10-08 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-08 11:44 vic ismakaev
2003-10-08 13:06 ` vic ismakaev
2003-10-08 14:48   ` Alexei Takaseev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031008234839.3fe10fac.alexei@taf.ru \
    --to=alexei@taf.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git