A player's pets, stored as a JSON list in the player's own persistent data container, so they travel with the player's save and need no database. Only read and written on the server thread while the player is online.