| От | Tom Lane |
|---|---|
| Тема | Re: Many fields in one table or many tables? |
| Дата | |
| Msg-id | 1008.1063909233@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Many fields in one table or many tables? (Josh Berkus <josh@agliodbs.com>) |
| Список | pgsql-performance |
Josh Berkus <josh@agliodbs.com> writes:
> Suggestion 3: There was an issue in 7.3 with table rows which are overly broad
> -- some problems with PSQL, I believe.
Not sure about PSQL, but I think there still are some performance issues
in the backend with SELECTs involving more than a couple hundred
targetlist entries. These are probably fixable at not-very-large effort
but we haven't made any consistent push to find and fix the trouble
spots. The issues that I recall are O(N^2) problems (doubly nested
loops) so the performance with ~100 entries is no problem but it gets
rapidly worse above that. You could hit this even with ~100-column
tables if you try to select all columns from a join of two or more.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера