FRANKFURT—Germany experienced a history financial contraction in the 2nd quarter as actions to sluggish the pandemic’s spread shut companies and saved shoppers at residence, but Europe’s powerhouse is nonetheless expected to shrink by a lot less and recover a lot quicker than other important economies.

Germany’s gross domestic products fell 10.1% compared with the past quarter, the major decline given that equivalent records began in 1970, and approximately double its contraction at the nadir of the international fiscal disaster in 2009, the federal data…