Your mission should you choose to accept it...
#1
Posted 11 May 2003 - 12:19 PM
I could break the file up into pieces but since it's going to happen a lot I'd like to have a way to do it all in one shot. All the editor needs to do is open the file and let me search for a case sensitive string (grep works, but I lose a lot of freedom in moving around the file).
#2
Posted 11 May 2003 - 11:00 PM
The thing is you should be able to open a large file in vi or nano inder linux... are you under windows? if so that link may help
#3
Posted 12 May 2003 - 12:04 AM
I'll try out pfe. Thanks.
Edit:
Er, no I won't. I glazed over the fact that it was for Windows. Back to the drawing board. :-/
#4
Posted 12 May 2003 - 05:01 AM
#5
Posted 12 May 2003 - 10:03 AM
Oh well.
#6
Posted 12 May 2003 - 06:42 PM
#7
Posted 12 May 2003 - 07:42 PM
#8
Posted 12 May 2003 - 09:05 PM
Databases can tend to be very large in some circumstances as well.
My, that is a big font you have!
#9
Posted 12 May 2003 - 09:27 PM
Stank is on the money there. I was creating another database to tie into my map database. It's basically a copy of part of the FCC licensing database.server log files, I would imagine.
Databases can tend to be very large in some circumstances as well.
My, that is a big font you have!
Since the FCC formats their data so badly (CSV with the pipe character delimiting with CARRIAGE RETURNS IN THE MIDDLE OF LINES) I had to write a Perl script to fix it. The Perl script can't fix all of their mistakes so while I was doing the DB inserts I logged it all to a file.
After all is said and done I have 1.8+ million successful insertions with about 300 failures. I was trying to see if there was some easy way to browse the file and catch a pattern in the errors. Doing it with grep is possible but doesn't solve the problem efficiently when there are lots of failures. Using grep I determined that the failures were on records that I'm not that upset about missing anyway.
I'll show you guys the project when it's finished. It's nothing special, just fun.
#10
Posted 12 May 2003 - 09:37 PM
#11
Posted 13 May 2003 - 07:52 AM
Yeah, I don't have any experience with that so those are only guesses.
#12
Posted 13 May 2003 - 06:52 PM
One more question
When the logs are that big do you use a program
to generate a report or do you read through them?
#13
Posted 13 May 2003 - 07:33 PM
Usually if the log file is small enough I just open it in vi and scan it for errors (with regular expressions).
So far it seems that my system works pretty well but I haven't tested this latest database yet.
#14
Posted 13 May 2003 - 09:27 PM
When I get enough time to
play with a server I may look you up for some help
#15
Posted 14 May 2003 - 12:37 AM
#16
Posted 14 May 2003 - 01:05 AM
#17
Posted 14 May 2003 - 05:05 AM
#18
Posted 14 May 2003 - 07:13 AM
You can see the beta version with no FCC data plotted yet if you like. It's a mapping system I built from the ground up last year. So far it just draws some basic map features but it has all of the data in it to do street names and tons of other things. I just haven't finished it because I was distracted by other projects. Every once in a while I go back and mess with it some more.
My goal with this latest update is to plot the location of cell sites, etc by using the FCC ULS database. It'll be easy once I get off my ass and do it.
p.s. If you go there and backtrack into the webcam directory don't bother trying to move the camera. I haven't hooked it back up in a long time.
#19
Posted 15 May 2003 - 04:46 AM
(spelling)
#20
Posted 15 May 2003 - 08:27 AM
Not yet. But it will be when I've added all the cool toys to it. Unfortunately I foresee a small market since it'll probably take about 40GB once it's finished.
BinRev is hosted by the great people at Lunarpages!












