You have two terabytes of data? You probably meant gigabytes, try putting it in a mysql database and using mysql.dll.