Christopher Browne wrote:
> pgman@candle.pha.pa.us (Bruce Momjian) writes:
> > 5) How can I compile for optimum performance?
> >
> > Try using the "-fast" compile flag. The binaries might not be portable to
> > other Solaris systems, and you might need to compile everything that links
> > to PostgreSQL with "-fast", but PostgreSQL will run significantly faster,
> > 50% faster on some tests.
>
> You might also mention something like the following:
>
> If you are compiling using GCC, you will quite likely want to add in
> the "-O2" compile flag.
We already do that by default in current CVS for gcc, and -O for
non-gcc.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073