Re: Index not used - Mailing list pgsql-performance

From meike.talbach@women-at-work.org
Subject Re: Index not used
Date
Msg-id trinity-d77fd0af-d639-4976-91e2-2091df205856-1466330366743@3capp-gmx-bs09
Whole thread Raw
In response to Re: Index not used  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-performance
<div style="font-family: Verdana;font-size: 12.0px;"><div class="gmail_default" style="font-family: arial , helvetica ,
sans-serif;display:inline;">> ​Or, better, persuade the app to label the value "</div><div class="gmail_default"
style="font-family:arial , helvetica , sans-serif;display: inline;">​</div><div>public.push_guid <div
class="gmail_default"style="font-family: arial , helvetica , sans-serif;display: inline;">​" since that is the column's
type​...atype you haven't defined for us.  If you get to add explicit casts this should be easy...but I'm not familiar
withthe framework you are using.</div><div class="gmail_default" style="font-family: arial , helvetica ,
sans-serif;display:inline;"> </div><div class="gmail_default" style="font-family: arial , helvetica ,
sans-serif;display:inline;"> </div><div class="gmail_default" style="font-family: arial , helvetica ,
sans-serif;display:inline;">push_guid was a CHARACTER(36) column. I ended up converting it to CHARACTER
VARYING(36).</div><divclass="gmail_default" style="font-family: arial , helvetica , sans-serif;display: inline;">Index
isnow being used and performance is as expected.</div><div class="gmail_default" style="font-family: arial , helvetica
,sans-serif;display: inline;"> </div><div class="gmail_default" style="font-family: arial , helvetica ,
sans-serif;display:inline;">Thanks a lot</div><div class="gmail_default" style="font-family: arial , helvetica ,
sans-serif;display:inline;">Meike</div></div></div> 

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: 9.6 query slower than 9.5.3
Next
From: Jeff Janes
Date:
Subject: Re: Savepoint and Releasepoint in Logs