1. A computer implemented method executed by one or more computing devices to provide a query layer for cloud databases, said method comprising: importing, by at least one of the computing devices, data into said cloud; converting at least one of the queries over row-store database into a query over column-store database by means of cost based query optimizer; retrieving, by at least one of the computing devices, said data from said column-store database based on said query.