Hi,
I have a file with about 200,000 lines in it (about 3mb i think).
Right now I have put it all into a mysql database and to retreive what I want I use mysql's regex to get the restuls out i need.
The regex in mysql seems to use up a lot of CPU time when it is getting hit regularly.
So I am wondering if loading the file into an array and using preg_grep to extract the data that way would be faster/lighter on the server?
Or is there another method that would be better for this sort of thing?
Thanks for any help that you can give.