You can use Data Merge in InDesign, but it'll give you a 30,000-page InDesign document (or fewer if you impose it). To keep it manageable you could break your data up into multiple lists. If you already have InDesign, I would go this route first and see if it is sufficient.
XMPie is probably too expensive if this is all you need it for. Although SmartStream is cheaper than XMPie, it's still a little pricey. FusionPro is cheaper and will work with any PDF. I'm sure there are other options available, too.