pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: K C Lau <kclau60@netvigator.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: SELECT LIMIT 1 VIEW Performance Issue
Date: Tue, 4 Oct 2005 17:19:12 -0500
Message-ID: <20051004221911.GJ40138@pervasive.com> (raw)
In-Reply-To: <20051004211541.GB40138@pervasive.com>
References: <6.2.1.2.0.20050615100524.04f9d6a8@localhost>
	<6.2.1.2.0.20050922102035.07bcf2e0@localhost>
	<1127378456.4145.76.camel@localhost.localdomain>
	<6.2.1.2.0.20050922181009.02c36ca8@localhost>
	<1127474141.19345.10.camel@localhost.localdomain>
	<6.2.1.2.0.20050923195457.02c4fd30@localhost>
	<20051004211541.GB40138@pervasive.com>

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@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (27+ messages)  latest in thread

Message-ID: <20051004221911.GJ40138@pervasive.com>
Permalink:  ../20051004221911.GJ40138@pervasive.com/
Also on:    postgresql.org/message-id/20051004221911.GJ40138@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jnasby@pervasive.com, kclau60@netvigator.com, simon@2ndquadrant.com
  Subject: Re: SELECT LIMIT 1 VIEW Performance Issue
  In-Reply-To: <20051004221911.GJ40138@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox