Strategies and Systems Towards Grids and Clouds Integration: A DBMS-Based Solution