2017-06-11 8 views

答えて

2

MongoDBはアドホッククエリ

  • インデックス
  • 複製されたファイル・ストレージをロードバランシング
  • の上に含まれているオープンソース、NoSQLのデータベース管理システムです
  • リスト項目

    複数のサーバー、データ集約、サーバー側のJavascrip実行とCappedコレクション。

MongoDBは高いスループットを達成するために、バイナリJSON、またはBSONとして知られているJSON形式の記憶フォーマットを活用文書ベースデータベース管理システムです。 JSONを使用すると、アプリケーションでデータを抽出および操作したり、複雑なクエリ操作や式をサポートするためにプロパティを効率的にインデックス付け、マッピング、ネストすることができます。

MongooseJSは、MongoDBデータベース内のドキュメントをプログラム内のオブジェクトに変換することにより、MongoDBをより簡単に使用できるObject Document Mapper(ODM)です。 MongooseJSのほかに、他のいくつかのODMのMongoDBのは

  • 教義
  • MongoLink
  • そしてMandangoを含むために開発されてきたことがある

のようなネイティブのMongoDB対マングースを使用していくつかの利点があります。 MongooseJS provides an abstraction layer on top of MongoDB that eliminates the need to use named collectionsModels in Mongoose perform the bulk of the work of establishing up default values for document properties and validating dataFunctions may be attached to Models in MongooseJS. This allows for seamless incorporation of new functionalityQueries use function chaining rather than embedded mnemonics which result in code that is more flexible and readable, therefore more maintainable as well

Mongooseには利点はありませんでしたが、ネイティブMongoDBに比べてパフォーマンスが低下する抽象化のような欠点があります。

しかし、Mongooseの最終的な結果は、アプリケーションからのデータベースアクセスの簡素化です。

関連する問題