Arduino Mega + Ethernet shield using mysql-database, problems?

I was thinking that could I use Arduino Mega 2560 & Ethernet shield sending a data to server where it put the data to mysql-database. Also Arduino receive example sensor-details from database (server to arduino).

There has been some details about that Arduino's has not a lots of memory. So can it be problem? If there is ex. 10-30-sensors so does it give some memory or other problems?

Or is it better doing some other way?