| От | Craig Ringer |
|---|---|
| Тема | Re: Postgres INSERT performance and scalability |
| Дата | |
| Msg-id | 4E781EF8.3000400@ringerc.id.au обсуждение исходный текст |
| Ответ на | Re: Postgres INSERT performance and scalability (Jon Nelson <jnelson+pgsql@jamponi.net>) |
| Список | pgsql-performance |
On 09/20/2011 09:21 AM, Jon Nelson wrote: > Isn't the WAL basically COW? Nope, it's a lot more like a filesystem journal - though it includes all data, not just metadata like filesystem journals usually do. Now, you could argue that PostgreSQL uses a copy-on-write like system to maintain row versions so that already-running statements (or SERIALIZABLE transactions) don't see data from the future and to maintain rollback data for uncommitted transactions. It's the *new* data that gets written to the WAL, though, not the old data. (OK, if you have full_page_writes enabled you might get a mix of old and new data written to WAL, but that's an implementation detail). -- Craig Ringer
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера