Re: [PERFORM] Posrgres speed problem

2006-06-13 Thread Ruben Rubio Rey
Jim C. Nasby wrote: On Mon, Jun 12, 2006 at 09:05:06AM -0600, Michael Fuhr wrote: On Mon, Jun 12, 2006 at 04:38:57PM +0200, Ruben Rubio Rey wrote: I have two similar servers, one in production and another for testing purposes. Databases are equal (with a difference of some hours) In

Re: [PERFORM] Posrgres speed problem - solved?

2006-06-13 Thread Ruben Rubio Rey
Tonight database has been vacumm full and reindex (all nights database do it) Now its working fine. Speed is as spected. I ll be watching that sql ... Maybe the problem exists when database is busy, or maybe its solved ... ---(end of

Re: [PERFORM] Posrgres speed problem - solved?

2006-06-13 Thread Guido Neitzer
On 13.06.2006, at 8:44 Uhr, Ruben Rubio Rey wrote: Tonight database has been vacumm full and reindex (all nights database do it) Now its working fine. Speed is as spected. I ll be watching that sql ... Maybe the problem exists when database is busy, or maybe its solved ... Depending on

Re: [PERFORM] Posrgres speed problem - solved?

2006-06-13 Thread Ruben Rubio Rey
Guido Neitzer wrote: On 13.06.2006, at 8:44 Uhr, Ruben Rubio Rey wrote: Tonight database has been vacumm full and reindex (all nights database do it) Now its working fine. Speed is as spected. I ll be watching that sql ... Maybe the problem exists when database is busy, or maybe its

Re: [PERFORM] Posrgres speed problem - solved!

2006-06-13 Thread Ruben Rubio Rey
Seems autovacumm is working fine. Logs are reporting that is being useful. But server load is high. Is out there any way to stop autovacumm if server load is very high? Thanks everyone!!! ---(end of broadcast)--- TIP 3: Have you checked our

Re: [PERFORM] Posrgres speed problem - solved!

2006-06-13 Thread Guido Neitzer
On 13.06.2006, at 12:33 Uhr, Ruben Rubio Rey wrote: Seems autovacumm is working fine. Logs are reporting that is being useful. But server load is high. Is out there any way to stop autovacumm if server load is very high? Look at the cost settings for vacuum and autovacuum. From the

[PERFORM] Posrgres speed problem

2006-06-12 Thread Ruben Rubio Rey
Hi, Im having a problem with postgres 8.1.3 on a Fedora Core 3 (kernel 2.6.9-1.667smp) I have two similar servers, one in production and another for testing purposes. Databases are equal (with a difference of some hours) In the testing server, an sql sentence takes arround 1 sec. In

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Dave Dutcher
Do you run analyze on the production server regularly? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruben Rubio Rey Sent: Monday, June 12, 2006 9:39 AM To: pgsql-performance@postgresql.org Subject: [PERFORM] Posrgres speed problem Hi

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Ruben Rubio Rey
Gábriel Ákos wrote: Ruben Rubio Rey wrote: Hi, Im having a problem with postgres 8.1.3 on a Fedora Core 3 (kernel 2.6.9-1.667smp) I have two similar servers, one in production and another for testing purposes. Databases are equal (with a difference of some hours) In the testing

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Ruben Rubio Rey
Jonah H. Harris wrote: On 6/12/06, Ruben Rubio Rey [EMAIL PROTECTED] wrote: I have two similar servers, one in production and another for testing purposes. In testing server ~1sec ... in production ~50 secs What ver of PostgreSQL? Version 8.1.3 Same ver on both systems? Yes Are

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Michael Fuhr
On Mon, Jun 12, 2006 at 04:38:57PM +0200, Ruben Rubio Rey wrote: I have two similar servers, one in production and another for testing purposes. Databases are equal (with a difference of some hours) In the testing server, an sql sentence takes arround 1 sec. In production server (low

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Jim C. Nasby
On Mon, Jun 12, 2006 at 04:58:49PM +0200, Ruben Rubio Rey wrote: $DIREC/vacuumdb -f -v --analyze vacadb 21 | $LOGBIN $DIRLOGS/%Y-%m-%d_limpieza.log echo reindex database vacadb; | $DIREC/psql vacadb 21 | $LOGBIN $DIRLOGS/%Y-%m-%d_limpieza.log date | $LOGBIN $DIRLOGS/%Y-%m-%d_limpieza.log

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Ruben Rubio Rey
Jim C. Nasby wrote: On Mon, Jun 12, 2006 at 04:58:49PM +0200, Ruben Rubio Rey wrote: $DIREC/vacuumdb -f -v --analyze vacadb 21 | $LOGBIN $DIRLOGS/%Y-%m-%d_limpieza.log echo reindex database vacadb; | $DIREC/psql vacadb 21 | $LOGBIN $DIRLOGS/%Y-%m-%d_limpieza.log date | $LOGBIN

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Jim C. Nasby
On Mon, Jun 12, 2006 at 09:05:06AM -0600, Michael Fuhr wrote: On Mon, Jun 12, 2006 at 04:38:57PM +0200, Ruben Rubio Rey wrote: I have two similar servers, one in production and another for testing purposes. Databases are equal (with a difference of some hours) In the testing server,

Re: [PERFORM] Posrgres speed problem

2006-06-12 Thread Jim C. Nasby
On Mon, Jun 12, 2006 at 05:22:05PM +0200, Ruben Rubio Rey wrote: Jim C. Nasby wrote: On Mon, Jun 12, 2006 at 04:58:49PM +0200, Ruben Rubio Rey wrote: $DIREC/vacuumdb -f -v --analyze vacadb 21 | $LOGBIN $DIRLOGS/%Y-%m-%d_limpieza.log echo reindex database vacadb; | $DIREC/psql vacadb