Hi all,
I'm trying to process some data files, I have around a gig of files in total. I'm using random file access as each file has a fixed record size. If i use a user defined data type with the get statement I can easily get a throughput of over 3,000 records per second. Great!
However, the structure needs to be defined at run time so I can't (well I don't think I can) use a structure. Instead, the format of the data file is stored in a config file that is loaded when the routine is run. With me so far?
This is the problem though - I have to use the mid operator which drops my speed down to 500 records per second. Not so good.
Any ideas?
James.
I'm trying to process some data files, I have around a gig of files in total. I'm using random file access as each file has a fixed record size. If i use a user defined data type with the get statement I can easily get a throughput of over 3,000 records per second. Great!
However, the structure needs to be defined at run time so I can't (well I don't think I can) use a structure. Instead, the format of the data file is stored in a config file that is loaded when the routine is run. With me so far?
This is the problem though - I have to use the mid operator which drops my speed down to 500 records per second. Not so good.
Any ideas?
James.