Docs Menu
Docs Home
/
ドライバー
/

Amazon DocumentDB との互換性

項目一覧

  • バージョン情報
  • 互換性
  • サポート

Amazon DocumentDB はMongoDB v4.0 およびMongoDB v5.0 のサポートを要求します。これらのバージョンは、MongoDB Atlasで利用可能なMongoDBのバージョンのすべての新しい機能をサポートしているわけではありません。

Tip

MongoDB バージョン履歴

MongoDB の各バージョンで利用可能な機能の詳細については、「 MongoDB E 参加 - バージョン履歴 」を参照してください。

Amazon DocumentDB では、次の MongoDB 機能は容量が限られているか、まったくサポートされていません。

  • 機能 : Cappedコレクションmap-reduce操作GridFSテキストインデックスベクトル検索インデックス部分インデックス大文字と小文字を区別しないインデックス時系列データオンデマンドのマテリアライズドビュークライアント側フィールドレベルの暗号化Queryable Encryption

  • コマンド : collModcollMod:expireAfterSecondscopydbcreateViewfilemd5reIndexconnPoolStatsdbHashfeaturesgetLastErrorgetPrevErrorparallelCollectionScanresetErrorendSessionskillAllSessionsByPatternrefreshSessions、シャーディングコマンド(enableShardingshardCollection とは別)

  • クエリ演算子 : $expr$jsonSchema$text$where$meta$box$center$centerSphere$polygon$near$uniqueDocs

  • 集計演算子 : $accumulator$count$stdDevPop$stdDevSamp$pow$trunc$round$first$last$switch$binarySize$bsonSize$dateFromParts$dateToParts$dateTrunc$dateDiff$ltrim$rtrim$trim$regexFind$regexFindAll$regexMatch$replaceOne$replaceAll$isNumber$rand$sampleRate$getField

  • 集計ステージ : $collStats$facet$bucket$bucketAuto$sortByCount$unionWith$set$setWindowFields$unset$listLocalSessions$listSessions$graphLookup$merge$planCacheStats

  • カーソル メソッド : cursor.collation()cursor.max()cursor.min()cursor.noCursorTimeout()cursor.returnKey()cursor.showRecordId()cursor.tailable()

さらに、 Amazon DocumentDB は、次の演算子のいずれかを含むクエリを実行する場合、インデックスを活用しません。

  • $ne

  • $nin

  • $nor

  • $not

  • $exists

  • $distinct

  • $elemMatch ネストされたクエリで使用する場合

Amazon DocumentDB のMongoDB v4.0 およびMongoDB v5.0 との互換性の詳細については、次のAmazon Web Servicesのドキュメントを参照してください。

MongoDB は Amazon DocumentDB の商用サポートを提供していません。 この製品のサポートについては、Amazon Web Services サポート にお問い合わせください。