| От | Tom Lane |
|---|---|
| Тема | Re: mosbench revisited |
| Дата | |
| Msg-id | 22145.1312400330@sss.pgh.pa.us обсуждение |
| Ответ на | Re: mosbench revisited (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: mosbench revisited
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> On a straight pgbench -S test, you get four system calls per query:
> recvfrom(), lseek(), lseek(), sendto(). Adding -M prepared eliminates
> the two lseeks.
[ scratches head... ] Two? Is that one for the table and one for its
lone index, or are we being redundant there?
(If the query ended up being a seqscan, I'd expect a second
lseek(SEEK_END) when the executor starts up, but I gather from the other
complaints that the mosbench people were only testing simple indexscan
queries.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера