| От | Kevin Grittner |
|---|---|
| Тема | Re: RAM-only temporary tables |
| Дата | |
| Msg-id | 4912E4DC.EE98.0025.0@wicourts.gov обсуждение исходный текст |
| Ответ на | Re: RAM-only temporary tables (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: RAM-only temporary tables
|
| Список | pgsql-hackers |
>>> Tom Lane <tgl@sss.pgh.pa.us> wrote: > it's difficult to tell how much > physical I/O results from the create or unlink syscalls. It might be > interesting to make a test program that just creates 4000 files We use xfs with noatime for our databases. In a fresh subdirectory of such a mountpoint: for ((i=0 ; i < 4000 ; ++i)) ; do touch $i ; done causes 44,969 block writes > and then > removes them again, and see what sort of load you see from that. rm * causes 26,820 block writes That would make the file creation and unlink just under half the load. -Kevin
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера