[SERVER-7524] In place updating with partial chunk data for GridFS Created: 31/Oct/12  Updated: 06/Dec/22

Status: Open
Project: Core Server
Component/s: GridFS
Affects Version/s: None
Fix Version/s: features we're not sure of

Type: New Feature Priority: Major - P3
Reporter: Zhonlge Wu Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: update
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

The GridFS is a great feature to the MongoDB.

I'm thinking what the performance affected by random reading /writing to a dynamic GridFS file. The chunk data is huge and it looks like only the whole chunk can be updated to the GridFS file which at some time would require lot of data streaming for random writing. Here is the idea to add support paging within the chunk data as for that chunk data is mainly for storage while the paging is for client caching and updating, so that we can keep large size for the chunk data for storage and paging can split the chunk data into small subsets for client caching/updating. I think this will require a lot of work to be able to split the chunk in client and server needs to allow in place updating partial chunk data.

I'm not sure if similar feature is available or will be added in future?

Thanks,



 Comments   
Comment by Eliot Horowitz (Inactive) [ 04/Nov/12 ]

The problem with this is that unless there is locking, there isn't anyway to prevent someone else from reading a corrupt file.

Generated at Thu Feb 08 03:14:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.