Let's say you have 900 gigabyte textfile. It's a bunch of...

Let's say you have 900 gigabyte textfile. It's a bunch of data on individual lines. You want to filter some of it out and load it into a database. What are the tools you reach for to get started? Languages, utilities, etc.