Given a list of Point Sources, I need to keep track of all new Pi Tags created within the previous week with the associated Point Sources. My current approach is to look through the entire database and filter out Pi Tags that way. However, this is very expensive. Is there is a better, more efficient approach to this problem?
The solution needs to be a program that runs once a day. I'm currently using the AF SDK to iterate over the entire database. But the entire database is large enough that this isn't a feasible solution.