880041 wrote:Well it's an operating system command written in low-level C language, so it's about as fast as it's going to get for counting the lines in a file.
I used this wc -l approach...But it's taking hell lot of time to come out..wc command is taking more than 2 hours.I am not ready to use this time consuming approach.
I'm facing the same issue, the problem seems to be what Benoit is mentioning in this post:
The report given here by the original poster gives an even further indication that this is true, since the
"Total logical records read:" is 4294967295, which is EXACTLY 2^32.
This is a Y2K-type of bug. "Who would -ever- try and load 5 billion records, right? right?"