I agree with raceadvisor in that the best book to acquire the basics of compiling your own speed ratings for racing in the UK and Ireland is Mordin On Time.
Once you have that or any other method established, you'll want to use a certain subset of fields in Smartform to apply that methodology (or an adapted one that you have come up with). The key fields, as well as winning_time_secs, are also distance_behind_winner, going, weight_pounds, distance_yards and standard_time_secs.
Standard times are themselves a subjective measure, but a critical element in compiling speed ratings. Smartform gives these, generally for every race, or you can calculate your own, which Mordin touches upon. The distance_behind_winner field for each horse in each race gives you the number of lengths behind the winner, which is critical in calculating a time or rating for the beaten horses. Mordin produces various methods (which of course you can adapt) showing how to rate beaten horses according to the distance by which they were beaten. Generally distance beaten translates into a certain time difference, depending on distance of the race, going and so on. Below is a query from the Smartform command line that gives you the full subset of raw data that you are likely to work with:
>select scheduled_time, course, going, weight_pounds, winning_time_secs, standard_time_secs, distance_yards, name, distance_behind_winner, finish_position from historic_races join historic_runners using (race_id) where race_id=291567 order by distance_behind_winner;
Above, the where condition with the race_id at the end of the query specifies one race, which happens to be the Epsom Derby in 2010, but of course this can be adapted for any race, day or date range etc.