Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread 李彦 Ian Li
In #postgresql on freenode, somebody ever mentioned that ZFS from Solaris helps a lot to the performance of pgsql, so dose anyone have information about that? Steve Atkins wrote: On May 7, 2007, at 2:55 PM, David Levy wrote: Hi, I am about to order a new server for my Postgres cluster. I w

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Tom Lane
Greg Smith <[EMAIL PROTECTED]> writes: > Debian packages PostgreSQL in a fashion unique to it; it's arguable > whether it's better or not (I don't like it), but going with that will > assure your installation is a bit non-standard compared with most Linux > installas. What Debian has done is

Re: [PERFORM] How to Find Cause of Long Vacuum Times - NOOB Question

2007-05-07 Thread Yudhvir Singh Sidhu
Jim Nasby wrote: On May 5, 2007, at 5:57 PM, Yudhvir Singh Sidhu wrote: Problem: Vacuum times jump up from 45 minutes, or 1:30 minutes to 6+ hours overnight, once every 1 to 3 months. Solutions tried: db truncate - brings vacuum times down. Reindexing brings vacuum times down. Does it jump

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Greg Smith
On Mon, 7 May 2007, David Levy wrote: I am hesitating between Fedora Core 6, CentOS and Debian. Can anyone help with this ? Debian packages PostgreSQL in a fashion unique to it; it's arguable whether it's better or not (I don't like it), but going with that will assure your installation is a

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Ron
I am using FC6 in production for our pg 8.2.4 DB server and am quite happy with it. The big advantage with FC6 for me was that the FC6 team seems to keep more current with the latest stable revs of most OSSW (including kernel revs!) better than any of the other major distros. (Also, SE Linux

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Chris
[EMAIL PROTECTED] wrote: On Tue, 8 May 2007, Chris wrote: David Levy wrote: Hi, I am about to order a new server for my Postgres cluster. I will probably get a Dual Xeon Quad Core instead of my current Dual Xeon. Which OS would you recommend to optimize Postgres behaviour (i/o access, mu

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread david
On Tue, 8 May 2007, Chris wrote: David Levy wrote: Hi, I am about to order a new server for my Postgres cluster. I will probably get a Dual Xeon Quad Core instead of my current Dual Xeon. Which OS would you recommend to optimize Postgres behaviour (i/o access, multithreading, etc) ? I a

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Chris
David Levy wrote: Hi, I am about to order a new server for my Postgres cluster. I will probably get a Dual Xeon Quad Core instead of my current Dual Xeon. Which OS would you recommend to optimize Postgres behaviour (i/o access, multithreading, etc) ? I am hesitating between Fedora Core 6, CentO

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Steve Atkins
On May 7, 2007, at 2:55 PM, David Levy wrote: Hi, I am about to order a new server for my Postgres cluster. I will probably get a Dual Xeon Quad Core instead of my current Dual Xeon. Which OS would you recommend to optimize Postgres behaviour (i/o access, multithreading, etc) ? I am hesitatin

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Joshua D. Drake
Bill Moran wrote: In response to "Joshua D. Drake" <[EMAIL PROTECTED]>: David Levy wrote: Hi, I am about to order a new server for my Postgres cluster. I will probably get a Dual Xeon Quad Core instead of my current Dual Xeon. Which OS would you recommend to optimize Postgres behaviour (i/o a

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Bill Moran
In response to "Joshua D. Drake" <[EMAIL PROTECTED]>: > David Levy wrote: > > Hi, > > > > I am about to order a new server for my Postgres cluster. I will > > probably get a Dual Xeon Quad Core instead of my current Dual Xeon. > > Which OS would you recommend to optimize Postgres behaviour (i/o >

Re: [PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread Joshua D. Drake
David Levy wrote: Hi, I am about to order a new server for my Postgres cluster. I will probably get a Dual Xeon Quad Core instead of my current Dual Xeon. Which OS would you recommend to optimize Postgres behaviour (i/o access, multithreading, etc) ? I am hesitating between Fedora Core 6, CentO

[PERFORM] Best OS for Postgres 8.2

2007-05-07 Thread David Levy
Hi, I am about to order a new server for my Postgres cluster. I will probably get a Dual Xeon Quad Core instead of my current Dual Xeon. Which OS would you recommend to optimize Postgres behaviour (i/o access, multithreading, etc) ? I am hesitating between Fedora Core 6, CentOS and Debian. Can an

Re: [PERFORM] How to Find Cause of Long Vacuum Times - NOOB Question

2007-05-07 Thread Jim Nasby
On May 5, 2007, at 5:57 PM, Yudhvir Singh Sidhu wrote: Problem: Vacuum times jump up from 45 minutes, or 1:30 minutes to 6 + hours overnight, once every 1 to 3 months. Solutions tried: db truncate - brings vacuum times down. Reindexing brings vacuum times down. Does it jump up to 6+ hours j

Re: [PERFORM] Merging large volumes of data

2007-05-07 Thread Tom Lane
Andreas Kostyrka <[EMAIL PROTECTED]> writes: > Ambrus Wagner (IJ/ETH) wrote: >> Is there a way to prevent PostgreSQL from doing a full sort on the result >> set after the unions have been completed? Even if I write >> >> (select a,b,c,d,e from table1 order by a,b) union all >> (select a,b,c,d,e f

Re: [PERFORM] Merging large volumes of data

2007-05-07 Thread Gregory Stark
"Andreas Kostyrka" <[EMAIL PROTECTED]> writes: >> (select a,b,c,d,e from table1 order by a,b) union all >> (select a,b,c,d,e from table2 order by a,b) union all >> etc... >> (select a,b,c,d,e from tablen order by a,b) order by a,b; >> >> PostgreSQL does not seem to realise (maybe it should not

Re: [PERFORM] Merging large volumes of data

2007-05-07 Thread Andreas Kostyrka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think you'll have to stick with doing your sorting (or merging) in your client. Don't think that PG recognizes the fact it's just a merge step. Andreas Ambrus Wagner (IJ/ETH) wrote: > Dear All, > > I have several tables containing data sorted by 2

[PERFORM] Merging large volumes of data

2007-05-07 Thread Ambrus Wagner (IJ/ETH)
Dear All, I have several tables containing data sorted by 2 keys (neither are keys in db terms (not unique), however). I would like to retrieve all rows from all tables sorted by the same keys, essentially merging the contents of the tables together. While I am completely aware of sort order no