Sql-server – Having DB Mirroring and Replication together

mirroringreplicationsql serversql-server-2008

Can anybody help me understand why do one go combination of Database Mirroring + Replication.
Why can't I just have Database mirroring for high availability of my database. What is the need of combining replication as well.
In what scenario's we choose combining both these technologies.?
Can anyone give an example of combining these 2 technologies ?
I am not sure if people a make things complex combining all high availability solutions. ( Clustering + db mirroring + replication)

Best Answer

When you have Mirroring and Replication you usually have two different problems that you are trying to solve. You are using the mirroring to solve a high availability problem and you are using replication to give yourself a scale out solution probably for reporting.