24 Million entries and I need to what?

Lonnie Olson lists at kittypee.com
Fri Dec 27 09:16:26 MST 2013


On Fri, Dec 27, 2013 at 1:59 AM, S. Dale Morrey <sdalemorrey at gmail.com> wrote:
> Just wondering, what would be the fastest way to do this?

grep will have to scan the entire file every time.  Not a good idea.
You either need to store it all in memory, or use some kind of index.

Memory options: Memcached, Redis, Custom data structure (PHP array,
Ruby Hash, Python dictionary, etc)
Indexed options: Postgres, MySQL, SQLite, BDB, etc.


More information about the PLUG mailing list