View Cube Query runs for optimization

Hi.
Is there some way to view the major queries that are run during a cube deployment process so you can make some optimizations in the database.
So according to what is read an how is read you can build your indexes.

thanks.