In Unidata, I think so.

In Universe the answer is yes.

Actually this is one of the two benefits, the other is selecting a set of ids 
for a given index value.

For example, if you have a CUSTOMER file with the ZIP (postal) code indexed 
then this statement will give you all of your customers sorted by ZIP code and 
and it will be quick.


On Thursday, March 13, 2014 2:26 PM, Dave Laansma <> 
I do not believe so. I believe an index is only used during the SELECT 
statement and then only when the indexed field is the only field in the select 

So, if practical, use the indexed field in the first selection of the file, 
then all records will be in sorted order of the indexed field. Then narrow that 
list down by other, non-indexed fields.

David Laansma
Hubbard Supply Co.
Direct: 810-342-7143
Office: 810-234-8681
Fax: 810-234-6142
"Delivering Products, Services and Innovative Solutions"

-----Original Message-----
[] On Behalf Of Dave Davis
Sent: Thursday, March 13, 2014 2:19 PM
To: U2 Users List
Subject: Re: [U2] unidata index

Don't know - I wouldn't index a field for that reason alone.

And it probably wouldn't help if you had other fields you were sorting by, or 
other fields you were selecting, in the same select statement.

-----Original Message-----
[] On Behalf Of Jeffrey Butera
Sent: Thursday, March 13, 2014 2:15 PM
To: U2 Users List
Subject: [U2] unidata index

Stupid index question: does indexing a field help performance when sorting BY 
that field but it's not otherwise involved in the query?

Jeffrey Butera, PhD
Associate Director for Applications and Web Services Information Technology 
Hampshire College

U2-Users mailing list

Dave Davis
Team Lead, Research & Development

P: 614-875-4910 x108
F: 614-875-4088

        6110 Enterprise Parkway
Grove City, OH

This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.

U2-Users mailing list
U2-Users mailing list
U2-Users mailing list

Reply via email to