Обсуждение: running benchmark test on a 50GB database
Hi, I am running bechmark test in a 50 GB postgresql database. I have the postgresql.conf with all parameters by default. In this configuration the database is very, very slow. Could you please tell which is the best configuration? My system: Pentium D 3.0Ghz RAM: 1GB HD: 150GB SATA Thanks in advance, Nuno
I would start by reading this web page: http://powerpostgresql.com/PerfList There are probably some other web pages out there with similar information, or you can check the mailing list archives for a lot of info. If those places don't help, then you should try to indentify what queries are slow, post an EXPLAIN ANALYZE of the slow queries along with the relvent schema info (i.e. table definitions and indexes). > -----Original Message----- > From: pgsql-performance-owner@postgresql.org > [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of > Nuno Alves > Sent: Wednesday, September 20, 2006 10:28 AM > To: pgsql-performance@postgresql.org > Subject: [PERFORM] running benchmark test on a 50GB database > > > Hi, > > I am running bechmark test in a 50 GB postgresql database. > I have the postgresql.conf with all parameters by default. > In this configuration the database is very, very slow. > > Could you please tell which is the best configuration? > > My system: > Pentium D 3.0Ghz > RAM: 1GB > HD: 150GB SATA > > Thanks in advance, > Nuno > > ---------------------------(end of > broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match >
> I am running bechmark test in a 50 GB postgresql database. > I have the postgresql.conf with all parameters by default. > In this configuration the database is very, very slow. > > Could you please tell which is the best configuration? > > My system: > Pentium D 3.0Ghz > RAM: 1GB > HD: 150GB SATA We don't know what your database looks like, what the queries are you're running, what "very, very slow" means for you and what version of PostgreSQL on what OS this is :/ The two links are a good starting point to tuning your DB: http://www.postgresql.org/docs/8.1/static/performance-tips.html http://www.powerpostgresql.com/PerfList/ Bye, Chris.
On Wed, Sep 20, 2006 at 05:47:41PM +0200, Chris Mair wrote: > > > I am running bechmark test in a 50 GB postgresql database. > > I have the postgresql.conf with all parameters by default. > > In this configuration the database is very, very slow. > > > > Could you please tell which is the best configuration? > > > > My system: > > Pentium D 3.0Ghz > > RAM: 1GB > > HD: 150GB SATA > > We don't know what your database looks like, what the > queries are you're running, what "very, very > slow" means for you and what version of PostgreSQL > on what OS this is :/ > > The two links are a good starting point to tuning your DB: > http://www.postgresql.org/docs/8.1/static/performance-tips.html > http://www.powerpostgresql.com/PerfList/ Also, 1G is kinda light on memory for a 50G database. -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)