Effectively and Efficiently Supporting Grid and Cloud Integration via a DBMS-based Framework