[PERFORM] Optimizer refuses to hash join

2004-07-29 Thread Stan Bielski
Hello, I having a great deal of difficulty getting postgres to do a hash join. Even if I disable nestloop and mergejoin in postgres.conf, the optimizer still refuses to select hash join. This behavior is killing my performance. Postgres version is 7.3.2 and relevant tables are vacuum analyzed. H

[PERFORM] Indexing question

2004-06-20 Thread Stan Bielski
Hello all, I have a rather large table (~20 GB) of network logs taken over the period of a month and stored under postgres 7.3. I'm trying to create an indexing scheme so that I can do a query with a "where time > foo and time < bar" and get the results without too much waiting. With this in mind,