Index-speeds

From: "Kapil Tilwani" <karan_pg_2(at)yahoo(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Index-speeds
Date: 2001-08-03 18:05:45
Message-ID: 001e01c11cbc$3ab73880$1300a8c0@kapil1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
Could u just tell me, why do my Access queries run at least 2 times faster than PG queries and 1.5 times faster than MS-SQL. The query involves one master table containing 10000 records, left - joined for getting Transactional sums from records in other tables... Purchases, Sales, PurReturns, SalesReturns, OtherIssues.

It takes 60-75 seconds in access, 100-120 seconds in SQL Server and 150 seconds in PG


Secondly, is it possible to have an index like :
create index in_a on a.id where a.id>5000

Thanx
Kapil

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2001-08-03 20:23:33 Re: HELP! BUG? pg_dump mucks up grant/revoke
Previous Message Kapil Tilwani 2001-08-03 18:05:25 Referential Integrity thru Views