WAL question

Поиск
Список
Период
Сортировка
От Evgeny Gridasov
Тема WAL question
Дата
Msg-id 20070112162306.e4ad5581.eugrid@fpm.kubsu.ru
обсуждение исходный текст
Ответы Re: WAL question  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Hello.

Lets's imagine a sequence in time:
(1) Some transactions commit data (simple table inserts/updates).
(2) I get data from a table using select.
(3) A CHECKPOINT occurs, data from pg_xlog is copied to actual table data files.

Questions:

Where does PostgreSQL read data during (2) process?
For example, I've got some old data and recently committed data there(but not passed CHECKPOINT).

Would it scan both pg_xlog(for committed data that dind't pass CHECKPOINT) and table data files?

What happens if an index could be used?

Evgeny.

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

Предыдущее
От: Ashish Karalkar
Дата:
Сообщение: error in open cursor
Следующее
От: Jeff Amiel
Дата:
Сообщение: Re: Corrupt database? 8.1/FreeBSD6.0