Re: difference in query performance due to the inclusion of a polygon geometry field
В списке pgsql-general по дате отправления:
| От | John R Pierce |
|---|---|
| Тема | Re: difference in query performance due to the inclusion of a polygon geometry field |
| Дата | |
| Msg-id | 50B9294A.3070807@hogranch.com обсуждение исходный текст |
| Ответ на | Re: difference in query performance due to the inclusion of a polygon geometry field (Ivan Marchesini <ivan.marchesini@gmail.com>) |
| Список | pgsql-general |
On 11/30/12 8:30 AM, Ivan Marchesini wrote: > Thanks but as I said I have tried using psql directly on the server. > And still there is a strong difference between the queries execution > time with and without the geometric field. > May be it is a problem of clients but I obtain the same problem with > pgadmin, psql and other servers. So I suppose it is not. :-) query without Geometry is returning 1474 tuples of 133 bytes each. thats about 200 kbytes worth of tuples which have to be sorted, then converted to client format. query WITH geometry is returning 1474 tuples of 196111 bytes each. thats about 300MB which have to be sorted, then converted to client format. you're surprised handling 300MB takes longer than 200KB? -- john r pierce N 37, W 122 santa cruz ca mid-left coast
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера