Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: index for large text file

by GrandFather (Sage)
on Mar 28, 2011 at 09:32 UTC ( #895872=note: print w/ replies, xml ) Need Help??

in reply to index for large text file

Would this data be better stored in a database? To answer that you need to think about how the files are generated and used. If you look them up much more often than they are generated a database may be very worth while. If relatively small numbers of records change from time to time that may be another good reason to use a database. If you have control over generation of the current file that will make using a database easier.

True laziness is hard work

Comment on Re: index for large text file
Replies are listed 'Best First'.
Re^2: index for large text file
by Anonymous Monk on May 16, 2013 at 23:08 UTC
    I do not think a database would be appropriate considering this file type (FASTQ) can easily have 200,000,000 records (200,000,000 X 4 lines). We (biologists) can often have 100's if not 1,000s of these files.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895872]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-11-30 23:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls