Hey Everyone been working on a python program that reads though some pretty big data files 100MB is the smallest. All are tab delineated so it's quite a bit of data to parse though. I've already setup filters to narrow the about down which speeds it up. Just wanting some others ideas that might help speed this up in case the user want to read the whole file. Right now it takes about 30 mins for just a 138MB file and I know there are 500MB files to read on a bad day. I was hope maybe you guys could come up with any idea to speed up reading?
Neil
Any extra Ideas
Moderators: snarkout, Patrick, dann
-
satcom-neil
- Posts: 4
- Joined: Sat Aug 25, 2007 10:02 am
- Location: Not in the US right now
-
satcom-neil
- Posts: 4
- Joined: Sat Aug 25, 2007 10:02 am
- Location: Not in the US right now
riddle
I've gotten it to run the 138MB file in about 10-14 mins just by reading the whole file into memory. I've been thinking about putting python to work by using "For line in file" Or using sql to speed it up more since a DB would be optimum.
If you come up with better let me know
My big problem has been displaying the data in a useful manner.
Neil
I've gotten it to run the 138MB file in about 10-14 mins just by reading the whole file into memory. I've been thinking about putting python to work by using "For line in file" Or using sql to speed it up more since a DB would be optimum.
If you come up with better let me know
My big problem has been displaying the data in a useful manner.
Neil
-
satcom-neil
- Posts: 4
- Joined: Sat Aug 25, 2007 10:02 am
- Location: Not in the US right now
That did work it was about the same speed it's just a ton of data I'm reading 30MB file about a min and a half. Truly I need to get a hold of the guys that did the first program he used MS SQL to get around reading the files just it's not easy to get in touch with him. I've got another project that I'm going to really start on shortly for the N770 - the New one when they get it released. 
-
satcom-neil
- Posts: 4
- Joined: Sat Aug 25, 2007 10:02 am
- Location: Not in the US right now
That did work it was about the same speed it's just a ton of data I'm reading 30MB file about a min and a half. Truly I need to get a hold of the guys that did the first program he used MS SQL to get around reading the files just it's not easy to get in touch with him. I've got another project that I'm going to really start on shortly for the N770 - the New one when they get it released. 