Spring Data MongoDB支援GridFS
MongoDB
MongoDB is a highly scalable, document oriented NoSQL datastore from 10gen. For more information have a look at the MongoDB homepage: http://www.mongodb.org. A short introduction to MongoDB can be found at this blog post.
GridFS
In MongoDB the size of a single record (i.e. a JSON document) is limited to 16 MB. If you want to store and query bigger binary data than that, you have to use the GridFS API of your MongoDB driver. There is also a mongofiles command line tool in thebin folder of your MongoDB installation. We will use that for our examples. In an empty database, there are no GridFS files:
connected to: 127.0.0.1
C:\mongo\bin>
MongoDB is a highly scalable, document oriented NoSQL datastore from 10gen. For more information have a look at the MongoDB homepage: http://www.mongodb.org. A short introduction to MongoDB can be found at this blog post.
GridFS
In MongoDB the size of a single record (i.e. a JSON document) is limited to 16 MB. If you want to store and query bigger binary data than that, you have to use the GridFS API of your MongoDB driver. There is also a mongofiles command line tool in thebin folder of your MongoDB installation. We will use that for our examples. In an empty database, there are no GridFS files:
CODE:
C:\mongo\bin>mongofiles listconnected to: 127.0.0.1
C:\mongo\bin>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-738658/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MongoDB之GridFSMongoDB
- spring4.2+mongodb2.6+spring-data-mongodb1.8.2 整合SpringMongoDBDB2
- spring-data-mongodb常用操作SpringMongoDB
- SpringBoot 整合 Spring Data Mongodb 操作 MongoDB 詳解Spring BootMongoDB
- MongoDB GridFS命令列工具mongofiles使用舉例MongoDB命令列
- spring data mongodb配置+月庫實現SpringMongoDB
- Spring Data MongoDB cascade save on DBRef objectsSpringMongoDBObject
- Spring認證中國教育管理中心-Spring Data MongoDB教程SpringMongoDB
- Spring Data MongoDB 操作 document DB 的詳細示例SpringMongoDB
- 技術乾貨| 如何在MongoDB中輕鬆使用GridFS?MongoDB
- 在Spring Data MongoDB中實現關係建模 - spring.ioSpringMongoDB
- spring-data-mongodb多資料庫訪問實現SpringMongoDB資料庫
- Spring-Data-Mongodb資料庫連線程式碼示例SpringMongoDB資料庫線程
- 快速掌握mongoDB(五)——通過mongofiles和C#驅動操作GridFSMongoDBC#
- MONGODB03 - 分組計數/分組去重計數(基於 spring-data-mongodb)MongoDBSpring
- spring data mongodb 如何以事物的方式進行增刪改查SpringMongoDB
- Python全棧MongoDB資料庫(聚合、二進位制、GridFS、pymongo模組)Python全棧MongoDB資料庫
- MongoDB - 事務支援MongoDB
- 如何在Spring Data MongoDB 中儲存和查詢動態欄位SpringMongoDB
- MongoDB不支援批量插入MongoDB
- Spring Data JpaSpring
- Spring Data JPA之Spring Data JPA快速入門(三)Spring
- dubbo2.5-spring4-mybastis3.2-springmvc4-mongodb3.4-redis3.2整合(五)Spring中spring-data-redis的使用ASTS3SpringMVCMongoDBRedis
- Spring Boot:整合Spring Data JPASpring Boot
- Spring Data 教程 - RedisSpringRedis
- Spring Data Jpa APISpringAPI
- spring 於mongodb整合SpringMongoDB
- Spring Data 2021.0增加了對DDD聚合更多自動支援!Spring
- Spring Data JPA系列4——Spring宣告式數事務處理與多資料來源支援Spring
- 用 MongoTemplate 操作 documentDB 與 用 Spring Data MongoDB 操作 documentDB 有什麼不同,write concern,transactionSpringMongoDB
- MongoDB 如何支援類 SQL 查詢MongoDBSQL
- DBSync新增對MongoDB、ES的支援MongoDB
- Spring Data JPA 的使用Spring
- 什麼是Spring Data?Spring
- Spring Data JPA:解析CriteriaBuilderSpringUI
- Spring Data JPA:解析CriteriaQuerySpring
- Spring Data JDBC介紹SpringJDBC
- spring data jpa查詢Spring