Understanding How Document Databases Work