Re: Index-speeds

From: "Nils O(dot) =?iso-8859-1?q?Sel=E5sdal?=" <noselasd(at)frisurf(dot)no>
To: "Kapil Tilwani" <karan_pg_2(at)yahoo(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Index-speeds
Date: 2001-08-04 15:16:08
Message-ID: 200108041413.QAA22991@mail45.fg.online.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 03 August 2001 19:05, Kapil Tilwani wrote:
> 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
I also found postgres extremly slow the first time i tested it, comapring it
to other dbms. That was until someone told me to look at the 'VACUUM ANALYZE'
sql command. Have you ever run that? If not now is the time.

--
Nils O. Selåsdal

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-08-04 16:28:12 Re: HELP! BUG? pg_dump mucks up grant/revoke
Previous Message Stephan Szabo 2001-08-04 15:14:48 Re: Referential Integrity thru Views