Career as a player
| Period | Team | Country | Position | # | |
|---|---|---|---|---|---|
| 01/2015 - 12/2017 | ![]() | Palmeiras | Midfield | 11 | |
| 05/2012 - 12/2014 | ![]() | Grêmio Porto Alegre | Midfield | 10 | |
| 07/2011 - 05/2012 | ![]() | Al Gharafa | Midfield | 8 | |
| 07/2009 - 06/2011 | ![]() | Hamburger SV | Midfield | 8 | |
| 07/2007 - 06/2009 | ![]() | Bayern Munich | Midfield | 15 | |
| 08/2006 - 06/2007 | ![]() | Santos FC | Midfield | 10 | |
| 07/2002 - 06/2006 | ![]() | Bayern Munich | Midfield | 11 | |
| 07/1998 - 06/2002 | ![]() | Bayer Leverkusen | Midfield | 8 | |
| 01/1998 - 06/1998 | ![]() | Flamengo RJ | Midfield | ||
| 03/1997 - 12/1997 | ![]() | Real Madrid | Midfield | 21 | |
| 01/1994 - 03/1997 | ![]() | Portuguesa - SP | Midfield |
Club matches
| Competition | Matches | Start | In | Out | Min. | Scores | 11m | Ass | Yellow | Yellow-Red | Red | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | Champions League | 62 | 58 | 4 | 20 | 4.981 | 5 | - | 12 | 7 | - | - | » All matches |
![]() | Champions League Qual. | 2 | 1 | 1 | - | 109 | - | - | - | - | - | - | » All matches |
![]() | Europa League | 30 | 29 | 1 | 7 | 2.512 | 1 | - | - | 1 | - | - | » All matches |
![]() | Europa League Qual. | 2 | 2 | - | 1 | 150 | - | - | - | - | - | - | » All matches |
| Bundesliga | 336 | 312 | 24 | 88 | 27.167 | 38 | 1 | 90 | 47 | - | 1 | » All matches | |
| DFB-Pokal | 35 | 30 | 5 | 13 | 2.946 | 2 | - | 2 | 2 | - | - | » All matches | |
| League Cup | 7 | 6 | 1 | 2 | 532 | 1 | - | - | 1 | - | - | » All matches | |
| Primera División | 15 | 6 | 9 | 3 | 748 | - | - | - | 1 | - | - | » All matches | |
| Supercopa | 2 | 1 | 1 | 1 | 111 | - | - | - | - | - | - | » All matches | |
![]() | Copa Libertadores | 38 | 36 | 2 | 7 | 3.234 | 11 | - | 1 | 11 | - | - | » All matches |
![]() | Copa Sudamericana | 5 | 3 | 2 | - | 346 | 1 | - | - | 1 | - | - | » All matches |
| Série A | 163 | 141 | 22 | 28 | 12.451 | 11 | 1 | 2 | 26 | 1 | - | » All matches | |
| Total | 697 | 625 | 72 | 170 | 55.287 | 70 | 2 | 107 | 97 | 1 | 1 |
International matches
| Competition | Matches | Start | In | Out | Min. | Scores | 11m | Ass | Yellow | Yellow-Red | Red | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | World Cup | 6 | 4 | 2 | - | 383 | 1 | - | - | - | - | - | » All matches |
![]() | WC Qualifiers South America | 22 | 19 | 3 | 7 | 1.601 | 1 | - | - | 2 | - | - | » All matches |
![]() | Friendlies | 38 | 29 | 9 | 14 | 2.413 | - | - | - | 1 | - | - | » All matches |
![]() | Confederations Cup | 10 | 10 | - | 3 | 872 | 3 | - | - | 2 | - | - | » All matches |
![]() | Copa América | 7 | 5 | 2 | 1 | 472 | 1 | - | 1 | 1 | - | - | » All matches |
![]() | Gold Cup | 1 | - | 1 | - | 10 | - | - | - | - | - | - | » All matches |
| Total | 84 | 67 | 17 | 25 | 5.751 | 6 | - | - | 6 | - | - |














