Re: SELECT LIMIT 1 VIEW Performance Issue

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: K C Lau <kclau60(at)netvigator(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: SELECT LIMIT 1 VIEW Performance Issue
Date: 2005-10-04 22:19:12
Message-ID: 20051004221911.GJ40138@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Oct 04, 2005 at 04:15:41PM -0500, Jim C. Nasby wrote:
> > Index Cond: ((playerid)::text = '22220'::text)

Also, why is playerid a text field? Comparing ints will certainly be
faster...
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Lewis 2005-10-04 22:23:52 Re: Is There Any Way ....
Previous Message Jim C. Nasby 2005-10-04 22:16:40 Re: Comparative performance