I've wondered this too. Like, when I went to Brazil last February, I could see on the screen that they knew I had been in Brazil in 2017 (even though I had a new passport).
I know on the migraciones website it shows just your date of entry and expiration, not any previous entry or exits. I...