I have a large file with an MV set I need to do an exploding sort
against (about 2 million records, about 20 MVs per record). I'm not
actually after any particular sort order but it's taking hours.
I'm wondering if there is any efficiency advantage by telling it to use
a primary sort on the ID or just to sort on the MV attribute? 
My (probably flawed) reasoning is that if the primary sort is on the id
then the sort process wouldn't have to build up one big explode - as it
would have a primary sort by record, it then only needs to explode each
record at a time.

Eg. 
SSELECT BIGFILE BY @ID BY.EXP MV.ATTRIBUTE
Or
SSELECT BIGFILE BY.EXP MV.ATTRIBUTE

Anyone know the answer to that one?

Stuart Boydell


 
**********************************************************************
This email message and any files transmitted with it are confidential and 
intended solely for the use of addressed recipient(s). If you have received 
this communication in error, please reply to this e-mail to notify the sender 
of its incorrect delivery and then delete it and your reply.  It is your 
responsibility to check this email and any attachments for viruses and defects 
before opening or sending them on. Spotless collects information about you to 
provide and market our services. For information about use, disclosure and 
access, see our privacy policy at http://www.spotless.com.au 
Please consider our environment before printing this email. 
********************************************************************** 
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to