Read up on sql views.
Quote from calhawk01:
Thanks everyone for replies.
To add some color to this request.. i'm obviously new to this so I would really appreciate commends that include references so that I can do this all on my own. I don't have the resources to test out different methods with programmers. I am asking this question on this forum because I want to get the most optimized, cost effective structure down the first time around and then ask a programmers help (btw if anyone is interested in this project PM me).
What methods do these backtesting softwares use during their backtesting? You say MYSQL will be able to recompile my 1 min data to different timeframes on the "fly." Really? So If I uploaded 10 years of 1 min data on MySQL; and then wanted to backtest 5 min time frame, and wanted to test a semi-complex formula.. MYSQL will be able to do this within a few minutes??
I mean another thing I was thinking was.. maybe I should create a library of historical values for all of my indicators and store them on the MYSQL file as well. For example:
date, time, price, indicator 1, indicator 2
So if my buy was when indicator 1 > X and exit is when indicator 2 > X; the backtesting script will easily be able to ''fetch'' the data.
I'm not sure if this would be the most effective/quickest way to do this.. because I have not tested this out for all the data that I have (this can be extremely time consuming because I would have to manually create all the indicators and values in excel for all the stocks data that I have).
All thoughts are appreciated!

Dealing with those amounts of data requires a dedicated and planned infrastructure of some sort - I personally am just considering getting a nice 60 disc SAS subsystem (i.e. a 4U rack case that houses vertically up to 60 SAS discs, or SATA discs with interposer cards), for storage and - to handle the amounts of data.