Re: Re : Solaris Performance - Profiling (Solved)
От | Bruce Momjian |
---|---|
Тема | Re: Re : Solaris Performance - Profiling (Solved) |
Дата | |
Msg-id | 200204031841.g33IfEm10104@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Re : Solaris Performance - Profiling (Solved) (Mark kirkwood <markir@slingshot.co.nz>) |
Ответы |
Re: Re : Solaris Performance - Profiling (Solved)
|
Список | pgsql-general |
Mark kirkwood wrote: > > It might be entertaining to snarf a qsort off the net (from glibc, > > perhaps) and link it into Postgres to see if you get better results. > > > > regards, tom lane > > > Indeed it is - obtained qsort.c from Freebsd CVS and rebuilt Postgresql : > The query now takes 6 seconds instead of 1 hour ! Thanks for an > excellent suggestion. That is shocking. I have the Solaris 8 source code here so if people want info on exactly what is done in their qsort() routine, I can supply that. How can a routine change a query from 1 hour to 6 seconds? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: