Group: Awaiting Activation
Posts: 172,
Visits: 12K
|
I cannot use a stored procedure as I'm parsing out aeronautical Fix information out of a text file and then validating the Latitude and Longitude coordinates so that I can get accurate great circle distances when needed.
That said, I found the "problem" ... I was loading up the 229,923 records within the validation loop ... which means I was an idiot. As you can imagine my performance has drastically increased!
The only reason I'm admitting to such a foolish error in a public forum is to clarify that in a situation like this that loading up all 229,923 records and then seeking against that data set results in more than reasonable performance, and, since the actual amount of data is very small one string and two doubles, it doesn't take too long to load and doesn't take up much memory either.
The whole validation takes place in roughly 30 seconds now.
C. T.
Charles T. Blankenship Senior Consultant Novant Consulting, Inc. 704.975.7152 http://www.novantconsulting.com
|