X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 338499FB255 for ; Thu, 17 Aug 2006 17:00:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 75133-08 for ; Thu, 17 Aug 2006 17:00:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by postgresql.org (Postfix) with ESMTP id AF3349FB254 for ; Thu, 17 Aug 2006 17:00:19 -0300 (ADT) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1GDo2M-00053Y-Ms for pgsql-performance@postgresql.org; Thu, 17 Aug 2006 21:00:18 +0100 Received: from [192.168.0.2] (55-038.adsl.zetnet.co.uk [194.247.55.38]) by zetnet.co.uk (8.13.6/8.13.6/Debian-1) with ESMTP id k7HK0Hr5008035 for ; Thu, 17 Aug 2006 21:00:17 +0100 Received: from 127.0.0.1 (AVG SMTP 7.1.405 [268.11.2/422]); Thu, 17 Aug 2006 20:58:20 +0100 From: "Peter Hardman" To: pgsql-performance@postgresql.org Date: Thu, 17 Aug 2006 20:58:20 +0100 MIME-Version: 1.0 Subject: Re: PostgreSQL runs a query much slower than BDE and MySQL Message-ID: <44E4D86C.21053.F3E7E1@peter.ssbg.zetnet.co.uk> In-reply-to: <44E35A5D.19933.35F376@peter.ssbg.zetnet.co.uk> X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.014 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200608/287 X-Sequence-Number: 20472 On 16 Aug 2006 at 17:48, Peter Hardman wrote: > I'm in the process of migrating a Paradox 7/BDE 5.01 database from single-user > Paradox to a web based interface to either MySQL or PostgreSQL. I've uploaded my data to www.shetland-sheep.org.uk/pgdata/sheep-flock.zip The flock SSBXXX is the 'big flock in the sky' and thus there should never be any date for a sheep greater than this. Yes, the primary key is regn_no + flock_no + transfer_date. Thanks again for all the help and advice. Regards,-- Peter Hardman Acre Cottage, Horsebridge King's Somborne Stockbridge SO20 6PT == Breeder of Shetland Cattle and Shetland Sheep ==