Re: Index-speeds

From: GH <grasshacker(at)over-yonder(dot)net>
To: Kapil Tilwani <karan_pg_2(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Index-speeds
Date: 2001-08-04 10:30:48
Message-ID: 20010804053048.F48649@over-yonder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 03, 2001 at 11:35:45PM +0530, some SMTP stream spewed forth:
> Hi,
> Could you 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

We really need more information. We need things like table definitions
and queries.

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

Not in a current release.
There was some really good work done on partial indices recently, I
suspect they will be in 7.2.

> Thanx
> Kapil

gh
--
What, no one sings along with Ricky Martin anymore?
My kid sister does (but then, she prefers pico to vi ...)
-- Suresh Ramasubramanian, alt.sysadmin.recovery

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank Joerdens 2001-08-04 11:43:22 dumping and reloading ONLY large objects
Previous Message GH 2001-08-04 10:22:38 Re: Referential Integrity thru Views