Re: [PERFORM] query optimization question

2004-01-30 Thread Jack Coates
On Thu, 2004-01-29 at 23:23, Dennis Bjorklund wrote: > On Thu, 29 Jan 2004, Jack Coates wrote: > > > > Probably better to repost it as a gzip'd attachment. That should > > > > complete with a picture of the GUI version. 26k zipped, let's see if > > t

Re: [PERFORM] query optimization question

2004-01-29 Thread Jack Coates
let's see if this makes it through. -- Jack Coates, Lyris Technologies Applications Engineer 510-549-4350 x148, [EMAIL PROTECTED] "Interoperability is the keyword, uniformity is a dead end." --Olivier Fourdan ---(end of broadcast

Re: [PERFORM] query optimization question

2004-01-29 Thread Jack Coates
On Thu, 2004-01-29 at 11:31, Tom Lane wrote: > Jack Coates <[EMAIL PROTECTED]> writes: > > jackdb=# explain SELECT DISTINCT members_.memberid_ > > jackdb-# FROM members_ > > jackdb-# WHERE ( members_.List_='list1' > > jackdb(# AND members_.Memb

Re: [PERFORM] query optimization question

2004-01-29 Thread Jack Coates
On Thu, 2004-01-29 at 10:05, Tom Lane wrote: > Jack Coates <[EMAIL PROTECTED]> writes: > > That completed in 3.5 minutes on MS-SQL. I killed the query this morning > > after 15 hours on PostgreSQL 7.4. I tried a GROUP BY memberid_ HAVING > > variation, which completed

Re: [PERFORM] query optimization question

2004-01-29 Thread Jack Coates
On Wed, 2004-01-28 at 18:04, Tom Lane wrote: > Jack Coates <[EMAIL PROTECTED]> writes: > > I've got a query that needs some help, please. Is there a way to avoid > > all the looping? I've got freedom to work with the double-indented > > sections below ) A

[PERFORM] query optimization question

2004-01-28 Thread Jack Coates
e_)::text = 'list'::text) -> Hash (cost=4.82..4.82 rows=2 width=211) (actual time=0.017..0.017 rows=0 loops=818122) -> Index Scan using pk_members_ on members_ a (cost=0.00..4.82 rows=2 width=211) (actual time=0.011..0.013

Re: [PERFORM] tuning questions

2003-12-09 Thread Jack Coates
On Mon, 2003-12-08 at 11:19, Tom Lane wrote: > Jack Coates <[EMAIL PROTECTED]> writes: > > Theories at this point, in no particular order: > > > a) major differences between my 7.3.4 from source (compiled with no > > options) and dev's 7.3.2-1PGDG RPMs. Looking

Re: [PERFORM] tuning questions

2003-12-08 Thread Jack Coates
On Fri, 2003-12-05 at 17:22, Jack Coates wrote: ... > That's it, I'm throwing out this whole test series and starting over > with different hardware. Database server is now a dual 2GHz Xeon with > 2GB RAM & 2940UW SCSI, OS and PG's logs on 36G drive, PG data on 9GB &g

Re: [PERFORM] tuning questions

2003-12-05 Thread Jack Coates
ifferent hardware. Database server is now a dual 2GHz Xeon with 2GB RAM & 2940UW SCSI, OS and PG's logs on 36G drive, PG data on 9GB drive. Data is importing now and I'll restart the tests tonight. -- Jack Coates, Lyris Technologies Applications Engineer 510-549-4350 x148, [EMAIL PROTECTE

Re: [PERFORM] tuning questions

2003-12-04 Thread Jack Coates
On Thu, 2003-12-04 at 15:47, Richard Huxton wrote: > On Thursday 04 December 2003 23:16, Jack Coates wrote: > > > > > > effective_cache_size = 1 > > > > > > This is way the heck too low. it's supposed to be the size of all > > > availabl

Re: [PERFORM] tuning questions

2003-12-04 Thread Jack Coates
select is done and rows get moved from the active to the completed table. > Your effective cache size looks to be about 1900 megs (+- binary), > assuming all of it is pg. > > eric > -- Jack Coates, Lyris Technologies Applications Engineer 510-549-4350 x148, [EMAIL PROTECTED] &q

Re: [PERFORM] tuning questions

2003-12-04 Thread Jack Coates
y-query. Ran that by the programmer responsible for this area and watched the statements go by with tcpdump -X. Looks like really simple stuff to me: select a handful of values, then insert into one table and delete from another. -- Jack Coates, Lyris Technologies Applications Engineer 510-549-435

Re: [PERFORM] tuning questions

2003-12-04 Thread Jack Coates
On Thu, 2003-12-04 at 12:27, Richard Huxton wrote: > On Thursday 04 December 2003 19:50, Jack Coates wrote: > > > > I'm trying to set Postgres's shared memory usage in a fashion that > > allows it to return requested results quickly. Unfortunately, none of > &g

Re: [PERFORM] tuning questions

2003-12-04 Thread Jack Coates
t; updating out-of-date information about setting up PostgreSQL. I never got a > response, and I don't think my changes were made. She sits on the other side of the cube wall from me, and if I find a decent config it's going into the manual -- consider this a golden opportunity :

Re: [PERFORM] tuning questions

2003-12-04 Thread Jack Coates
s a touchy subject. The pgavd conversation is intriguing, but I don't really understand the role of vacuuming. Would this be a correct statement: "PG needs to regularly re-evaluate the database in order to adjust itself?" I'm imagining that it continues to treat the table as a small on

[PERFORM] tuning questions

2003-12-04 Thread Jack Coates
I've read several sites and postings on tuning PG and have tried a number of different theories, but I'm still not getting the architecture of how things work. thanks, -- Jack Coates, Lyris Technologies Applications Engineer 510-549-4350 x148, [EMAIL PROTECTE