Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fACE7bm06273 for ; Mon, 12 Nov 2001 09:07:37 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id fACDqMS14986 for pgsql-admin@postgresql.org; Mon, 12 Nov 2001 08:52:22 -0500 (EST) (envelope-from news) From: "Jeff Boes" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Timestamp indexes aren't used for ">=" Date: Mon, 12 Nov 2001 08:53:58 -0500 Organization: Nexcerpt, Inc. Lines: 25 Message-ID: <9sok6l$ek7$1@news.tht.net> References: <20011109145054.H59285-100000@megazone23.bigpanda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: scrappy@hub.org User-Agent: Pan/0.9.90 (Unix) To: pgsql-admin@postgresql.org X-Archive-Number: 200111/46 X-Sequence-Number: 2571 In article <20011109145054.H59285-100000@megazone23.bigpanda.com>, "Stephan Szabo" wrote: > How many rows are in the table? Have you run vacuum analyze? Sorry, that information was in the original post, but perhaps you missed it: In article <9shhnf$23ks$1@news.tht.net>, "Jeff Boes" wrote: > We have a table which has approximately 400,000 rows. It has 17 columns, > and 4 indexes. The primary key is a int4 (filled by a sequence), > additionally we have two more int4 indexes and a timestamp index. Yes, VACUUM ANALYZE gets run every 24 hours, and currently the table grows by some 25K-40K rows per day. Could a factor be the time elapsed between the VACUUM and the query? -- Jeff Boes vox 616.226.9550 Database Engineer fax 616.349.9076 Nexcerpt, Inc. jboes@nexcerpt.com