我正在開發一個社交網站。現在我正在使用mysql進行數據存儲。 現在,我必須移動nosql數據庫(我更喜歡ElasticCache或DynamoDb(亞馬遜服務))。但我對數據建模感到困惑。在MySQL中,我有以下數據結構。社交網站nosql數據庫的數據建模
***UserMst:***
UserID
UserName
UserEMail
BirthDate
.....
***FriendMst***
FriendID (Pk)
UserID (UserID)
HisFriendID (User's friend id)
Status
***Notification table***
NotifyID (Pk)
UserID (UserID)
HisFriendID (User's friend id)
NotifyDate (Notify date)
如何爲nosql數據庫建模?有人能幫助我嗎?