Re: PG writes a lot to the disk
От | Albe Laurenz |
---|---|
Тема | Re: PG writes a lot to the disk |
Дата | |
Msg-id | D960CB61B694CF459DCFB4B0128514C201E66F9E@exadv11.host.magwien.gv.at обсуждение исходный текст |
Ответ на | Re: PG writes a lot to the disk ("Laurent Raufaste" <analogue@glop.org>) |
Ответы |
Re: PG writes a lot to the disk
Re: PG writes a lot to the disk |
Список | pgsql-performance |
Laurent Raufaste wrote: > The problem was that the optimiser didn't know how to run the queries > well and used millions of tuples for simple queries. For each tuple > used it was updating some bit in the table file, resulting in a huge > writing activity to that file. Good that you solved your problem. PostgreSQL doesn't write into the table files when it SELECTs data. Without an EXPLAIN plan it is impossible to say what PostgreSQL was doing, but most likely it was building a large hash structure or something similar and had to dump data into temporary files. Yours, Laurenz Albe
В списке pgsql-performance по дате отправления: