Re: Questions on query planner, join types, and work_mem - Mailing list pgsql-performance

From Jayadevan M
Subject Re: Questions on query planner, join types, and work_mem
Date
Msg-id OF7B3491A5.E3985E12-ON6525776E.00184195-6525776E.00189A25@ibsplc.com
Whole thread Raw
In response to Questions on query planner, join types, and work_mem  (Peter Hussey <peter@labkey.com>)
List pgsql-performance
Hello,
> the join column, lsid, is a poor choice for a join column as it is a
> long varchar value (avg length 101 characters) that us only gets
> unique way out on the right hand side.
Would a join on subtring on the 'way out on the right hand side' (did you
mean 'rightmost characters' or 'only when we take almost all the 101
characters'?) together with a function based index help?
Regards,
Jayadevan





DISCLAIMER:

"The information in this e-mail and any attachment is intended only for
the person to whom it is addressed and may contain confidential and/or
privileged material. If you have received this e-mail in error, kindly
contact the sender and destroy all copies of the original communication.
IBS makes no warranty, express or implied, nor guarantees the accuracy,
adequacy or completeness of the information contained in this email or any
attachment and is not liable for any errors, defects, omissions, viruses
or for resultant loss or damage, if any, direct or indirect."






pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Questions on query planner, join types, and work_mem
Next
From: Tom Lane
Date:
Subject: Re: Questions on query planner, join types, and work_mem