Author: Robert Sample
Posted: Tue Apr 11, 2017 6:32 pm (GMT 5.5)
It sounds like your problem is not sorting but something else -- 60,000 records in 9 hours is about 2 records per second and that is WAY off. I just looked at one of our SMF jobs and SAS sorted 17,561 records in 5.31 seconds of elapsed time and 3.65 seconds of CPU time. For a sort to run for 9 hours, it should involve hundreds of millions or even billions of records. Record length has little to do with how long a sort takes, so why tell us the records are 30,000 bytes long?
I'd start by looking at:
- WLM policy
- REGION size of the SORT step
- channel / device contention
You are asking the WRONG question -- SORT can run much, much, MUCH faster than 60,000 records in 9 hours, so you need to ask what is causing the slowdown at your site? Contact your site support group and work with them because the performance of your sort is nothing less than abysmal.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Posted: Tue Apr 11, 2017 6:32 pm (GMT 5.5)
It sounds like your problem is not sorting but something else -- 60,000 records in 9 hours is about 2 records per second and that is WAY off. I just looked at one of our SMF jobs and SAS sorted 17,561 records in 5.31 seconds of elapsed time and 3.65 seconds of CPU time. For a sort to run for 9 hours, it should involve hundreds of millions or even billions of records. Record length has little to do with how long a sort takes, so why tell us the records are 30,000 bytes long?
I'd start by looking at:
- WLM policy
- REGION size of the SORT step
- channel / device contention
Quote: |
is it any other way or sort technic to sort quickly? |
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth