Re: [PERFORM] Help with bulk read performance

2010-12-13 Thread Jim Nasby
On Nov 1, 2010, at 9:15 AM, Dan Schaffer wrote: > We have an application that needs to do bulk reads of ENTIRE Postgres tables > very quickly (i.e. select * from table). We have observed that such > sequential scans run two orders of magnitude slower than observed raw disk > reads (5 MB/s versu

Re: [PERFORM] Tunning Postgres

2010-12-13 Thread Grzegorz Jaśkiewicz
Try going through the archives first because your question probably has been answered many times already (altho there is no definitive question as to what server postgresql would need to run to fit your purpose). Also, this is English list. If you prefer to ask questions in Brazilian/Portuguese th

Re: [PERFORM] Hardware recommendations

2010-12-13 Thread mark
> -Original Message- > From: pgsql-performance-ow...@postgresql.org [mailto:pgsql-performance- > ow...@postgresql.org] On Behalf Of Benjamin Krajmalnik > Sent: Monday, December 13, 2010 1:45 PM > To: Greg Smith > Cc: pgsql-performance@postgresql.org > Subject: Re: [PERFORM] Hardware recom

Re: [PERFORM] Tunning Postgres

2010-12-13 Thread Robert Haas
2010/12/8 salima : > > Pessoal, > > Estou com uma dúvida ao fazer Tunning no arquivo de configuração do > Postgres. > > Minha aplicação tem varios acessos simultâneos, chegando picos de 2000 mil > ou até mais. Por ser uma aplicação Web fica dificil de se estipular o > "max_connections", sem contar

Re: [PERFORM] Hardware recommendations

2010-12-13 Thread Benjamin Krajmalnik
> -Original Message- > From: Greg Smith [mailto:g...@2ndquadrant.com] > Sent: Saturday, December 11, 2010 2:18 AM > To: Benjamin Krajmalnik > Cc: pgsql-performance@postgresql.org > Subject: Re: [PERFORM] Hardware recommendations > > > What sort of total read/write rates are you seeing w

Re: [PERFORM] CPU bound

2010-12-13 Thread Josh Berkus
On 12/12/10 6:43 PM, Royce Ausburn wrote: > Hi all, > > I notice that when restoring a DB on a laptop with an SDD, typically postgres > is maxing out a CPU - even during a COPY. I wonder, what is postgres usually > doing with the CPU? I would have thought the disk would usually be the > bottl

Re: [PERFORM] CPU bound

2010-12-13 Thread Craig Ringer
On 12/13/2010 10:43 AM, Royce Ausburn wrote: Hi all, I notice that when restoring a DB on a laptop with an SDD, typically postgres is maxing out a CPU - even during a COPY. I wonder, what is postgres usually doing with the CPU? I would have thought the disk would usually be the bottleneck i