Roster cache in database
logs.db could have a cache of user roster, as an another table. Purpose: show roster even when offline, a backup of roster (in case of server being down), play with roster from outside gajim (f.e. external scripts to parse logs, like beagle).
It would store only jid/nickname mapping or full vcards.