| От | Mark Butler |
|---|---|
| Тема | Re: New benchmark result |
| Дата | |
| Msg-id | 3AD79000.B4AEE528@middle.net обсуждение исходный текст |
| Ответ на | Re: NUMERIC type efficiency problem (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Mark Butler wrote: > I did several tests with functions designed to sum the number 12345 a million > times. The results are as follows (Pentium II 450, Redhat 6.2): > > Postgres PL/PGSQL original numeric: 14.8 seconds > Postgres PL/PGSQL modified numeric: 11.0 seconds > Postgres PL/PGSQL float8: 10.7 seconds > GNU AWK: 2.5 seconds > Oracle PL/SQL number: 2.0 seconds I have a new result: Postgres PL/PGSQL integer: 7.5 seconds I do not know what to attribute the large difference between float8 and int to other than pg_alloc overhead used in the calling convention for float8. Commments? - Mark Butler
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера