| От | Craig Ringer |
|---|---|
| Тема | Re: query performance, where goes time? |
| Дата | |
| Msg-id | 5047FBA8.1030909@ringerc.id.au обсуждение исходный текст |
| Ответ на | query performance, where goes time? ("Anibal David Acosta" <aa@devshock.com>) |
| Список | pgsql-performance |
On 09/06/2012 07:48 AM, Anibal David Acosta wrote: > Using explain analyze I saw that many of my queries run really fast, > less than 1 milliseconds, for example the analyze output of a simple > query over a table with 5millions of records return "Total runtime: > 0.078 ms" > > But the real time is a lot more, about 15 ms, in fact the pgadmin show > this value. > > So, where goes the others 14.2 ms? Client-side latency, time spent transmitting query results, and network latency. You'll see much less difference in queries that take more meaningful amounts of time. This query is so fast that timing accuracy will be an issue on some systems, and so will scheduler jitter etc. -- Craig Ringer
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера