Which database would be best to store all chat conversations of a chat application?

What is the best database to use if I want to store user information and chat history for a messaging app like iMessage or WhatsApp?