| От | Richard Huxton |
|---|---|
| Тема | Re: "Big O" notation for postgres? |
| Дата | |
| Msg-id | 4834343A.8020607@archonet.com обсуждение исходный текст |
| Ответ на | Re: "Big O" notation for postgres? ("Jonah H. Harris" <jonah.harris@gmail.com>) |
| Ответы |
Re: "Big O" notation for postgres?
|
| Список | pgsql-performance |
Jonah H. Harris wrote: > On Wed, May 21, 2008 at 10:10 AM, H. Hall <hhall1001@reedyriver.com> wrote: >> Does anyone know if there is a source that provides "Big O" notation for >> postgres's aggregate functions and operations? For example is count(*) = >> O(1) or O(n)? > > I don't know of any document containing the complexity of each > aggregate, but it's sometimes left as a comment in the souce code. Recent max() and min() can be O(n) or O(1) depending on the where-clause and presence of an index too, just to muddy the waters. -- Richard Huxton Archonet Ltd
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера