No that I don't of it, maybe a database isn't even needed, I'll just use average data and then randomize the star's propriaties.. a lot.
My game has about 3,489,013,663 but the algorithms will only calculate one star, the star that the player is close to, and so as of yet there is no problem...