| От | Ron Mayer |
|---|---|
| Тема | Re: Performance on large data transformations |
| Дата | |
| Msg-id | POEDIPIPKGJJLDNIEMBECEGHCGAA.ron@intervideo.com обсуждение исходный текст |
| Ответ на | Performance on large data transformations (Josh Berkus <josh@agliodbs.com>) |
| Список | pgsql-performance |
Josh Berkus wrote:
>
>There is, for that matter, no kernel swap activity, but I'm not
>sure how to measure Postgres temp file activity.
Of course you could:
mv /wherever/data/base/16556/pgsql_tmp /some_other_disk/
ln -s /some_other_disk/pgsql_tmp /wherever/data/base/16556
and use "iostat" from the "systat" package to watch how much you're
using the disk the temp directory's on.
In fact, for OLAP stuff I've had this help performance because
quite a few data warehousing operations look like:
First read from main database,
do a big hash-or-sort, (which gets written to pgsql_tmp),
then read from this temporary table and write result to main database
PS: Yes, I know this doesn't help the FSM stuff you asked about.
Ron
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера