I found out JSON could work as a small local database, thinking of storing records of at least 1135 cars, televisions and handbags, while allowing downloads through magnet links.
I would like to see if there are projects that have already done this or if a standard database with SQL and PHP is better.
http://erdgeist.org/arts/software/opentracker/