Growing demand by investors for risky debt paved the way for the $3 billion buyout of credit-reporting company TransUnion LLC, the biggest private-equity-backed buyout this year.

Advent International and the private-equity arm of Goldman Sachs Group Inc. said Friday they agreed to buy TransUnion from sellers including private-equity firm Madison Dearborn Partners and Chicago's Pritzker family.

The...