I'm not sure what are the prices for a tourist, but I think you should be able to get a complete six months-term health insurance for about 300 euros or even less (add about 60 euros to total price for basic dental assistance).
Anyway, in case of urgency, I think that government hospitals are forced by law to take care of you, even if you are not a Spain's citizen. They must take care even of immigrants with no residence permission, so.... If you are thinking just in preventing an urgency, I believe that you don't need a private health insurance.
I think that's the current legal status for foreigners health care in case of urgency. if it's not, I hope someone will correct me.