Compilation and Database Synchronization in AX

Hi,

Can someone explain about compilation and Database Synchronization in Ax with proper examples as what happens in each of them .Although i know that object references are updated in compilation and in Db synch database object ref are updated. but i hope for better and detailed explaination with example.

Thanks

Hi,

i too have the same doubt.Is there anyone to explain about it?