Computing.Net > Forums > Unix > sorting large file

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

sorting large file

Reply to Message Icon

Original Message
Name: abhinav_kumar
Date: February 28, 2008 at 02:07:53 Pacific
Subject: sorting large file
OS: unix
CPU/Ram: 512 mb
Comment:

hello!!
i want to sort a file which contains millions of records based on multiple fields.
My file is delimited by , and have 20 fields
I am using sort command but i am getting error
"sort:write error while merging"
what is the alternative of this.??
or is there any way to overcomw this??


help!!
thanx



Report Offensive Message For Removal


Response Number 1
Name: wollie
Date: February 28, 2008 at 07:30:30 Pacific
Reply: (edit)

Hi,

to me it seems to be an issue with your diskspace. You need space for the inputfile, the outputfile and temporary space used by the sort command.
More diskspace would probably solve the problem.

cheers
Wollie


Report Offensive Follow Up For Removal

Response Number 2
Name: abhinav_kumar
Date: February 28, 2008 at 22:09:36 Pacific
Reply: (edit)

thanx Wollie for the suggestion
:)


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History




Data Recovery Software