Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Webinarserie: Einführung in MongoDB: “Back to Basics” - Teil 3 - Interaktion mit der Datenbank
1. Solutions Architect, MongoDB
Marc Schwering
#MongoDBBasics @MongoDB @m4rcsch
Applikationsentwicklung mit MongoDB
Interaktion mit der Datenbank
2. 2
• Recap from last session
• MongoDB Inserts & Queries
– ObjectId
– Returning documents – cursors
– Projections
• MongoDB Update operators
– Fixed Buckets
– Pre Aggregated Reports
• Write Concern
– Durability vs Performance trade off
Agenda
3. 3
• Virtual Genius Bar
– Use the chat to post
questions
– EMEA Solution
Architecture / Support
team are on hand
– Make use of them
during the sessions!!!
Q & A
24. 24
Durability
• With MongoDB you get to choose
• In memory
• On disk
• Multiple servers
• Write Concerns
• Report on success of write operations
• getLastError called from driver
• Trade off
• Latency of response
28. 28
Replica Sets
• Replica Set – two or more copies
• “Self-healing” shard
• Addresses many concerns:
- High Availability
- Disaster Recovery
- Maintenance
31. 31
• Interacting with the database
– Queries and projections
– Inserts and Upserts
– Update Operators
– Bucketing
– Pre Aggregated reports
• basis for fast analytics
Summary
32. 32
– Indexing
• Indexing strategies
• Tuning Queries
– Text Search
– Geo Spatial
– Query Profiler
Next Session – in two weeks!
33. 33
• Public Training in Berlin 3-5 June:
http://bit.ly/MongoDBEssentialsBER14
• Meet me at Berlin-Buzzwords 26th June :
http://bit.ly/Marc_at_Buzz
• MongoDB World: http://bit.ly/MongoDB_World
Discount Code: 25MarcSchwering
More..
Notas do Editor
Not really fire and forget.
This return arrow is to confirm that the network successfully transferred the packet(s) of data.
This confirms that the TCP ACK response was received.
Presenter should mention:
Default is w:1
w:majority is what most people should use for durability.
Majority is a special token here signifying more than half of the nodes in the set have acknowledged the write.