MongoDB驅動特性檢查列表

來源:互聯網
上載者:User

標籤:

http://docs.mongodb.org/meta-driver/latest/legacy/feature-checklist-for-mongodb-drivers/

1. 基本(Essential)
- BSON序列化/還原序列化
- 基本操作: query, insert, update, remove, ensureIndex, findOne, limit, sort
- 在需要的時候從遊標(cursor)中擷取更多資料(dbGetMore)
- 當使用遊標的使用者完成操作時發送KillCursors操作。為了提高效率,可以批量發送
- 將所有的字串轉換成UTF-8
- 認證(Authentication)

2. 推薦(Recommended)
- 自動產生_id
- 支援$cmd
- 檢查{$err:...}響應
- 當串連到replica set時自動連接到合適的伺服器
- ensureIndex命令應該緩衝以防止過多的通訊
- 支援檢測BSON在串連上的最大大小,並允許使用者插入超過該大小的文檔

3. 更多的推薦(More Recommended)
- getLastError()
- count()
- eval()
- explain()
- hint()
- $where
- 檔案分塊(chunking)

4. 更多的選擇(More Optional)
- addUser()
- logout()
- 允許使用者為查詢設定setSlaveOk()
- 支援Tailable遊標
- I/O緩衝池(在實現了記憶體回收的程式設計語言中)

5. 更多的選擇(More Optional)
- 串連池
- 串連故障時自動重連
- 對DBRef的支援

 

MongoDB驅動特性檢查列表

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.