1. datetime, from_whom, if it's private or not, the text and such is saved.
2. Every message is saved in the database from day one and are not purged automatically.
You can delete any messages you want manually with for example phpmyadmin if you have low disc space and a veeery busy chat.
3. They are stored in one record per message.