This command gets some data from MySQL and then manipulates it. Why is the 'real' time so much higher than the 'user' time?
>time ./command.rb
real 45m45.457s
user 3m36.478s
sys 0m28.226s
For clarification - I understand the difference between the real, user, and sys output. However, I am confused at why there is such a great difference. The machine I am running this on has virtually nothing else using the CPU, and I don't have any threading in my command. All it does is fetch data. Could a complex MySQL statement be the cause of such a gap?