Re: [PERFORM] Performance issue

2003-09-24 Thread Joseph Bove
Peter, One possibility is to drop all the indexes, do the insert and re-add the indexes. The more indexes that exist and the more rows that exist, the more costly the insert. Regards, Joseph At 05:48 PM 9/24/2003 +1200, peter wrote: Hello, I have been trying to get my Postgres database to d

[PERFORM] Find one record

2003-09-18 Thread Joseph Bove
Dear list, I hope this to be a simple question. I have need to simply read the first row in a given table. Right now, I have some legacy code that selects all rows in a table just to see if the first row has a certain value. The code is seeking to see if an update has been run or not. A hypoth

Re: [PERFORM] Inconsistent performance

2003-09-16 Thread Joseph Bove
tting the operating system's cache. >You might want to increase the "shared_buffers" parameter in >postgresql.conf; that should lead to increased stability of times as >it should be more likely that the data in "table" will remain in >cache. Let's not

Re: [PERFORM] Inconsistent performance

2003-09-15 Thread Joseph Bove
tion = true #sql_inheritance = true #transform_null_equals = false #statement_timeout = 0 # 0 is disabled, in milliseconds #db_user_namespace = false # # Locale settings # # (initialized by initdb -- may be changed) LC_MESSAGES = 'en_US.UTF-8' LC_MONETARY = 'en_US.UTF

Re: [PERFORM] Inconsistent performance

2003-09-15 Thread Joseph Bove
can occur in the same minute of testing! Regards, Joseph At 02:34 PM 9/15/2003 -0700, you wrote: On Mon, 15 Sep 2003, Joseph Bove wrote: > I am working with a decent sized database on an extremely powerful machine. > The specs follow: > > OS: RedHat Linux

[PERFORM] Inconsistent performance

2003-09-15 Thread Joseph Bove
To whoever can assist, I am working with a decent sized database on an extremely powerful machine. The specs follow: OS: RedHat Linux 9.0 PG Version 7.3 Memory 1 gig CPU Quad Processor - Unsure of exact