Cursor Internal of MongoDB

1,837 views

Published on

Dive into Client Cursor of MongoDB.

We red DBClientCursor, FilteringClientCursor, SerialServerClusterdCursor and ParallelSortClusterdCursor.

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,837
On SlideShare
0
From Embeds
0
Number of Embeds
53
Actions
Shares
0
Downloads
19
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Cursor Internal of MongoDB

    1. 1. Cursor Internal 2011/10/18 @repeatedly
    2. 2. •D• MongoDB D• http://wiki.mongodb.jp/hacking_guide/bson • prz
    3. 3. • MongoDB • DB • •
    4. 4. • DBClient / ScopedDBConnection / etc... • • auto_ptr<DBClientCursor> query(...)•
    5. 5. Interface• virtual bool more(); • true •• virtual BSONObj next(); •
    6. 6. DBClientCursor• Interface • • ungetc• BatchIterator …
    7. 7. ClusterdCursor• (Sharding) • SerialServerClusterdCursor • ParallelSortClusterdCursor• FilteringClientCursor
    8. 8. SerialServerClusterd• • •• Mongo
    9. 9. ParallelSortClusterd• Sharding • • Sort• s/shard_strategy.cpp
    10. 10. • MongoDB•• Ruby …• DB
    11. 11. http://longgate.co.jp/books/ grimoire-vol2.html

    ×